Support Forum

Installed, but "Warning: Invalid argument"

UN
Unknown
Member

I’ve just installed SimplePress on my test site, and everything seemed to go without a hitch until I got to the admin page. At the top of “Integration – Storage Locations” it says:

Warning: Invalid argument supplied for foreach() in ****/wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 235

I disabled plugins one at a time and tried Twenty Twelve and Twenty Fourteen and it wouldn’t go away. Any idea what’s going on?

6 Answers

New Answer

IK Ike
Ike
Member

Hey,

The function in question is simply looking for the users language code from your WordPress. What language are you running? have you got any plugins running related to language that could be interfering? It’s just a shot in the dark mind you as I have not come across this particular error so far.

UN
Unknown
Member

Yes, it is WordPress 4.0, and I have no language plugins. The language is English.

The good news is the import went without a hitch and since doing the import I don’t see the warning any more.

UN
Unknown
Member

Installing it on my live site, after electing to activate it I get a blank page with this:

 

When I visit the plugin page, it is not activated, so I choose to activate it and it does, but still is worrisome. I’ll keep you posted as to any other details.

UN
Unknown
Member

Welp, it’s all installed and appears to be working. I was having the double forum issue, which I searched and fixed by selecting the “Limit forum display to within WP loop” on the Integration settings page. So I’m afraid I don’t have any more information to give you on this error.