• Resolved KCD12

    (@kcd12)


    I have had WP Cerber installed on site for awhile now with no issue. Today I found the site was broken. When I enter the url for both front and backend I get the following error message: …/wp-content/plugins/wp-cerber/common.php on line 1970

    I deleted the plugin through cpanel and everything was restored. Tried re-installing WpCerber and the site broke with same error message again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter KCD12

    (@kcd12)

    I see that the issue is due to the site running on php 5.6. Will update and see if that does the trick.

    Hi, my server using PHP7.2, but still white out!
    So I came here and changed common.php

    ====
    Edit line 1970 of wp-content/plugins/wp-cerber/common.php and replace
    $headers = [];
    with
    $headers = array();
    ====

    Then, it worked! So this is not because of latest PHP version?

    Plugin Author gioni

    (@gioni)

    Hi guys!

    Sorry for the inconvenience but Cerber requires PHP 5.4 or higher. It’s clearly stated in the description. Anyway, in the next version this definition will be replaced with a classic $headers = array();

    @suemari

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

The topic ‘WP Cerber Breaking site’ is closed to new replies.