Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DataObject.php : Error at line 1053

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 973 Views
  • yuuki
    Avatar
    Community Member
    2 Posts

    DataObject.php : Error at line 1053 Link to this post

    Good day everyone,

    I'm doing the tutorial both the pdf and the web everything works fine on the part of setting the the parent page type but when i changed the child page type i get the error below.

    Error at line 1053 of C:\xampp\htdocs\silverstripe\framework\model\DataObject.php

    Please enlighten me if i miss something. I really need your held so i can made progress in learning the silverstripe.

    Thanks,
    Yuuki

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: DataObject.php : Error at line 1053 Link to this post

    Please include the full error page and backtrace as it's likely something unrelated to that exact line.

  • yuuki
    Avatar
    Community Member
    2 Posts

    Re: DataObject.php : Error at line 1053 Link to this post

    Hi willr,

    thanks for the reply, I followed the tutorial on extending the websites. base on it i create the page first then create the template page ArticleHolder.php and ArticlePage.php aftter i finished the instruction i build the database and flush it. after doing it i move on applying tha page type ArticleHolder.php on the news, doing that everything is fine but because the News have children page that will be the ArticlePage.php page type. doing it manually will produce the error but if you create the children page everything will be fine.

    about the exact error message that's the only thing i get.

    and now i'm have another problem and this from the pdf about.

    Fatal error: Call to undefined method Member::currentUserID() in C:\xampp\htdocs\silverstripe\cms\code\model\SiteTree.php on line 784.
    this is my new problem now.

    Thanks,
    Yuuki

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: DataObject.php : Error at line 1053 Link to this post

    Strange, Member::currentUserID is defined in most releases - (e.g http://api.silverstripe.org/master/source-class-Member.html#632-645) Want to check your framework/security/Member.php file to ensure that it exists.

    973 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.