• Resolved DKQ

    (@deepakkumarq)


    I have suddenly started receiving these errors for many of my plugins after updating them and one of them is Insert Headers and Footers. This is preventing me to access my wordpress admin dashboard.

    Showing below error on browser –

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    And below is the error log in my server-

    FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Function name must be a string in /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/includes/generator/class-wpcode-generator-query.php:1
    Stack trace:
    #0 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-generator.php(52): require_once()
    #1 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-generator.php(31): WPCode_Generator->load_types()
    #2 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php(259): WPCode_Generator->__construct()
    #3 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php(161): WPCode->load_components()
    #4 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php(149): WPCode->__construct()
    #5 /var/www/html/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php(285): WPCode::instance()
    #6 /var/www/html/public_html/wp-content/plugins/insert-" while reading response header from upstream, client: redacted, server: *.redacted.com, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted.com", referrer: "https://redacted/wp-admin/index.php"
Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @deepakkumarq,

    Can you please make sure there were no errors when updating the plugins on the site? In rare cases, files down the tree of folders (in this case /includes/generator) don’t get copied/extracted correctly and you mentioned having this issue with multiple plugins so I wonder if it’s not something related to the update.

    Can you please try the following:
    – remove the plugin using FTP from wp-content/plugins/insert-headers-and-footers
    – install the plugin manually by downloading the .zip archive from https://www.ads-software.com/plugins/insert-headers-and-footers/ and uploading the extracted archive to wp-content/plugins

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘FastCGI sent in stderr: “PHP message: PHP Fatal error:’ is closed to new replies.