Title: Error after Login
Last modified: September 21, 2016

---

# Error after Login

 *  Resolved [ChriDi](https://wordpress.org/support/users/chridi/)
 * (@chridi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/)
 * For certain (not all) users I get the following error after Logging in:
    /wp-
   content/plugins/restrict-user-access/level.php on line 228

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-after-login-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-login-3/page/2/?output_format=md)

 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211432)
 * Same.
 *  [lingenChan](https://wordpress.org/support/users/lingenchan/)
 * (@lingenchan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211628)
 * Hi,
 * same here, my debug log said:
 * PHP Fatal error: Class ‘WPCAObjectManager’ not found ../wp-content/plugins/restrict-
   user-access/level.php on line 228
 * And breaks admin access for user in my multisite install.
 * Please, help.
 * Best regards,
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211659)
 * Thank you for reporting this. Would it be possible to get more details from the
   stacktrace? I have an idea of what can be the cause, but unfortunately I cannot
   reproduce the error.
 *  [lingenChan](https://wordpress.org/support/users/lingenchan/)
 * (@lingenchan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211686)
 * Hi,
 * thanks for the quick reply. What do you exactly need? I just copied my debug 
   log above.
 * Best regards,
 *  [lingenChan](https://wordpress.org/support/users/lingenchan/)
 * (@lingenchan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211693)
 * Ah! BTW: i got the error after the last plugin update.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211774)
 * Usually the log file should contain a stack trace so that it’s possible to see
   exactly where the error is triggered, in this case when the function that uses
   WPCAObjectManager is called.
 * **To everyone in this thread:** Do you run a WP multisite/network, and if yes,
   is the plugin activated on network level?
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211853)
 * My case is a single install.
 * I don’t have a stacktrace but this is what the server log file is reporting (
   same at the opening thread item):
 * [22-Sep-2016 16:25:24 UTC] PHP Fatal error: Class ‘WPCAObjectManager’ not found
   in ../wp-content/plugins/restrict-user-access/level.php on line 228
 *  [lingenChan](https://wordpress.org/support/users/lingenchan/)
 * (@lingenchan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8211893)
 * Hi,
 * I don’t know what do you mean, the only log I can get is the one I wrote above.
 * WP multisite install and plugin and plugin activated on netwrok level: yes
 * Regards,
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212027)
 * Hey Joachim,
 * Thank you for looking into this so quickly. In the meantime, do you see any issue
   with reverting back to v0.12.1?
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212030)
 * The problem is that something (maybe another plugin) prematurely is triggering
   the call to the function that uses WPCAObjectManager (ie. before it exists). 
   That is what the error message is indicating. However, without a stacktrace, 
   it is hard for me to debug exactly what is going on.
 * Does the error only show up when the user is trying to log in? Or when he tries
   to access restricted content? Is there something particular about the user, eg.
   does he belong to 1 or more Levels?
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212034)
 * [@srumery](https://wordpress.org/support/users/srumery/)
 * There is no issue or security concerns by reverting back to 0.12.1
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212062)
 * I need to revert back to the previous version for now. Can you send me a link
   to that please? I don’t see it available in the Repo for Restrict User Access.
 * [https://wordpress.org/plugins/restrict-user-access/developers/](https://wordpress.org/plugins/restrict-user-access/developers/)
 * There is usually a section for “Other Versions” like this plugin:
 * [https://wordpress.org/plugins/simple-side-tab/developers/](https://wordpress.org/plugins/simple-side-tab/developers/)
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212102)
 * Downgrading would need to be done by cloning the git repo (including submodules).
 * Instead, open up _restrict-user-access.php_ and change line 42 to:
 * `require($rua_plugin_path.'/lib/wp-content-aware-engine/core.php');`
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212129)
 * Cool. I updated that line and will watch the error report closely. I’ll report
   back with results.
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/#post-8212321)
 * I confirmed that your update fixed the problem. Multiple users that reported 
   a problem are no longer having any issues. Well done, Joachim! 🙂
 * Thank you for supporting your plugin.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-after-login-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-after-login-3/page/2/?output_format=md)

The topic ‘Error after Login’ 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/)

## Tags

 * [fatal error after update](https://wordpress.org/support/topic-tag/fatal-error-after-update/)

 * 23 replies
 * 5 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-after-login-3/page/2/#post-8278712)
 * Status: resolved