Support

Home Forums Event Espresso Premium Ongoing WP Users (EE4.6+) Error

Ongoing WP Users (EE4.6+) Error

Posted: April 10, 2023 at 4:23 pm

Viewing 7 reply threads


Keith Moen

April 10, 2023 at 4:23 pm

I am getting ongoing error messages originating from the WP Users plugin. I’ve manually downloaded the zipped file for both EE core and the other plugins. Here are the details from the error message. The weird thing, is I cannot see an error. All the pages so far appear to be working. Here are the messages from the WordPress error email.

WordPress version 6.2
Current theme: MASP (version )
Current plugin: Event Espresso – WP Users (EE4.6+) (version 2.0.19.p)
PHP version 7.4.33

Error Details
=============
An error of type E_ERROR was caused in line 42 of the file /home/***/public_html/wp-content/plugins/eea-wp-user-integration/templates/eea-wp-users-registrations-table.template.php. Error message: Uncaught Error: Class ‘EE_Admin_Page’ not found in /home/***/public_html/wp-content/plugins/eea-wp-user-integration/templates/eea-wp-users-registrations-table.template.php:42
Stack trace:
#0 /home/***/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(406): include()
#1 /home/***/public_html/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_Admin.module.php(261): EEH_Template::display_template(‘/home/maspmbca/…’, Array)
#2 /home/***/public_html/wp-includes/class-wp-hook.php(308): EED_WP_Users_Admin::view_registrations_for_contact(Object(WP_User))
#3 /home/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#4 /home/***/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/***/public_html/wp-admin/user-edit.php(844): do_action(‘show_user_profi…’, Object(WP_User))
#6 /home/***/public_html/wp-admin/profile.php(18): require_once(‘/home/***/…’)
#7 {main}
thro


Keith Moen

April 11, 2023 at 2:58 pm

I think I’ve found where the error is. When and administrator tries to edit a profile, there is an error that appears at bottom of page that appears to be related to WP Users plugin. It is under User profile, the “All Registrations for thus user” section and the “REG ID” column.

I’ll put a link to the screen shot: WP Users Screenshot


Keith Moen

April 13, 2023 at 12:11 pm

I believe this is a EE programming bug/error. How do I get support to problem solve this?


Tony

  • Support Staff

April 13, 2023 at 3:07 pm

Hi there,

So the error your getting is odd, it showing that an EE Class doesn’t exist, yet we load those classes on all EE pages routes.

I don’t get the same issue when I try and reproduce this so I’ve asked for some feedback from one of our developers to see if we can narrow this down some.


Keith Moen

April 14, 2023 at 10:47 am

Thanks so much Tony! I had “missing files” errors pop up after updating the core Event Espresso a while ago. It crashed the site. I did download the zipped files from EE website to reinstall the plugins and it now works, but has this strange error (it doesn’t crash the site, but I’m worried it might have implications on registration, as we have a ticketing event coming up soon). Just trying to theorize, is there any chance a database update didn’t occur in one of my plugin updates?


Tony

  • Support Staff

April 14, 2023 at 11:06 am

EE validates the Database on the fly and will display a notice stating it’s trying to fix it, so it’s unlikely to be a DB issue but it is a very odd issue.

If the EE_Admin_Page class was actually missing from the site, pretty much none of the EE admin would work as it’s the base class for a LOT of the admin pages.


Keith Moen

April 14, 2023 at 1:16 pm

I think I figured it out. When an member has capabilities to edit User Profiles, the profile page errors if they do not also have EE capabilities (I could not figure out which specific capability, as there are way too many to test). The error on the User Profile page goes from list list of registered events downward, so it prevents the “update user” button from appearing. All I had to do was give the membership person to also have EE capabilities, and error is gone.


Tony

  • Support Staff

April 15, 2023 at 1:05 pm

Interesting, not what I would have expected at all tbh.

Would you mind sharing the capabilities of the account in question? Not the EE caps, I can work with those, but what ‘normal’ capabilities?

Viewing 7 reply threads

The support post ‘Ongoing WP Users (EE4.6+) Error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso