Support Forum

ERRor message

NC Nadam Chalor
Nadam Chalor
Member

Now i install simple-press to subdomain is http://forum.thaidrawing.com

because i like that theme. but now Every thing is error. i don’t understand

please check it for me ?

http://forum.thaidrawing.com

 

Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/thaidraw/domains/thaidrawing.com/public_html/wp-content/plugins/simple-press/forum/content/sp-common-view-functions.php on line 417

Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/thaidraw/domains/thaidrawing.com/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php on line 268

Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/thaidraw/domains/thaidrawing.com/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php on line 314

5 Answers

New Answer

MP Mr Papa
Mr Papa
Member

those are not errors, but notices and warnings from php… you must be running the 5.4 version of php which has changed how some warnings are generated for objects… our next version will be updated for this change in php error handling… they are harmless…

but why are you showing php warnings on a production site? it is not recommended… you should really disable the php display errors on a production or live site…

NC Nadam Chalor
Nadam Chalor
Member

Thank you, and i don’t know about this

can you delete it’s ?

MP Mr Papa
Mr Papa
Member

No, we cannot remove error message display from your server… that is something you have to do…

see:  http://stackoverflow.com/questions/8519775/turn-off-errors-in-php-display-errors-and-error-reporting

I would only report true errors… not warnings and notices…

or you can make some code changes for the php 5.4 mindset change…

see:  https://simple-press.com/support-forum/sp5-general-topics/sferrorlog-table/

as I said, we have already updated any we come across in the next version of simple press

LD Lawn Dude
Lawn Dude
Member

Hello, had same error message as above:   Joined up with Simple Press today.

Warning: Creating default object from empty value in C:Program Files (x86)EasyPHP-12.1moduleswordpress341x121108005736wp-contentpluginssimple-pressforumcontentsp-common-view-functions.php on line 417

Read thru your post, I am using EasyPHP as production software. So I changed my PHP from version 5.4.6  to  5.3.18.

Problem solved!

When will I be able to revert back to the more updated version of PHP, or will that resolve itself when I go live with my new site?

Thank you

Healthy Lawn Dude

 

 

MP Mr Papa
Mr Papa
Member

yeah, just a harmless notice… and we are taking care of those notices in the next version…