Title: RUA Producing An Error Notification
Last modified: February 22, 2024

---

# RUA Producing An Error Notification

 *  Resolved [Huckleberry](https://wordpress.org/support/users/mslifka/)
 * (@mslifka)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/)
 * Hello!
   Over the past month, I have been getting an error notification (3 in total,
   about once per week) from WordPress (I have a wordpress hosted site) concerning
   RUA. The error is not breaking my site, and I haven’t gotten any user complaints,
   so I haven’t been able to hone in on what is going on. Below, I have pasted a
   copy of the email notification along with the error log:Howdy!WordPress has a
   built-in feature that detects when a plugin or theme causes a fatal error on 
   your site, and notifies you with this automated email.In this case, WordPress
   caught an error with one of your plugins, Restrict User Access.First, visit your
   website ([https://loveandiron.com/](https://loveandiron.com/)) and check for 
   any visible issues. Next, visit the page where the error was caught ([https://loveandiron.com/wp-login.php](https://loveandiron.com/wp-login.php))
   and check for any visible issues.Please contact your host for assistance with
   investigating this issue further.If your site appears broken and you can’t access
   your dashboard normally, WordPress now has a special “recovery mode”. This lets
   you safely login to your dashboard and investigate further.To keep your site 
   safe, this link will expire in 1 day. Don’t worry about that, though: a new link
   will be emailed to you if the error occurs again after it expires.When seeking
   help with this issue, you may be asked for some of the following information:
   WordPress version 6.4.3Active theme: Gwangi (version 2.4.3)Current plugin: Restrict
   User Access (version 2.5)PHP version 8.1.27Error Details=============An error
   of type E_ERROR was caused in line 40 of the file /srv/htdocs/wp-content/plugins/
   restrict-user-access/api/functions.php. Error message: Uncaught Exception in /
   srv/htdocs/wp-content/plugins/restrict-user-access/api/functions.php:40Stack 
   trace:#0 /srv/htdocs/wp-content/plugins/restrict-user-access/models/user_level.
   php(77): rua_get_level(false)#1 /srv/htdocs/wp-content/plugins/restrict-user-
   access/models/user_level.php(154): RUA_User_Level->level()#2 /srv/htdocs/wp-content/
   plugins/restrict-user-access/models/user_level.php(218): RUA_User_Level->get_expiry()#
   3 /srv/htdocs/wp-content/plugins/restrict-user-access/models/user_level.php(31):
   RUA_User_Level->is_expired()#4 /srv/htdocs/wp-content/plugins/restrict-user-access/
   api/functions.php(85): RUA_User_Level->refresh()#5 /srv/htdocs/wp-content/plugins/
   restrict-user-access/models/user.php(68): rua_get_user_levels(Object(RUA_User))#
   6 /srv/htdocs/wp-content/plugins/restrict-user-access/models/user.php(90): RUA_User-
   >level_memberships()#7 /srv/htdocs/wp-content/plugins/restrict-user-access/models/
   user.php(209): RUA_User->get_level_ids()#8 /srv/htdocs/wp-content/plugins/restrict-
   user-access/app.php(189): RUA_User->get_caps(Array)#9 /wordpress/core/6.4.3/wp-
   includes/class-wp-hook.php(324): RUA_App->user_level_has_cap(Array, Array, Array,
   Object(WP_User))#10 /wordpress/core/6.4.3/wp-includes/plugin.php(205): WP_Hook-
   >apply_filters(Array, Array)#11 /wordpress/core/6.4.3/wp-includes/class-wp-user.
   php(808): apply_filters(‘user_has_cap’, Array, Array, Array, Object(WP_User))#
   12 /wordpress/core/6.4.3/wp-includes/capabilities.php(985): WP_User->has_cap(‘
   unfiltered_html’)#13 /wordpress/core/6.4.3/wp-includes/capabilities.php(877):
   user_can(Object(WP_User), ‘unfiltered_html’)#14 /wordpress/core/6.4.3/wp-includes/
   kses.php(2277): current_user_can(‘unfiltered_html’)#15 /wordpress/core/6.4.3/
   wp-includes/class-wp-hook.php(324): kses_init(”)#16 /wordpress/core/6.4.3/wp-
   includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)#17 /wordpress/
   core/6.4.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#18 /wordpress/
   core/6.4.3/wp-includes/pluggable.php(48): do_action(‘set_current_use…’)#19 /srv/
   htdocs/wp-content/plugins/learnpress/inc/class-lp-session-handler.php(112): wp_set_current_user(
   21166014)#20 /wordpress/core/6.4.3/wp-includes/class-wp-hook.php(324): LP_Session_Handler-
   >handle_when_user_login_success(‘peterw’, Object(WP_User))#21 /wordpress/core/
   6.4.3/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#
   22 /wordpress/core/6.4.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#
   23 /wordpress/core/6.4.3/wp-includes/user.php(121): do_action(‘wp_login’, ‘peterw’,
   Object(WP_User))#24 /wordpress/core/6.4.3/wp-login.php(1311): wp_signon(Array,
   true)#25 {main}thrown
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frua-producing-an-error-notification%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [ktrg2024](https://wordpress.org/support/users/ktrg2024/)
 * (@ktrg2024)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/#post-17470728)
 * Hi Huckleberry, were you able to find a solution to the mentioned error?
 *  Thread Starter [Huckleberry](https://wordpress.org/support/users/mslifka/)
 * (@mslifka)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/#post-17471971)
 * Nope. In fact, I received yet another wordpress RUA error notification last night.
 *  Thread Starter [Huckleberry](https://wordpress.org/support/users/mslifka/)
 * (@mslifka)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/#post-17473189)
 * Note: I have deactivated the plugin, because it appears the error is preventing
   new users from registering with the site (got some complaints this morning). 
   I sent a bug report prompted by the deactivation task, so just have to see what
   happens.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/#post-17495057)
 * Thank you both for reporting this and for providing the error details. The issue
   should be resolved in the latest version, 2.6.1. Please let me know if the issue
   persists after updating the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘RUA Producing An Error Notification’ is closed to new replies.

 * ![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)
 * [Restrict User Access - Ultimate Membership & Content Protection](https://wordpress.org/plugins/restrict-user-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-user-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-user-access/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-user-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-user-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/rua-producing-an-error-notification/#post-17495057)
 * Status: resolved