• Resolved Sii Cockerill

    (@designtwelve)


    There’s a PHP Error message:

    E_ERROR: Call to undefined function wp_get_current_user()

    Stack trace:
    in current_user_can called at /…./wp-includes/capabilities.php (1387)
    …/plugins/wp-simple-firewall/icwp-plugin-controller.php (843)
    …/…
    … in ICWP_WPSF_FeatureHandler_Base_V3::action_doFeautureShutdown

    https://wordpress.org/plugins/wp-simple-firewall/

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Hey,

    Sorry for not getting back to you sooner… I wanted to let you know that the next plugin release will contain a work around for your issue. I’m going to have to move the plugin shutdown hooks that we use to be added later in the WP load. This will mean that whatever is killing your page load early can do so without our plugin throwing this error. It doesn’t solve the underlying problem for you, but it’ll keep your error logs clean 🙂

    Cheers!

    Thread Starter Sii Cockerill

    (@designtwelve)

    Cheers Paul!

    Thanks for taking the time to look into it.

Viewing 2 replies - 16 through 17 (of 17 total)

The topic ‘Call to undefined function wp_get_current_user()’ is closed to new replies.