Support

Home Forums Event Espresso Premium Price-Modifier Plugin Crashing WordPress when Editing Registration

Price-Modifier Plugin Crashing WordPress when Editing Registration

Posted: June 14, 2019 at 3:14 pm


kroskopf

June 14, 2019 at 3:14 pm

I am using the Price-Modifier Plugin. On a completed registration I attempted to update an admin-only field of type TEXTAREA “Office Information” and WordPress crashed with the below stack dump. I can edit a different field on the same registration without crashing. I can edit a field for a different event that also uses Price-Modifier without the crash.

I know you don’t support 3rd party plugins. I’m going to create a priority support ticket just so you can take a look to see if I’m troubleshooting correctly.

I have reached out to Aparna, but haven’t heard back.

Wordpress Error:

Fatal error: Uncaught Error: Call to a member function get_grand_total() on null in /home/chicag80/public_html/wp-content/plugins/eea-pricing/EE_Price_Validation_Strategy.php:66

Stack trace:
#0 /home/chicag80/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/inputs/EE_Form_Input_Base.input.php(597): EE_Price_Validation_Strategy->validate(Array)

#1 /home/chicag80/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/base/EE_Form_Section_Proper.form.php(960): EE_Form_Input_Base->_validate()

#2 /home/chicag80/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/form_sections/EE_Registration_Custom_Questions_Form.form.php(181): EE_Form_Section_Proper->_validate()

#3 /home/chicag80/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/base/EE_Form_Section_Proper.form.php(314): EE_Registration_Custom_Questions_Form->_validate()

#4 /home/chicag80/public_html/wp-content/plugins/event-espresso-core-reg/admin_pa in /home/chicag80/public_html/wp-content/plugins/eea-pricing/EE_Price_Validation_Strategy.php on line 66


Josh

  • Support Staff

June 14, 2019 at 3:20 pm

I know you don’t support 3rd party plugins. I’m going to create a priority support ticket just so you can take a look to see if I’m troubleshooting correctly.

It sounds like you’re troubleshooting correctly, and that the code in the price modifier needs a fix. If you can include FTP credentials in the support token form we might be able to add a fix there. It sounds like the code needs to be a bit more defensive so it doesn’t try to use a method when it shouldn’t.

The support post ‘Price-Modifier Plugin Crashing WordPress when Editing Registration’ 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