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
Error line 247
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Jan 17, 2013 - 6:36 am

Hello guys,

Was looking through the error log in my forum and the last couple of days i got loads of following error message:

 

file: /simple-press/forum/content/classes/sp-member-view-class.php
line: 247
function: Unavailable
Warning | array_merge() [function.array-merge]: Argument #2 is not an array

 

Is there anything i can do to fix it?

 

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Jan 17, 2013 - 6:45 am

Scrolled to the very bottom of the error log and found this error message to appear before all the others:

 

file: /simple-press/forum/database/sp-db-management.php
line: 262
function: sp_move_topic
Notice | Trying to get property of non-object

 

All error messages is generated last two days.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 17, 2013 - 12:48 pm

Not sure I can get a handle on this error as it sort of suggests that the current user is not a member. do you expose your members list to non-logged in users? I.e., guests as we call them in SP...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Jan 17, 2013 - 4:18 pm

Yellow Swordfish said do you expose your members list to non-logged in users? I.e., guests as we call them in SP...

Thanks alot Andy.

The error occured every time a guest clicked on the member list button. No idea why i did expose the list to guests in the first place. Well the option is disabled now.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 17, 2013 - 4:26 pm

I will make sure that gets fixed up. Thanks for the confirmation.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 17, 2013 - 7:50 pm

not an error, but a notice... ;)

fixed in next version...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Jan 22, 2013 - 10:26 am

Mr Papa said
not an error, but a notice... ;) fixed in next version...

Great thank you.

However i got a new error message in my log. It appears several times per day:

file: /simple-press/sp-startup/admin/spa-admin-updater.php
line: 274
function: sp_update_wp_counts
Notice | Trying to get property of non-object

What can i do about it?

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 22, 2013 - 10:58 am

What wp and SP versions?

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Jan 22, 2013 - 1:07 pm

Mr Papa said
What wp and SP versions?

WP 3.5

SP 5.2.2

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 22, 2013 - 1:38 pm

Okay, will have to do more research tonight when home from work. Was afraid you might have been on earlier wp version that did not support the hook we used. But not the case.

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