- This topic has 15 replies, 7 voices, and was last updated 4 years, 8 months ago by Rodrigo.
-
AuthorPosts
-
March 27, 2018 at 11:44 pm #533284Rodrigo
Hello Tom & Leo,
I get the following error messages from time to time:
Warning: Invalid argument supplied for foreach() in /home/dh_8kfwgz/domain.com/wp-content/plugins/gp-premium/sites/sites.php on line 338 Warning: Invalid argument supplied for foreach() in /home/dh_8kfwgz/domain.com/wp-content/plugins/gp-premium/sites/sites.php on line 365 Warning: Cannot modify header information - headers already sent by (output started at /home/dh_8kfwgz/domain.com/wp-content/plugins/gp-premium/sites/sites.php:338) in /home/dh_8kfwgz/domain.com/wp-admin/includes/misc.php on line 1114
I can see you have already some other posts on this topic. They have vanished for the moment but I’m worried if that will break my site.
March 28, 2018 at 12:07 am #533309FEDERIKOSI am having the same problem ๐
March 28, 2018 at 12:15 am #533323Olgierd KoczorowskiI am having the same problem ๐
March 28, 2018 at 12:19 am #533327SigerMe too:
Operating System: Linux
Software: Apache/2
MySQL version: 5.6.27
PHP Version: 7.0.17
PHP Max Input Vars: 1000
PHP Max Post Size: 64M
GD Installed: Yes
Write Permissions: All rightMarch 28, 2018 at 12:27 am #533343TomLead DeveloperLead DeveloperOur Sites server is currently under DDoS attack. We’re working on a fix.
Sorry!
March 28, 2018 at 12:31 am #533348SigerHi Tom,
That sucks.. Good luck fixing this!March 28, 2018 at 12:40 am #533361SasheHello,
I was experiencing the same problem thus I added these checks in /plugins/gp-premium/sites/sites.php
On line 339 immediately after:
$data = json_decode( wp_remote_retrieve_body( $data ), true );
$data = is_array($data) ? $data : array();
On line 365 immediately after:
$trusted_authors = json_decode( wp_remote_retrieve_body( $trusted_authors ), true );
$trusted_authors['trusted_author'] = is_array( $trusted_authors['trusted_author']) ? $trusted_authors['trusted_author'] : array();
So now if there is no connection to gp servers, there is no error also…
March 28, 2018 at 12:59 am #533375MariaI’m having the same issue. I just did an update to one of my websites, and it is NOT WORKING WELL.
I’m reverting website to a back up copy. Will this help? Or does it mean all other website will be affected (updates or not)? Soooo concerning….March 28, 2018 at 1:03 am #533378TomLead DeveloperLead DeveloperIf 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:13 am #533391MariaHi Tom. I can’t see the errors, but my site is not the same. Notice the end of the front page, it’s showing a nav menu! I haven’t added any of that. What should I do?
https://www.soulspace.com.au/March 28, 2018 at 1:15 am #533393TomLead DeveloperLead DeveloperThat’s a different issue. Are you using NextGen by chance?: https://generatepress.com/forums/topic/nextgen-results-in-primary-menu-lood-in-after-footer/#post-533038
March 28, 2018 at 1:16 am #533395MariaAlso notice this page: it is showing a folder at the end of the post https://www.soulspace.com.au/magazine-publications/
March 28, 2018 at 1:17 am #533397TomLead DeveloperLead DeveloperAny chance you can open a new topic, just so we keep this one focused?
Thanks!
March 28, 2018 at 1:19 am #533401Mariayes, I am. I can also see Facebook plug in is gone.
I can see the error now:ent supplied for foreach() in /home/soulspac/public_html/wp-content/plugins/gp-premium/sites/sites.php on line 338
Warning: Invalid argument supplied for foreach() in /home/soulspac/public_html/wp-content/plugins/gp-premium/sites/sites.php on line 365
March 28, 2018 at 1:20 am #533406MariaOk, will create a new topic.
-
AuthorPosts
- You must be logged in to reply to this topic.