Support Forum
i was wondering if you could tell me what is causing this error? it doesnt show it for the admin account but once you login to any other account you get these errors at the top of forum.
Warning: Illegal string offset 'topics' in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
Warning: in_array() expects parameter 2 to be array, string given in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
Warning: Illegal string offset 'topics' in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
Warning: in_array() expects parameter 2 to be array, string given in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
Warning: Illegal string offset 'topics' in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
Warning: in_array() expects parameter 2 to be array, string given in /home/cyanide/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 337
There are several parts to this answer..
The first to note is that these are not errors they are warnings. In that respect they cause no processing issues and things run properly.
Next - I can only assume unless you tell me otherwise, that you used the forum toolbox housekeeping to reset users new posts as we can find no other way to replicate the warnings. If this is the case then they should go away as your users log in and use the forum. And we do have a fix for the toolbox usage ready.
Most importantly however, is that no website should run with notices/warnings/errors being displayed to the screen. It is most unwise and, as a rule and principle, hosts should turn this off. So - unless you have the WP_DEBUG directive turned on in your wp-config.php file we strongly recommend that you talk to your host and have error display turned off as it should be.
YELLOW
SWORDFISH
|
We are just not sure how you would get that notice. It signifies a variable not set up properly.
Bit harmless since not initialized is same as empty so it works perfectly except for the notice.
Only methos we have seen so far for misinitialing the data was the housekeeping button - which is fixed for next version
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)