• Resolved Christoph

    (@monigc)


    Hi,

    The most recent version of the RUA Plugin is breaking our site.

    This is the error message:

    [Mon May 23 10:23:44.689838 2022] [php7:error] [pid 605508] [client 10.137.16.6:35898] PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in <path to wordpress>/wp-includes/capabilities.php:693\nStack trace:\n#0 <path to wordpress>/wp-content/plugins/ultimate-member/includes/core/class-access.php(433): current_user_can()\n#1 <path to wordpress>/wp-includes/class-wp-hook.php(307): um\\core\\Access->exclude_posts()\n#2 <path to wordpress>/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#3 <path to wordpress>/wp-includes/plugin.php(522): WP_Hook->do_action()\n#4 <path to wordpress>/wp-includes/class-wp-query.php(1804): do_action_ref_array()\n#5 <path to wordpress>/wp-includes/class-wp-query.php(3542): WP_Query->get_posts()\n#6 <path to wordpress>/wp-includes/post.php(2430): WP_Query->query()\n#7 <path to wordpress>/wp-content/plugins/restrict-user-access/app.php(447): get_posts()\n#8 <path to wordpress>/wp-content/plugins/restrict-user-access/app.php(594): RUA_App->get_levels()\n#9 <path to wordpress>/wp-includes/class-wp-hook.php(307): RUA_App->process_level_automators()\n#10 <path to wordpress>/wp-includes/class-wp-hook.php(331) in <path to wordpress>/wp-includes/capabilities.php on line 693

    I don’t understand why that’s happening.
    Hopefully this can be fixed.

    Best regards,

    Christoph

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    The same on one of my site.
    Since update to 2.3.1, the site is broken with next error.

    Une erreur de type E_ERROR a été causée dans la ligne 507 du fichier /home/cxytfxy/www/wp-content/plugins/restrict-user-access/level.php. 
    Message d’erreur : Uncaught Error: Class 'WPCACore' not found in /home/cxytfxy/www/wp-content/plugins/restrict-user-access/level.php:507 
    Stack trace: #0 /home/cxytfxy/www/wp-includes/class-wp-hook.php(307): RUA_Level_Manager->create_restrict_type('') #1 /home/cxytfxy/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/cxytfxy/www/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /home/cxytfxy/www/wp-settings.php(587): do_action('init') #4 /home/cxytfxy/www/wp-config.php(93): require_once('/home/cxytfxy/w...') #5 /home/cxytfxy/www/wp-load.php(50): require_once('/home/cxytfxy/w...') #6 /home/cxytfxy/www/wp-login.php(12): require('/home/cxytfxy/w...') #7 {main} thrown

    I need to disable the extension to make the site back.
    With previous version, no issue.
    Since this morning, with the new update, it breaks the site.

    Greetings

    Nils

    • This reply was modified 2 years, 6 months ago by slinouille.

    J’ai le même problème (same issue).

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you all for reporting this and for providing the error messages. This should be resolved in the latest version.

    Let me know if you still experience problems after updating.

    Thread Starter Christoph

    (@monigc)

    Hi Joachim,

    I just updated to version 2.3.2 and it’s working fine now.
    Thank you very much for the quick resolution!

    Cheers,

    Christoph

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Current Version: 2.3.1 is breaking our site, 2.3 is working.’ is closed to new replies.