• Using Cerber with InfiniteWP (theme and plugin manager for multiple sites), I got this error on one site when reloading data from within the InfiniteWP dashboard:

    PHP Fatal error occurred: Call to undefined function cerber_is_admin_page() in /home/SITE/public_html/SITE/wp-content/plugins/wp-cerber/settings.php on line 63.

    I was able to solve this by editing lines 91-94 of cerber-load.php changing from:

    if ( defined( ‘WP_ADMIN’ ) || defined( ‘WP_NETWORK_ADMIN’ ) ) {
    // Load dashboard stuff
    require_once( dirname( __FILE__ ) . ‘/dashboard.php’ );
    }

    commenting out the if statement to:

    // if ( defined( ‘WP_ADMIN’ ) || defined( ‘WP_NETWORK_ADMIN’ ) ) {
    // Load dashboard stuff
    require_once( dirname( __FILE__ ) . ‘/dashboard.php’ );
    // }

    Obviously this is NOT ideal. Do you know why this would have happened? InfiniteWP uses an API key to login to WordPress I think.

Viewing 1 replies (of 1 total)
  • Thread Starter melissakfreeman

    (@melissakfreeman)

    I have just started using Cerber. I have other sites on a different server that are working just fine with Cerber and InfiniteWP. This one is the only one producing the error. I loaded Cerber on this site today.

Viewing 1 replies (of 1 total)
  • The topic ‘Cerber with InfiniteWP – Fatal error’ is closed to new replies.