• Resolved aidenturner

    (@aidenturner)


    Hi there,

    I got a critical error when activating your plugin on my site today.

    PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_current_user() in .../wp-includes/capabilities.php:692
    Stack trace:
    #0 .../wp-content/plugins/ultimate-member/includes/core/class-access.php(551): current_user_can('administrator')
    #1 .../wp-content/plugins/ultimate-member/includes/core/class-access.php(707): um\core\Access->get_post_privacy_settings(Object(WP_Post))
    #2 .../wp-includes/class-wp-hook.php(292): um\core\Access->filter_protected_posts(Array, Array)
    #3 .../wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
    #4 .../wp-includes/post.php(5901): apply_filters('get_pages', Array, Array)
    #5 .../wp-content/plugins/tutor/classes/Utils.php(127): get_pages()
    #6 .../wp-content/plugins/tutor/classes/Options.php(67): TUTOR\Utils->get_pages()
    #7 .../wp-includes/capabilities.php on line 692

    I’m using multisite mode, WordPress 5.7.2 and PHP 7.0.33.
    I access the page with super admin account.

    Please let me know if you need any other information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @aidenturner

    It looks like there’s a plugin conflict. What happens when deactivating the other plugin “tutor”, does the fatal error occurs?

    Regards,

    Thread Starter aidenturner

    (@aidenturner)

    Thanks for your reply, @champsupertramp .

    It’s quite weird since I can’t reproduce the issue now.

    The issue doesn’t happens when I re-activating both 2 plugins, Ultimate Member and Tutor LMS.

    I will keep an eye on it and inform you for any updates.

    Thanks for your help, by the way.

    I haven’t noticed that it’s a conflict issue. Sorry for bothering you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critial error’ is closed to new replies.