- This topic has 20 replies, 7 voices, and was last updated 4 years, 2 months ago by Leo.
March 24, 2018 at 3:48 pm #529631jdaco
After installing the GP Plugin and Theme I got the following Warning lines on top of my Dashboard page, please help, thank you!
Warning: shuffle() expects parameter 1 to be array, boolean given in /srv/disk1/2669254/www/mydomain.com/wp-content/plugins/gp-premium/sites/sites.php on line 387
Warning: Invalid argument supplied for foreach() in /srv/disk1/2669254/www/mydomain.com/wp-content/plugins/gp-premium/sites/sites.php on line 390
Warning: Cannot modify header information – headers already sent by (output started at /srv/disk1/2669254/www/mydomain.com/wp-content/plugins/gp-premium/sites/sites.php:387) in /srv/disk1/2669254/www/mydomain.com/wp-admin/includes/misc.php on line 1114
Warning: Cannot modify header information – headers already sent by (output started at /srv/disk1/2669254/www/mydomain.com/wp-content/plugins/gp-premium/sites/sites.php:387) in /srv/disk1/2669254/www/mydomain.com/wp-includes/option.php on line 919
Warning: Cannot modify header information – headers already sent by (output started at /srv/disk1/2669254/www/mydomain.com/wp-content/plugins/gp-premium/sites/sites.php:387) in /srv/disk1/2669254/www/mydomain.com/wp-includes/option.php on line 920March 24, 2018 at 10:31 pm #529748TomLead DeveloperLead Developer
That’s strange. That means your site wasn’t able to reach our Site Library. I’ll add some hardening to the code to prevent those notices.
If you refresh the Dashboard a couple times, does it go away? If not, you should contact your host and ask them to make sure your server can connect with gpsites.co.
Let me know 🙂March 25, 2018 at 3:42 am #529884jdaco
Hello Tom, thanks for replying..
This is weird.. Those error lines appear when I install 1.6 version of your plugin.. I uploaded the 1.5.2.zip file and the error lines didn´t show but then when trying to activate my Premium license key then I get the following error:
cURL error 7: Failed to connect to generatepress.com port 443: Connection refusedMarch 25, 2018 at 5:04 am #529922jdaco
Hello Tom, I contacted the hosting company and they enabled the outgoing connections from their server´s Firewall. Mistery solved!
Thanks for your support.
JorgeMarch 25, 2018 at 9:06 am #530128TomLead DeveloperLead DeveloperMarch 28, 2018 at 12:35 am #533355Jean-Claude
Is it possible to download an earlier version from somewhere?
I am getting “wp-content/plugins/gp-premium/sites/sites.php on line 338” in v1.6March 28, 2018 at 12:38 am #533360TomLead DeveloperLead DeveloperMarch 28, 2018 at 1:04 am #533380David
Since this morning I’m experiencing the same problem. Something happened in the last 10 hours.
When I go to
I receive this error
Error establishing a database connection
But wait a second I tried one more right now and the error is gone and my wp site works fine.
David.March 28, 2018 at 1:05 am #533382TomLead DeveloperLead Developer
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:34 am #533429Jean-Claude
Error went by itself, without “Refresh Site”.
Thank you so much Tom!
BTW a year ago I took your advise and signed up with SiteGround.
Couldn’t be happier.March 28, 2018 at 1:36 am #533432TomLead DeveloperLead DeveloperMarch 28, 2018 at 7:56 am #533870Eric
I am sorry, have a similar problem since I’ve upgraded :
Warning: shuffle() expects parameter 1 to be array, boolean given in /web/quatrepiliers1/www/wordpress/wp-content/plugins/gp-premium/sites/sites.php on line 387
Warning: Invalid argument supplied for foreach() in /web/quatrepiliers1/www/wordpress/wp-content/plugins/gp-premium/sites/sites.php on line 390
I did click on “Refresh Sites”…
Thanks for your kind answer,
Eric.March 28, 2018 at 8:04 am #533890calamityjess
I have it too, even after refreshing sites.
And as soon as I posted and did it a 3rd time it worked. THanks!March 28, 2018 at 8:07 am #533900TomLead DeveloperLead DeveloperMarch 28, 2018 at 8:23 am #533932Eric
Thanks Tom. Good work. Should I go on pushing on Refresh?
- You must be logged in to reply to this topic.