• Resolved hotboxprintstudio

    (@hotboxprintstudio)


    The 7.7 update locked me out of my own site… this is the first time Ive encountered this personally. I did not change anything in the settings. 7.7 also crashed a client site of mine who was using an older version of php (version 5.5 I believe)… had to rollback in both installs and everything went back to normal.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

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

    Alternatively, you may consider using a newer version of PHP than the one you are currently using.

    Regards from Britanny.

    Thread Starter hotboxprintstudio

    (@hotboxprintstudio)

    Hi, yes Im aware the client needs to upgrade to a newer PHP… his error was apparent right away… but the update also had locked me out of my own site which has never happened until 7.7, which is a separate issue.

    The clients issue is easily solvable, mine however is peculiar. For now Ive rolled back to 7.6.

    No, it is the same issue.

    “$x = [];”
    is a short notation for
    “$x = array();”
    but is only recognised in newer versions of PHP. If you have direct access to files, then update to CERBER WP 7.7, the screen will remain blank, edit the wp-content/plugins/wp-cerber/common.php file as stated above, then use the reload button of your browser and all will be fine again.

    Thread Starter hotboxprintstudio

    (@hotboxprintstudio)

    My website, (not the clients site who uses an older version of PHP that crashed as a result of updating) is currently running PHP 7.0.32, so I don’t quite follow why its necessary to alter core files of the plugin like that.. Why does 7.7 lock me out of my site? I get a 404 every time like im blacklisted once I update to 7.7 on my website (not the clients). The clients was a different issue, where it completely crashed due to the older PHP.

    Excuse me if I dont see how this is the same problem. Either way, Id rather not alter the plugin like that. That shouldnt be a requirement to make it work on a current version of PHP…

    Every consecutive update of Cerber since I began using it many versions ago has worked flawlessly for the record, and I have not changed any settings either so Im confused why I get a 404 and get locked out of my site when I update to 7.7.

    Plugin Author gioni

    (@gioni)

    Hi!

    I’ve personally tested the plugin on PHP 7.0.27 and 7.2.3 on VPS and shared hostings with no issues. You can alter the plugin file as @jmmarbrezhoneg said. It’s a quick workaround for now. In the next version, this code instruction will be replaced with older one.

    Thread Starter hotboxprintstudio

    (@hotboxprintstudio)

    Hi Gioni,
    What would be the cause of the lockout though directly after updating? Im confused why this is occurring. I am running PHP 7.0.32.

    Thread Starter hotboxprintstudio

    (@hotboxprintstudio)

    Gioni, Could a plugin be the cause of the lockout after upgrading to 7.7? I can confirm that 7.7 does seem to run fine on the latest version of WP with PHP 7.0.27, as I installed it on yet another WP site the other day. Very strange I got locked out after upgrading on my own site however. Not sure why.

    Plugin Author gioni

    (@gioni)

    First of all, you have to inspect the Activity log. The answer should be there because the plugin logs all lockout if they occur. If you’re unable to log in, simply delete the plugin folder by using your hosting control panel, log in to the site, reinstall the plugin. The version of PHP, in this case, doesn’t matter.

    Thread Starter hotboxprintstudio

    (@hotboxprintstudio)

    Hey Gioni,

    Just wanted to report that 7.8 is working great and no more getting locked out for some mysterious reason after updating to the latest version… still have no clue why that happened initially but the issue seems to have been resolved in the latest version.

    Best
    Shaun

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘7.7 Update Lockout Issues’ is closed to new replies.