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
Bug - Dashboard crash on fresh install
Avatar
cubehouse
Member
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 12:09 pm

Found this on two of my WordPress installations (one running current stable and one running bleeding-edge WordPress).

After activating, Dashboard would return error 500. Turned on debugging in PHP and found this error repeated around 82 times before running out of memory and dying:

Notice: Trying to get property of non-object in /var/www/vhosts/blahblah/problem-with-post-edit-buttonttpdocs/blog/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 761

 

I "fixed" this by checking for "if ((isset($spThisUser))&&(isset($spThisUser->tracki)))", but I'm not entirely sure where $spThisUser comes from, so haven't looked into working out why it isn't initialised.

This was a clean installation on these blogs, can't 100% confirm that was the reason for the crash tho.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 1:32 pm

not sure why that would cause anything to die or crash...

we have not done a thorough sweep yet with debug on to fix all the notices but certainly will before release...

will get a ticket open on this one...

$spThisUser is an object containing wp current user info plus sp specific info...  possible this is pre setup of it as you indicate...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 2:39 pm

Andy committed a fix for this too...  would be interested to know if it helped you too...

Avatar
cubehouse
Member
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 2:54 pm

Unfortunately not.

Still get:

Notice: Trying to get property of non-object in /var/www/vhosts/blahblah/problem-with-post-edit-buttonttpdocs/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 761

many many many times until it runs our of PHP memory

Avatar
cubehouse
Member
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 2:59 pm

Should add, it all works fine on my other website once the forum is installed (that other installation had this error before I haxed it). Seems to happen after activating the plugin but before running the actual forum installation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 4, 2011 - 3:26 pm

okay thanks for update. will pass to andy.

Avatar
cubehouse
Member
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2011 - 8:44 am

Spotted a few SVN commits today, just ran a fresh install on the blog that was previously throwing a wobbly - now appears to be functioning correctly on all the test cases I have running 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2011 - 9:40 am

cool. we actually had forgotten to run through install and upgrade with debug on... had done pass through front end and fixed maybe 90% before opened alpha... andy has been going through install and upgrade to fix up those notices too...

thanks for update...

Avatar
devjah
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2011 - 7:09 pm

died 2 times on fresh installation, successfully installed on third try.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2011 - 7:20 pm

any clue on the first two? error log?

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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625