[Resolved] PHP Warning GP Premium Plugin then website crashes HTTP 500 ERROR “URGENT”

Home Forums Support PHP Warning GP Premium Plugin then website crashes HTTP 500 ERROR “URGENT”

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1395310
    Kristan

    I am getting this [10-Aug-2020 12:56:21 UTC] PHP Warning: Invalid argument supplied for for each() in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1327 . Then after many errors my website crashes. What I notice is after so many errors the WP-load.php file becomes ZERO or empty. I already contacted the hosting provider replace core files, increase PHP memory limit, tried disabling plugins. We also check for malware but zero results.

    Now I got HTTP error 500. Please help me

    #1395365
    David
    Staff
    Customer Support

    Hi there,

    where are you seeing the error ? Your site is currently loading correctly for me.

    #1396371
    Kristan

    Hi David. Thank you for your message. It loads with unusual speed. It loads really slowly on me. Google pagespeed showing error on mobile speed test. Not the usual speed. I am getting the errors on error-log.php- so many of them. And when the error is so many it gets http 500 error. The hosting provider couldn’t resolve the issue. I gave them enough time but they told me they exhausted all efforts. They were telling me that the issue is on the gp-premium plug-in.

    #1396445
    Kristan

    Website is working for now. but when again the errors accumulate it gets HTTP 500.

    #1396821
    David
    Staff
    Customer Support

    Can you provide a snapshot of the errors you are getting in your error_log ?

    #1396878
    Kristan

    `[11-Aug-2020 03:51:32 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:51:35 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:53:07 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:54:04 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:54:07 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:54:49 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:54:51 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 03:54:53 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:00:14 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:00:21 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:00:23 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:00:25 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:12 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:15 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:17 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:27 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:30 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:32 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:03:34 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:04:25 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/themes/generatepress/.generatepress.php on line 1640
    [11-Aug-2020 04:04:54 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:04:57 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:07:17 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:07:20 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:08:07 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:10:00 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:10:04 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:12:19 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:12:25 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:12:39 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:12:51 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:12:56 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:15:06 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:15:24 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:18:26 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:19:20 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:19:37 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:19:56 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:20:13 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/colors/functions/.functions.php on line 1640
    [11-Aug-2020 04:24:02 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:24:12 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:25:11 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/elements/.elements.php on line 1640
    [11-Aug-2020 04:25:41 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:37:02 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:48:58 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:49:24 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:49:29 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:49:34 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:49:51 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:49:56 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 04:56:41 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:01:01 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:01:11 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:01:16 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:01:21 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:29:26 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:37:41 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:53:44 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 05:58:37 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 06:37:09 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 06:50:54 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:14:20 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:36:57 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:37:20 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:37:20 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:37:44 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 07:37:46 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 08:35:48 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 08:36:33 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 10:19:40 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 10:19:57 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 10:20:43 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 10:27:44 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640
    [11-Aug-2020 10:28:14 UTC] PHP Warning: Creating default object from empty value in /home2/kristanz/public_html/wp-content/plugins/gp-premium/disable-elements/functions/.functions.php on line 1640

    #1396897
    Kristan

    I really have no idea if PHP warnings can really be a cause of 500 HTTP Error. What I noticed is that when error accumulates like this the next error is on wp-blog header. Then the wp-load.php file becomes empty. Thats the time it gets 500 HTTP error

    #1396909
    David
    Staff
    Customer Support

    Those errors are pointing to a line in a file within your theme and plugin folder eg.

    /wp-content/themes/generatepress/.generatepress.php on line 1640

    But those files should not be there – they are not part of GeneratePress. I would recommend running some security and malware scans on the site.

    #1396910
    Kristan

    one thing else im not getting this many errors from a client’s site built with generatepress in other hosting provider. All my subdomains and main domain are getting too many PHP error in my main hosting provider.

    #1396913
    David
    Staff
    Customer Support
    #1396954
    Kristan

    We did a malware scan with my hosting provider but zero findings. I also scan via sucuri sitecheck website and my plugin wordfence. There are no findings.. Do you have any suggestions?

    #1396997
    David
    Staff
    Customer Support

    Those files should definitely not be there.
    I can only suggest that you remove the GP theme and the GP plugin via FTP and re-install them.
    Your settings should save to the Database – but to be safe you may want to do this after making a backup

    #1397044
    Kristan

    Thanks for your suggestions David. I would relay that to the hosting provider. That’s an important point. Hmm. I think that I did that already reinstalled gp theme and gp plugin. I see PHP error with other plugins too if gp premium and theme is deactivated. First i deactivate all plugin and switched to twenty theme. Then it shows error on twenty theme. Now if i activate one of the plugin. Now it shows the error on that plugin. And so on. I already reinstalled new version of WordPress in that case. I really don’t know what to do now. If this problem exists, Ill probably create a new website with new database.

    #1397097
    David
    Staff
    Customer Support

    It sounds like the entire site has been infected. Which would require the site to be repaired or rebuilt. You may want to talk to WordFence as they provide these type of services.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.