When trying to access crafting, or purchasing an item, the following error appears:
Error: Undefined property: stdClass::$id
Error in "/home/anonline/public_html/libs/items.php"
Line 89
Error in /home/anonline/public_html/libs/items.php
Line 171
Error in /home/anonline/public_html/modules/mines/content.php
Line 89
Error in /home/anonline/public_html/libs/common.php
Line 554
Error in /home/anonline/public_html/index.php
Line 328
Any idea how to fix? I'd prefer to not reinstall the entire game after spending so much time working on it..
Thanks!!
Undefined property: stdClass error
Undefined property: stdClass error
Last edited by roboman on Sun Jan 26, 2014 9:42 pm, edited 1 time in total.
Re: ERRORS! error error error!
Did you make any changes to the core game in those files? From what I understand you are only supposed to code in the modules as the core engine is to be modified by modules and not by direct changing of the code. Not that you can't change the core engine, but you risk breaking it if you do.
Re: ERRORS! error error error!
Neither the engine nor any modules have been edited.
- KyleMassacre
- Posts: 573
- Joined: Wed Nov 27, 2013 12:42 pm
Re: ERRORS! error error error!
I have come across some undefined errors from the files not having the correct permissions
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: ERRORS! error error error!
In the mines you are trying to add some items, maybe you miss spelled the item name or gave an ID which doesn't exist.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: ERRORS! error error error!
Thanks for the replies!
I re-installed the engine earlier, and things were going smooth until I ran into this:
Error: Undefined property: stdClass::$name
Error in /home/anonline/public_html/modules/inventory/content.php
Line 139
Error in /home/anonline/public_html/libs/common.php
Line 554
Error in /home/anonline/public_html/index.php
Line 328
Trying to access my inventory.
I re-installed the engine earlier, and things were going smooth until I ran into this:
Error: Undefined property: stdClass::$name
Error in /home/anonline/public_html/modules/inventory/content.php
Line 139
Error in /home/anonline/public_html/libs/common.php
Line 554
Error in /home/anonline/public_html/index.php
Line 328
Trying to access my inventory.
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: ERRORS! error error error!
As said, you have some issues with the content you created. Could be an item which has not be defined correctly, or a command in the mines which give a wrong item. This is not a bug of the engine but instead a bug of your content.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: ERRORS! error error error!
I have two questions:
- Do you require us to keep copyright (your name, etc)
- How do I remove the verify button on my public sidemenu?
- Do you require us to keep copyright (your name, etc)
- How do I remove the verify button on my public sidemenu?
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Undefined property: stdClass error
You can remove the copyright and the verify button. The verify button is on the public template.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer