When I try to add a promotion…. the drop down menu that typically shows “percent or dollar” is not allowing me to click on it. And, I am gettinfg this long error message in the Promotion Ticket itself listed under “discount”.
Fatal error: Uncaught Error: Call to a member function get() on null in /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Price.class.php:278 Stack trace: #0 /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Price.class.php(290): EE_Price->is_percent() #1 /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/eea-promotions/core/db_classes/EE_Promotion.class.php(152): EE_Price->pretty_price() #2 /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/eea-promotions/admin/promotions/Promotions_Admin_List_Table.class.php(155): EE_Promotion->pretty_amount() #3 /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(686): Promotions_Admin_List_Table->column_amount(Object(EE_Promotion)) #4 /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(584): EE_Admin_List_Table->single_ro in /home3/kahne/public_html/aerielanewa.com/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Price.class.php on line 278
It sounds like the default Price Types for discounts that normally can be found in Event Espresso > Pricing were moved to the Trash.
Can you go to Event Espresso > Pricing > Price Types and click on the Trash link, then restore the trashed Price Types?
The support post ‘Promotion error – adding new promotion’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.