• Resolved benoitfouc

    (@benoitfouc)


    Hello i’ve upgrade my website to php 7.3 (i was in 5.6 before).
    And now my website is break cause of cerber. I’ve disable cerber and all is good.
    But when i’m trying to enable cerber i’ve this error :

    L’extension n’a pas pu être activée, car elle a déclenché une erreur fatale.

    Fatal error: Cannot redeclare getallheaders() in /home/httpd/b/e/n/benfou/gestion.benfou-serveur.fr/wp-content/plugins/wp-cerber/common.php on line 2754

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter benoitfouc

    (@benoitfouc)

    Same error in my other website : Fatal error: Cannot redeclare getallheaders() in /home/httpd/b/e/n/benfou/gestion.benfou-serveur.fr/wp-content/plugins/wp-cerber/common.php on line 2754

    Plugin Author gioni

    (@gioni)

    Hi! Please go to the “Tools” plugin page, click the “Diagnostic” tab. Show me values from the following rows: “Server”, “Server API” and “Server platform” in the first section.

    Thread Starter benoitfouc

    (@benoitfouc)

    Hello ?? i can’t activate the plugin, when i’m trying to activate i see “plugin disable cause : Fatal error: Cannot redeclare getallheaders() in /home/httpd/b/e/n/benfou/gestion.benfou-serveur.fr/wp-content/plugins/wp-cerber/common.php on line 2754”

    Plugin Author gioni

    (@gioni)

    1. Open that wp-cerber/common.php file in the WP dashboard code editor and scroll to the line 2754.

    2. Replace function getallheaders() { with the following:

    function getallheaders2() {

    3. Activate the plugin.

    Thread Starter benoitfouc

    (@benoitfouc)

    Okay i’ve activate the plugin in one of the two affected websites ??

    Server Apache/2.4.41 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
    PHP version 7.3.8
    Server API fpm-fcgi
    Options DB table bn_options
    Server platform Linux

    Plugin Author gioni

    (@gioni)

    Thanks for the info! The issue will be fixed in the next version soon.

    Plugin Author gioni

    (@gioni)

    Fixed in v. 8.5.

    Thread Starter benoitfouc

    (@benoitfouc)

    Hello, yes still work !
    Thank you ??

    Iv’e contact Backwpup because they have the same issue.

    have a nice day

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error after PHP version Update’ is closed to new replies.