Support

Home Forums Event Espresso Premium "Missing argument" Errors

"Missing argument" Errors

Posted: February 21, 2013 at 3:42 pm


Julie Mackenzie

February 21, 2013 at 3:42 pm

WP 3.5.1
EE 3.1.30.7P
EE Calendar 2.0.4
EE Social Media 1.1.4

If you visit http://shepherdsharvestfestival.org/festival-info/class-details-and-registration/?ee=139 you will see that I am getting the following two errors:

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

Warning: extract() [function.extract]: First argument should be an array in /home/shepherd/public_html/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 321

What is going on here?

We recently upgraded.


Seth Shoultes

  • Support Staff

February 21, 2013 at 10:04 pm

Hi Julie,

You may have outdated template files in the wp-content/uploads/espresso/templates directory. You can test this by clicking the “Rename Templates Directory” button in Event Espresso > Template Settings. This can be undone via FTP is there is a problem.

You can start with fresh templates from the newer version. If you have made modifications to the earlier version’s templates, you can copy the modifications into the newer version’s templates. When you’re finished, you can copy the modified files into /wp-content/uploads/espresso/templates.

If you haven’t made any customizations, and you’re simply trying to update to the new version of Event Espresso, you can remove the templates from /wp-content/uploads/espresso/templates using FTP or your host’s control panel file manager.
Please see this article in the documentation for more info:

https://eventespresso.com/wiki/put-custom-templates/

The support post ‘"Missing argument" Errors’ 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