Support

Home Forums Event Espresso Premium Error with Yes to Display Registration Fom

Error with Yes to Display Registration Fom

Posted: November 21, 2012 at 3:02 pm

Viewing 3 reply threads


Randy

November 21, 2012 at 3:02 pm

I am having a problem that I can’t seem to figure out. When I say yes to Display Registration Form I get the following errors:

Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/hbfcass1/hbf_2012_04/wp-content/uploads/espresso/templates/registration_page_display.php on line 144 and defined in /home/hbfcass1/hbf_2012_04/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 195

Warning: extract() [function.extract]: First argument should be an array in /home/hbfcass1/hbf_2012_04/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 200
Price: $20.00

It does not matter whether there is a price associated with the registration or not.

Any guidance would be appreciated. I am running Event Espresso 3.1.27.1.P and recurring events 1.1.7. The only customizations I’ve made are in the payment_page.php file.


Josh

  • Support Staff

November 21, 2012 at 3:07 pm

Hi Randy,

This can be resolved by removing the registration_page templates from /wp-content/uploads/espresso/templates. The error indicates that there is a version of those templates in the /uploads directory from an older version of Event Espresso.


Randy

November 21, 2012 at 3:51 pm

Hi Josh,

thanks for the quick reply. I removed the files and things work now. The files were from 4/19/2012. When I upgrade to 3.1.28.4 will the files in the /uploads directory be removed / replaced? or do I need to manually replace them?


Josh

  • Support Staff

November 21, 2012 at 4:41 pm

Any files in /wp-content/uploads/espresso/templates will need to be updated when you update to 3.1.28.4. So for example, since you mentioned that payment_page.php had been customized, I’d recommend re-naming it when you update so it doesn’t override the new version. Then you can copy over your changes to the new version’s payment_page.php.

Viewing 3 reply threads

The support post ‘Error with Yes to Display Registration Fom’ 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