- This topic has 5 replies, 3 voices, and was last updated 3 years, 1 month ago by Tom.
March 8, 2018 at 1:58 am #514463Patrick
with the update to the Beta 2 from 1.6 GPP, the Sites overview is broken.
The following message is shown after each sitetemplate.
: Invalid argument supplied for foreach() in
/www/htdocs/xxxx/xxxx/testdrive/02/wp-content/plugins/gp-premium/sites/classes/class-site.php on line 204
PatrickMarch 8, 2018 at 10:25 am #514949TomLead DeveloperLead DeveloperMarch 28, 2018 at 1:08 am #533386Víctor D.
I have the same problem with the new version GP Premium1.6 (stable). With 1.5.6 works fine.
“Warning: Invalid argument supplied for foreach() in C:\wamp\www\proyecto.com\wp-content\plugins\gp-premium\sites\sites.php on line 338”
“Warning: Invalid argument supplied for foreach() in C:\wamp\www\proyecto.com\wp-content\plugins\gp-premium\sites\sites.php on line 365”
In these two days since the update (March 26), my WP session had not closed. It was today that I have started a new session when the messages have appeared on top of the Desktop.
I am developing the website at localhost.
(I had to use a translator, I’ll comment on it in case some phrase is not well understood)
Thank you.March 28, 2018 at 1:09 am #533387TomLead DeveloperLead Developer
We just experienced a DDoS attack, which we’ve fixed.
If you go to “Appearance > GeneratePress > Site Library” and click “Refresh Sites”, the error should go away now.
Let me know – sorry for the inconvenience!March 28, 2018 at 1:43 am #533439Víctor D.
Thanks, Tom. Solved. I appreciate the quick response.
What I do not understand is the external dependency of my WP with the new Site module.
I think it would be a good idea to have the option to unlink it in case this type of incident occurs.
Víctor D.March 28, 2018 at 1:44 am #533442TomLead DeveloperLead Developer
There’s a filter in GPP 1.6.1 which will allow you disable the Site Library completely.
We’ll also be working in some other measures to prevent this from happening again.
- You must be logged in to reply to this topic.