Support

Home Forums Event Espresso Premium Error on trying to update Question details

Error on trying to update Question details

Posted: February 19, 2024 at 6:08 am


ericabanes

February 19, 2024 at 6:08 am

Hi,

On trying to save changes to questions options e.g. price or quantity we’re getting the following error:

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 1]
DELETE FROM wp_gvrd8j7tkz_esp_question_price_opt WHERE ID in ()

A RuntimeException was thrown! code: EE_Admin_Page – _route_admin_request – 1156 Page route “_insert_or_update_question” with the supplied arguments (new_question) threw the following exception: count(): Argument #1 ($value) must be of type Countable|array, stdClass given click to view backtrace and class/method details
/var/www/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php ( line no: 1156 )

Can you advise?

Thanks.


Tony

  • Support Staff

February 19, 2024 at 7:31 am

Hi there,

This table esp_question_price_opt is a table from Aparna’s price modifier add-on:

https://aparnascodex.com/downloads/price-modifier-for-event-espresso-4/

That’s not an add-on from Event Espresso ourselves so not something we provide support for, however, I do not know that no so long ago Aparna released a new version of the add-on to fix a few issues.

Are you using the latest version?


ericabanes

February 19, 2024 at 7:35 am

Hi Tony,

Thanks for your reply.

We just found https://eventespresso.com/topic/change-invoice-and-receipt-image/ and saw that the issue was with the Price Modifier For Event Espresso 4 plugin.

There is a new version of the plugin available in the dashboard but we’ve been advised that we shouldn’t update until we contact Aparna. We are communicating with Aparna now.

Thanks.

The support post ‘Error on trying to update Question details’ 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