WordPress.org

Support

Support » Plugins and Hacks » Duo Two-Factor Authentication » [Resolved] WP3.9 Non-Multi-Site Fatal Error

[Resolved] WP3.9 Non-Multi-Site Fatal Error

  • I’ve installed the duo plug-in but, when I activate it the site (front-end as well as admin area) fails to load and I get the following error message in my logs:
    PHP Fatal error: Call to undefined function get_current_site() in /web/.../wp-content/plugins/duo-wordpress/duo_wordpress.php on line 722

    If I copy the definition for the get_current_site function from ms-functions.php into duo_wordpress.php, the pages will load and I can configure duo, but that is not ideal for longterm maintenance. Also, at this stage of testing, I am unsure what other consequences there might be.

    My site is not a multi-site installation and so is not loading the multi-site functions by default.

    https://wordpress.org/plugins/duo-wordpress/

Viewing 1 replies (of 1 total)
  • Plugin Author Duo Security

    @duosecurity

    There shouldn’t be any adverse consequences of the modification you made.

    That said, newer versions of the Duo WordPress plugin resolve this error by using “if (is_multisite())” before trying the multi-site function get_current_site.

    I suggest updating to the latest version (currently 2.3.1).

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] WP3.9 Non-Multi-Site Fatal Error’ is closed to new replies.
Skip to toolbar