• Resolved vinhtvu2

    (@vinhtvu2)


    Updated to 7.7 in DEV and can’t access my network site dashboard for multisite.

    Also, running php 5.4, so that may be the cause as well, I’ll test on newer PHP to see if that’s the problem, but this is the error:

    Fatal error: Call to undefined function get_main_site_id() in /var/www/wordpress/wp-content/plugins/wp-cerber/wp-cerber.php on line 117

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vinhtvu2

    (@vinhtvu2)

    Interestingly, I’m guessing version 7.7 rely on some function on WordPress that doesn’t exist or wasn’t added until 4.9.8?

    After updating WordPress to the latest version first, then update Cerber, it work fine.

    But if I’m on an older version of WordPress and install wp-cerber 7.7, it would break at the network site dashboard.

    I guess I found the fix.

    Plugin Author gioni

    (@gioni)

    Hi!

    Yes, due to using get_main_site_id() since version 7.7 in the multisite mode Cerber requires WordPress 4.9 or greater. Sorry, I forgot to mention that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘7.7 lock out undefined function’ is closed to new replies.