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
Errors on new installation
Avatar
JA
Member
Free Members
sp_UserOfflineSmall Offline
May 29, 2014 - 8:25 am

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!

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 29, 2014 - 8:58 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
JA
Member
Free Members
sp_UserOfflineSmall Offline
May 29, 2014 - 9:21 am

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.pngImage Enlarger. See attachment.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 29, 2014 - 9:33 am

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?

andy-signature.png
YELLOW
SWORDFISH
Avatar
JA
Member
Free Members
sp_UserOfflineSmall Offline
May 29, 2014 - 9:56 am

Corrected name:  RESTRICTED SITE ACCESS http://10up.com/plugins/restri.....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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 29, 2014 - 10:48 am

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.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626