Support

Home Forums Event Espresso Premium Pricing Hook Error

Pricing Hook Error

Posted: May 20, 2018 at 8:32 am

Viewing 1 reply thread


kwg

May 20, 2018 at 8:32 am

I have a persistent error creating events since the last update.

Notice: Undefined index: in /home/knoxvill/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 496

Fatal error: Call to a member function start_date_and_time() on null in /home/knoxvill/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/new/pricing/espresso_events_Pricing_Hooks.class.php on line 497

From a previous thread Default pricing is set. Error exists on free and paid events.


Tony

  • Support Staff

May 21, 2018 at 5:29 am

Hi there,

This can happen for a few reasons but it’s usually caused by the page hitting the ‘max_input_vars’ value set on your server.

If you go to Event Espresso -> Maintenance -> System Information

Search for max_inputs_vars and see what value is shown 1000?

The easiest way to test if that’s the problem is to increase the limit, if it’s 1000, set it to 2000 and so on.

Exactly how you do that depends on your host but usually you can add:

php_value max_input_vars 3000
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000

To your sites .htaccess file, if unsure I recommend contacting your host and have them increase the value for you.

Viewing 1 reply thread

The support post ‘Pricing Hook Error’ 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