I’m working on a local copy of a client site. She was using 3.1.21.P, upgraded to 3.1.27.P. In testing it, the following error appears on the event registration page for events.
> Warning: Missing argument 2 for event_espresso_price_dropdown(),
> called in
> C:xampphtdocsbytheglasswp-contentuploadsespressotemplatesregistration_page_display.php
> on line 144 and defined in
> C:xampphtdocsbytheglasswp-contentpluginsevent-espressoincludesfunctionspricing.php
> on line 195
>
> Warning: extract() expects parameter 1 to be array, null given in
> C:xampphtdocsbytheglasswp-contentpluginsevent-espressoincludesfunctionspricing.php
> on line 200
Yes, you need to update the template files located in \bytheglass\wp-content\uploads\espresso\templates\ . I usually use a recommend using a program called Diffmerge to compare the original template files to the ones in the espresso/templates folder.
When in doubt, 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:
The support post ‘event_espresso_price_dropdown() 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.
Support forum for Event Espresso 3 and Event Espresso 4.