Support Forum

Log file errors – creating default object from empty value

SA Samantha
Samantha
Member

Hi –

I was checking something in my error log file today, and saw several Simple-Press errors that look like this.  These errors go back all the way to March with varying frequency.  Any ideas on what’s happening?  I keep my SP files updated.

Thanks!

Samantha

[05-Jul-2015 08:35:54 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: sp_check_for_updates

[05-Jul-2015 08:35:54 UTC] PHP Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/ultimcv7/public_html/courses/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 686

[05-Jul-2015 08:35:56 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: spHandleShutdown

[05-Jul-2015 20:16:55 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: sp_check_for_updates

[05-Jul-2015 20:16:55 UTC] PHP Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/ultimcv7/public_html/courses/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 686

[05-Jul-2015 20:16:57 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: spHandleShutdown

[06-Jul-2015 08:24:12 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: sp_check_for_updates

[06-Jul-2015 08:24:12 UTC] PHP Warning: Creating default object from empty value in /problem-with-post-edit-buttonome/ultimcv7/public_html/courses/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 686

[06-Jul-2015 08:24:14 UTC] PHP Warning – Creating default object from empty value – file: /simple-press/sp-startup/site/sp-site-support-functions.php – line: 686 – function: spHandleShutdown

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

first, those are not errors… but rather just warnings…  and generally harmless… in this case, an object is being assigned to before explicitly created but it still works….

as to why you are seeing them, not sure…  if they are old, as you seem to indicate, they may already be corrected as we fix the notices and warnings as they are seen…

I would suggest emptying the error log and see what comes back in the next few days…

SA Samantha
Samantha
Member

Hi –

I’ll try to clean out the log file and watch it for a few days.  Some of the warnings were from Monday, some went back a few months.

 

Thx.