Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
SP 5.0.1 Notices in Error log sp_SectionStart/Trying to get property of non-object
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Mar 5, 2012 - 5:24 am

Since latest update (SP 5.0.1, build 8048) I am getting a few lines of those notices every minute.

 

2012/03/05
12:16
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 70
function: sp_SectionStart
Notice | Trying to get property of non-object

Any idea on how to fix it ?

Also, with latest update, I have lost access to the Forum toolset, the icon appears but I does not display the moderation links (Edit title, Pin topics...). I need to check that with Firebug to give you more details on this other issue.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 5, 2012 - 6:59 am

Actually I don't see how that notice can be remotely possible!
Can you tell me (a) what sp theme you are using and (b) clear the SP error log and tell me exactly which view produces the notice? And I guess a (c) would be - is there anything odd or different about the point at which the notice is generated?

andy-signature.png
YELLOW
SWORDFISH
Avatar
sptab
Member
sp_UserOfflineSmall Offline
Mar 5, 2012 - 7:43 am

Hello Andy,

 

Sorry for reporting these weird notices. In some ways confused I hope I am not the only one to get those errors, as I am running a rather standard setup (Debian, PHP, latest versions, dedicated host).

 

a/ I am running a modified version of the default theme, I have currently made all my changes on the latest default. The problem also happen when running the original default theme.

b/ It's hard to see which page triggers the problem as there is some trafic on my forum. I get from 5 to 20 hits on this notice every minute, but I currently unable to see where it comes from. Maybe a stack trace of some sort in the error log could help.

 

c/ The notice started to show with latest SP upgrade. I don't think I have done any changes on SP setup when upgrading.

 

Thanks for your help.

Cheers.

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2012 - 8:05 am

sptab said

Sorry for reporting these weird notices. In some ways confused I hope I am not the only one to get those errors

You're not alone!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 5, 2012 - 8:06 am

Don't worry - I will try and track it down. They are of nuisance value mainly.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Tr0n
Rookie
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2012 - 11:00 am

I have the same error, but at different lines.

It happens, when I select a forum, but not on the first page.

Started happening after the 5.0.1 update. I have 3 plugins (Editor (TinyMCE - Rich Text), Private Message System and Template Tags and Widgets. Default theme (shades of gray overlay), all updated.

Date Type Description
5.3.2012
18:02
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 51
function: sp_SectionStart
Notice | Trying to get property of non-object
5.3.2012
18:02
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 65
function: sp_SectionStart
Notice | Trying to get property of non-object
5.3.2012
18:02
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 63
function: sp_SectionStart
Notice | Trying to get property of non-object
5.3.2012
18:02
php file: /simple-press/forum/content/sp-common-view-functions.php
line: 62
function: sp_SectionStart
Notice | Trying to get property of non-object
Avatar
rickard
Guest
Guests
Mar 5, 2012 - 11:44 am

Hi

 

I've been having trouble with receiving a "500 Internal Server Error" when trying to load certain topics. This was happening before upgrading to the new version as well as after upgrading to the newest version. The forum error log contains several of  the following entries:

 

file: /simple-press/forum/content/sp-common-view-functions.php
line: 70
function: sp_SectionStart
Notice | Trying to get property of non-object

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 5, 2012 - 12:24 pm

Yes we know. These are notices and non-fatal. Mainly a nuisance in this case.

andy-signature.png
YELLOW
SWORDFISH
Avatar
rickard
Guest
Guests
Mar 5, 2012 - 1:13 pm

So are the 500 Internal Server Error's I'm receiving not related to this then?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 5, 2012 - 2:54 pm

No - there would be no connection.
Your site php error log might give more details on that. If they are rare and random then it could just be something simple at your hosting. If they are regular then you need to have a chat with your hosting support.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625