Current Version: 2.3.1 is breaking our site, 2.3 is working.
-
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
- The topic ‘Current Version: 2.3.1 is breaking our site, 2.3 is working.’ is closed to new replies.