Support

Home Forums Event Espresso Premium type E_ERROR was caused in line 42

type E_ERROR was caused in line 42

Posted: April 14, 2023 at 2:02 pm

Viewing 1 reply thread


pathwise

April 14, 2023 at 2:02 pm

Hi there,

We have received a couple of (below) error messages in the last 2 days. It seems to be related to the EE – WP Users plugin. I am wondering if you might have an idea what is causing the errors and how we might fix it.

WordPress caught an error with one of your plugins, Event Espresso – WP Users (EE4.6+).
WordPress version 6.2 Current theme: NRTG (version 9.1.0) Current plugin: Event Espresso – WP Users (EE4.6+) (version 2.0.19.p) PHP version 7.4.33

An error of type E_ERROR was caused in line 42 of the file /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 /public_html/wp-content/plugins/eea-wp-user-integration/templates/eea-wp-users-registrations-table.template.php:42

Stack trace:
#0 /public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(406): include()
#1 /public_html/wp-content/plugins/eea-wp-user-integration/EED_WP_Users_Admin.module.php(261): EEH_Template::display_template(‘/public_html/…’, Array)
#2 /public_html/wp-includes/class-wp-hook.php(308): EED_WP_Users_Admin::view_registrations_for_contact(Object(WP_User))
#3 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#4 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /public_html/wp-admin/user-edit.php(844): do_action(‘show_user_profi…’, Object(WP_User))

Thank you!


Tony

  • Support Staff

April 15, 2023 at 1:18 pm

Hi there,

We recently had another report of this here: https://eventespresso.com/topic/ongoing-wp-users-ee4-6-error/#post-341801

The user there commented that if the user editing the WP PRofile does not have all of the EE capabilities the above error is thrown.

Do you have users other than the admin making edits on WP Profile pages? If so, what capabilities do they have on their role?

Viewing 1 reply thread

The support post ‘type E_ERROR was caused in line 42’ 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