• Resolved Bud Manz

    (@manzwebdesigns)


    I just upgraded the plugin and my site is broken. Restored from backup, site works fine until I updated again… Help!

    BTW, I can’t get to the admin side either.

    • This topic was modified 1 year, 10 months ago by Bud Manz.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter Bud Manz

    (@manzwebdesigns)

    I restored so my site wouldn’t be down, the issue remains at https://dev.manzwebdesigns.com

    Plugin Support Delyan Delov

    (@delyandelov)

    Hello @manzwebdesigns,

    We have not received such requests after the latest release. Could you please try enabling the WordPress debug functionality as explained here:

    https://www.ads-software.com/support/article/debugging-in-wordpress/

    and provide us with the content of the debug.log located in the wp-content folder.

    Alternatively, please check if there are php_errorlog files under the home folder of your WordPress site and look for any fatal errors recorded.

    Thread Starter Bud Manz

    (@manzwebdesigns)

    Done and there are no php_errorlog files

    • This reply was modified 1 year, 10 months ago by Bud Manz.
    Plugin Support Delyan Delov

    (@delyandelov)

    If you have enabled the debug mode on your site, please check for errors in the wp-content/debug.log file. It should provide you with a clue about what is causing the issue. You can provide some of the entries here as well.

    Thread Starter Bud Manz

    (@manzwebdesigns)

    I don’t see that file.

    Plugin Support Delyan Delov

    (@delyandelov)

    We have tested the new plugin update on a fresh WordPress installation and there were no issues. There are many other users that have upgraded the plugin without issues. I am afraid that without access to your logs I cannot investigate the error further. Most probably the issue is caused due to conflict with some other plugin/theme installed on your site.

    You can contact the support of your hosting service so they can check the server logs for any errors recorded.

    Plugin Author Elena Chavdarova

    (@elenachavdarova)

    Hello @manzwebdesigns,

    I can see that both websites are working as expected now.

    Could you please share more information about the case, if there were any errors found in the system logs indicating the issue and how it was resolved.

    In case there are any incompatibilities between the plugin and other hosting services or plugin we would like to investigate them further and assist.

    Thank you for your cooperation!

    Best Regards,
    Elena

    hello
    i have the same problems

    i have this errors on “error log”

    I had to remove the plugin to return the functionality to the web.
    can you help?

    [Thu Dec 01 08:30:11.104892 2022] [proxy_fcgi:error] [pid 17250:tid 140338802132736] [client 2.154.224.59:49544] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function SiteGround_Optimizer\\Helper\\apache_response_headers() in /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php:225\nStack trace:\n#0 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php(22): SiteGround_Optimizer\\File_Cacher\\Cache->has_nocache_headers()\n#1 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php(141): SiteGround_Optimizer\\File_Cacher\\Cache->is_cacheable()\n#2 /home/yogupet.com/public_html/wp-content/advanced-cache.php(25): SiteGround_Optimizer\\File_Cacher\\Cache->get_cache()\n#3 /home/yogupet.com/public_html/wp-settings.php(95): include('/home/yogupet.c...')\n#4 /home/yogupet.com/public_html/wp-config.php(87): require_once('/home/yogupet.c...')\n#5 /home/yogupet.com/public_html/wp-load.php(50): require_once('/home/yogupet.c...')\n#6 /home/yogupet.com/public_html/wp-blog-header.php(13): require_once(...', referer: https://www.yogupet.com/wp-admin/admin.php?page=duplicator-pro
    [Thu Dec 01 08:30:19.397023 2022] [proxy_fcgi:error] [pid 11562:tid 140338986772224] [client 2.154.224.59:49547] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function SiteGround_Optimizer\\Helper\\apache_response_headers() in /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php:225\nStack trace:\n#0 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php(22): SiteGround_Optimizer\\File_Cacher\\Cache->has_nocache_headers()\n#1 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php(141): SiteGround_Optimizer\\File_Cacher\\Cache->is_cacheable()\n#2 /home/yogupet.com/public_html/wp-content/advanced-cache.php(25): SiteGround_Optimizer\\File_Cacher\\Cache->get_cache()\n#3 /home/yogupet.com/public_html/wp-settings.php(95): include('/home/yogupet.c...')\n#4 /home/yogupet.com/public_html/wp-config.php(87): require_once('/home/yogupet.c...')\n#5 /home/yogupet.com/public_html/wp-load.php(50): require_once('/home/yogupet.c...')\n#6 /home/yogupet.com/public_html/wp-admin/admin.php(34): require_once(...'
    [Thu Dec 01 08:30:23.494609 2022] [proxy_fcgi:error] [pid 11562:tid 140338986772224] [client 2.154.224.59:49547] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function SiteGround_Optimizer\\Helper\\apache_response_headers() in /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php:225\nStack trace:\n#0 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php(22): SiteGround_Optimizer\\File_Cacher\\Cache->has_nocache_headers()\n#1 /home/yogupet.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/Cache.php(141): SiteGround_Optimizer\\File_Cacher\\Cache->is_cacheable()\n#2 /home/yogupet.com/public_html/wp-content/advanced-cache.php(25): SiteGround_Optimizer\\File_Cacher\\Cache->get_cache()\n#3 /home/yogupet.com/public_html/wp-settings.php(95): include('/home/yogupet.c...')\n#4 /home/yogupet.com/public_html/wp-config.php(87): require_once('/home/yogupet.c...')\n#5 /home/yogupet.com/public_html/wp-load.php(50): require_once('/home/yogupet.c...')\n#6 /home/yogupet.com/public_html/wp-blog-header.php(13): require_once(...'

    Good morning,

    after updating the plugin , we received error messages on the front-end of the website, revealing sensitive php files. We had to remove the plugin. Can you please help.

    Good morning,

    After updating the plugin I got a server error 500.

    This happened on the sites that are not hosted on Siteground.

    Fatal error: Uncaught Error: Call to undefined function SiteGround_Optimizer\Helper\apache_response_headers() in /var/www/vhosts/idassa.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php:225 Stack trace: 
    #0 /var/www/vhosts/idassa.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php(22): SiteGround_Optimizer\File_Cacher\File_Cacher->has_nocache_headers() 
    #1 /var/www/vhosts/idassa.com/public_html/wp-content/plugins/sg-cachepress/core/File_Cacher/File_Cacher.php(336): SiteGround_Optimizer\File_Cacher\File_Cacher->is_cacheable() 
    #2 /var/www/vhosts/idassa.com/public_html/wp-content/plugins/sg-cachepress/core/Parser/Parser.php(63): SiteGround_Optimizer\File_Cacher\File_Cacher->process() 
    #3 [internal function]: SiteGround_Optimizer\Parser\Parser->run() 
    #4 /var/www/vhosts/idassa.com/public_html/wp-includes/functions.php(5279): ob_end_flush() #5 /var/www/vhosts/idassa.com/public_html/wp-includes/class-wp-hook.php(308): wp_ob_end_flush_all() #6 /var/www/vhosts/idassa.com in /var/www/vhosts/idassa.com/public_html/wp-content/plugins/sg-cachepress/core/Helper/File_Cacher_Trait.php on line 225
    Plugin Author Elena Chavdarova

    (@elenachavdarova)

    Thank you all for the reports and for providing the errors received!

    We have just released new version of the plugin including a fix for the reported issue.

    Please update the SiteGround Optimizer plugin to version 7.2.8 and update us if the issue is resolved.

    Thank you for your cooperation!

    Best Regards,
    Elena

    Thread Starter Bud Manz

    (@manzwebdesigns)

    This site, too, is not hosted on SiteGround. I disabled all plugins except this one and the site still didn’t work. I ended up installing a different plugin. I will try reinstalling it back on the dev site and see if it works now.

    Thread Starter Bud Manz

    (@manzwebdesigns)

    The new version appears to have fixed the issue, thanks!

    This latest version did not resolve the issue for me.
    I still get the error “Call to undefined function apache_response_headers”.

    SiteGround Optimizer 7.2.8
    PHP 8.1.3
    FPM served by Apache
    nginx proxy

    For now I commented out the loop on lines 225 to 235 of the File_Cacher_Trait.php

    Plugin Support Plamen M

    (@plamenm)

    Hello Denre,

    Can you check if you have any outdated plugins or themes? If you do, please update them to their latest versions. Also, let us know which version of PHP is your site running on? You can also try to temporarily disable all plugins, leaving only our plugin enabled. If the errors are gone, you can then re-enable the plugins one by one to identify the conflicting one.

    Regards,
    Plamen.M
    Tech Support Team
    SiteGround.com

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Last Update broke my site’ is closed to new replies.