• Resolved redsamk

    (@redsamk)


    Hi, the first time i installed Wp-cerber was all fine and it worked pretty well. But after deleting it and trying to reinstall he gives me always this message when i try to activate:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Uncaught Error: Call to a member function getRemoteIp() on null in /var/www/vhosts/pokemesh.com/httpdocs/wp-content/plugins/wp-cerber/wp-cerber.php:658 Stack trace: #0 /var/www/vhosts/pokemesh.com/httpdocs/wp-content/plugins/wp-cerber/wp-cerber.php(300): cerber_acl_check(NULL, 'W') #1 /var/www/vhosts/pokemesh.com/httpdocs/wp-admin/includes/plugin.php(1943): include('/var/www/vhosts...') #2 /var/www/vhosts/pokemesh.com/httpdocs/wp-admin/plugins.php(164): plugin_sandbox_scrape('wp-cerber/wp-ce...') #3 {main} thrown in /var/www/vhosts/pokemesh.com/httpdocs/wp-content/plugins/wp-cerber/wp-cerber.php on line 658

    Latest version of plugin and WP. I even tried to manually delete the plugin folder and DB tables.

    https://ww.wp.xz.cn/plugins/wp-cerber/

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

    (@gioni)

    Do you use shared hosting with pre-installed and pre-configured WordPress?

    Do you use WP-CLI? If yes, it’s know issue and it will be fixed soon.
    If no, that means you have very strange WP configuration/environment and the plugin is unable to initialize itself properly.

    Thread Starter redsamk

    (@redsamk)

    No i use a dedicated server and i don’t use WP-CLI. The strange things is that the first time i installed the plugin it worked. Uninstalling and reinstalling it caused the problem. No way i can try to fix the problem?

    Plugin Author gioni

    (@gioni)

    Please, download the last version of the plugin. That issue should be gone.

    Thread Starter redsamk

    (@redsamk)

    Updated to 2.9 but uufortunately problem is still here.

    Fatal error: Uncaught Error: Call to a member function getRemoteIp() on null in /var/www/mypath/wp-content/plugins/wp-cerber/wp-cerber.php:649 Stack trace: #0 /var/www/mypath/wp-content/plugins/wp-cerber/wp-cerber.php(311): cerber_acl_check(NULL, ‘W’) #1 /var/www/mypath/wp-admin/includes/plugin.php(1943): include(‘/var/www/mypath/…’) #2 /var/www/mypath/wp-admin/plugins.php(164): plugin_sandbox_scrape(‘wp-cerber/wp-ce…’) #3 {main} thrown in /var/www/mypath/wp-content/plugins/wp-cerber/wp-cerber.php on line 649

    Plugin Author gioni

    (@gioni)

    I updated the code. Please, download and install the latest version.

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

The topic ‘Call to a member function getRemoteIp() on null’ is closed to new replies.