Support Forum

Errors on new installation

JA JA
JA
Member

Hello,

I just installed the forum on a new site. I had some issues with installation not completing – it would say “installation complete” but then it would prompt me to install again. I disabled all other plugins, and it did install. 

WordPress 3.9.1

Simplepress  5.4.2

Now, I am setting it up and trying to create topics, but I received this error:

 

Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /problem-with-post-edit-buttonome1/ce4t/public_html/courses/byod/wp-content/plugins/simple-press/sp-api/sp-api-class-post.php on line 457

 

Warning: Cannot modify header information – headers already sent by (output started at /problem-with-post-edit-buttonome1/ce4t/public_html/courses/byod/wp-content/plugins/simple-press/sp-api/sp-api-class-post.php:457) in /problem-with-post-edit-buttonome1/ce4t/public_html/courses/byod/wp-includes/pluggable.php on line 1121

 

On the forum page itself, this message is displayed before the first topic:

 

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome1/ce4t/public_html/courses/byod/wp-content/plugins/simple-press/forum/content/classes/sp-list-topic-class.php on line 416

 

I’d appreciate help in resolving this.

 

Thank you!

 

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

These should go away when you create your first topic/post and they should also be fixed up in the next update.

What you should NOT be doing is having these errors, warnings and notices displayed on the front end screen like this. Nothing like this should ever show up on a production site and you should ensure that your php setup sends these errors to a log file and nopt the display. Also check that the WP_DEBUG settings in your WP config.php file not turned on.

JA JA
JA
Member

I don’t know if this makes senses (I’m not very technical…more of an end user), but I tried to remove a user group from the Dashboard. The front end page was dispalying, and there was no way to remove the group.

I disabled all other plugins again, and then I was able to delete the user group. 

Sounds like plugin conflicts? I’ll now re-enable one by one to see which one it is. I RESTRICT SITE ACCESS is the culprit. As soon as I re-enabled it (the only other plugin enabled besides SP), I now get a front end page displayed when working on the Dashboard.  Any recommendations for another plugin that will allow site access only to members we add to the site? 

Screen-Shot-2014-05-29-at-9.03.17-AM.png. See attachment.

YS Yellow Swordfish
Yellow Swordfish
Member

Wow – that makes a bit of a mess doesn’t it…

So – afraid I have not encountered this particular plugin before. What, exactly, does it do?

JA JA
JA
Member

Corrected name:  RESTRICTED SITE ACCESS  http://10up.com/plugins/restricted-site-access-wordpress/

It allow only registered members to see the site pages. 

Any recommendations of another plugin that will do the same thing that will not conflict?

YS Yellow Swordfish
Yellow Swordfish
Member

There are quite a few membership plugins out there. We user ‘WishList Member’ but I know we haver users on ‘S2Member’ and one I believe it is called ‘eMember’. And there are others as well.

I note that the one you are using has not been updated since WordPress 3.5 and the latest WordPress release is 3.9 so there may be come compatibility issues creeping in.