Support

Home Forums Event Espresso Premium Exception

Exception

Posted: May 10, 2022 at 1:35 pm


Pauli29

May 10, 2022 at 1:35 pm

I always get following exception on my ste. I also renewed my license that I can update to newest version of ee but it didn’t help anything.

Ein Fehler vom Typ E_ERROR wurde in der Zeile 1786 der Datei /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php verursacht. Fehlermeldung: Uncaught Error: Attempt to modify property “response” on bool in /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/pue/pue-client.php:1786
Stack trace:
#0 /var/www/html/citydance/wp-includes/class-wp-hook.php(305): PluginUpdateEngineChecker->injectUpdate(false)
#1 /var/www/html/citydance/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array)
#2 /var/www/html/citydance/wp-includes/option.php(1945): apply_filters(‘site_transient_…’, false, ‘update_plugins’)
#3 /var/www/html/citydance/wp-includes/update.php(293): get_site_transient(‘update_plugins’)
#4 /var/www/html/citydance/wp-includes/class-wp-hook.php(301): wp_update_plugins()
#5 /var/www/html/citydance/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/html/citydance/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#7 /var/www/html/citydance/wp-admin/includes/class-plugin-upgrader.php(371): do_action(‘upgrader_proces…’, Object(Plugin_Upgrader), Array)
#8 /var/www/html/citydance/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade(Array)
#9 {main}
thrown


Pauli29

May 10, 2022 at 2:25 pm

and also this one:

Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 1123 der Datei /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php verursacht. Fehlermeldung: Uncaught TypeError: usort(): Argument #1 ($array) must be of type array, null given in /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php:1123
Stack trace:
#0 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php(1123): usort(NULL, Object(Closure))
#1 /var/www/html/citydance/wp-admin/includes/template.php(1395): espresso_events_Pricing_Hooks->pricing_metabox(Object(WP_Post), Array)
#2 /var/www/html/citydance/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post))
#3 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1477): include_once(‘/var/www/html/c…’)
#4 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1438): EE_Admin_Page_CPT->loadEditorTemplate(true)
#5 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php(792): EE_Admin_Page_CPT->_create_new_cpt_item()
#6 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1023): Events_Admin_Page->_create_new_cpt_item()
#7 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(419): EE_Admin_Page->_route_admin_request()
#8 /var/www/html/citydance/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(323): EE_Admin_Page_CPT->_load_page_dependencies()
#9 /var/www/html/citydance/wp-includes/class-wp-hook.php(307): EE_Admin_Page_CPT->load_page_dependencies(”)
#10 /var/www/html/citydance/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#11 /var/www/html/citydance/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#12 /var/www/html/citydance/wp-admin/admin.php(237): do_action(‘load-toplevel_p…’)
#13 {main}
thrown


Joao Victor

  • Support Staff

May 10, 2022 at 4:47 pm

Hi there!

Thanks for contacting us!
We are sorry you are facing this issue with our plugin.

Could you please provide me with more details about how you reproduce this error? Is it show up when Event Espresso is activated, or do you need to send an action (create an event, click on a button, etc.)? Also, check this article: https://eventespresso.com/wiki/troubleshooting-checklist/ that is useful to solve this kind of problem sometimes.

I am waiting for your comment on this!


Pauli29

May 11, 2022 at 12:29 am

Hello,
It occurs when I send an action in the backend.


Tony

  • Support Staff

May 11, 2022 at 4:43 am

Hi there,

The error you’ve posted in your initial post usually happens when something is hooking in to prevent updates on the site.

So starting with that issue, are you blocking updates? Or using a plugin to block updates on the site?

The second issue posted, usually means either you’re hitting a limit on your server and EE is missing values it is expecting, or something is hooking into the sav call and altering what EE is expecting to be there.

If you create a new Event within EE, just give it a title and then publish, do you see the above error?


Pauli29

May 11, 2022 at 6:02 am

Hello!
When I create or edit an event under the section “tickets and dates” I see the message “there is an critical error on your website and then I get this exception per mail.


Tony

  • Support Staff

May 11, 2022 at 7:02 am

Hmm, so you’re getting that error on page load, that’s different.

Can I take a quick look in the admin to see if anything stands out?

If so you can send temp login details using this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

May 11, 2022 at 8:49 am

Hi there,

What is the history of this site, please?

The reason you are getting the fatal errors mentioned is because the default pricing within Event Espresso has been removed from the database.

We don’t have a user interface to remove that as it it critical data for EE to function so has someone manually altered the database previously?


Pauli29

May 11, 2022 at 10:03 am

Thank you for the information.
Please can you give me the mentioned db table?


Tony

  • Support Staff

May 11, 2022 at 11:36 am

The first would be the missing default ticket within {prefix}esp_ticket

Row 1 is usually the default ticket with TKT_is_default set to 1

You may have missing values from esp_price and esp_price_type


Pauli29

May 20, 2022 at 4:20 am

I have some backups of the database but in the backend I can only restore the whole db.
Can you help me to only restore tables of ee?
Ín the meantime I updated ee can I still restore?


Tony

  • Support Staff

May 20, 2022 at 8:42 am

Did you recently alter the Database tables then?

I’m just wondering how they have gotten to the current state with missing values.

Can you send me the current version of the database so I can load it up locally and take a look? (I only need to see the esp_* tables, not everything).


Pauli29

May 20, 2022 at 8:49 am

I did not change anything yet.
I am wondering too.
How can I send you the db?


Tony

  • Support Staff

May 20, 2022 at 8:52 am

Host it somewhere and send the link we can use to download it to support[at]eventespresso.com

(If archiving into a .zip you could set a password on the zip file and add the password here in a private reply, I’ll remove it shortly afterwards)


Pauli29

May 20, 2022 at 9:59 am

Did the link work?


Pauli29

May 23, 2022 at 10:15 am

Hello!
Have you any new information for me?


Joao Victor

  • Support Staff

May 24, 2022 at 6:49 pm

Hi there!

We are currently checking what you’ve sent to us.
We will get back to you as soon as possible.


Tony

  • Support Staff

May 25, 2022 at 4:28 am

Ok, so I assume you are comfortable enough with phpMyAdmin to be able to make a change within a table, correct?

The row for the default pricing ticket is still within the database, but somehow the flag set on that row to show it is a default price is now set to 0 (it should be 1).

The same is also true with the default pricing.

Eent Espresso wont set these values, there’s no option to disable the last default ticket/price within the UI.

Did you make changes to the database manually? (Again I’m just wondering how this how it has ended up like this)

Backup the database again as it is now, then the fix I would use is to edit the esp_ticket table and on row #1 set the value of TKT_is_default to 1 (If using phpMyAdmin just double click on the value, change it then click out of the box to save)

Like so: https://monosnap.com/file/uWPxxOcf1hcdk6sf12OjkN4DwWJ0pq

Then similar in esp_price set row #1 to have a PRC_is_default to 1.

Now when you create an event a default ticket with a price should be assigned to it, the reason you are getting the fata currently is no ticket is within the event and EE always expects at least 1 ticket.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso