• Resolved hbasslee

    (@hbasslee)


    My client got this PHP error when they upgraded to PHP 7.4 today (also running wordpress 5.3.2)

    Warning: Cannot modify header information – headers already sent by
    output started at /wp-config.php:84 in
    /wp-content/plugins/wp-cerber/common.php on line 2520

    Was wondering if you had any idea what could be causing this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gioni

    (@gioni)

    It’s caused by a piece of wrong PHP code in wp-config.php at line 84. That code is deprecated since PHP 7.4.

    Thread Starter hbasslee

    (@hbasslee)

    This is what I have on lines 84-86 of wp-config.php
    define( ‘SCRIPT_DEBUG’, false );
    define( ‘WP_MEMORY_LIMIT’, ’96M’ );
    define (‘WPCF7_LOAD_JS’, false); // Added to disable JS loading

    I don’t see what is deprecated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error Message after upgrading to PHP 7.4’ is closed to new replies.