Support

Home Forums Event Espresso Premium event_espresso_price_dropdown() error

event_espresso_price_dropdown() error

Posted: September 20, 2012 at 9:23 am

Viewing 4 reply threads


Kraft

September 20, 2012 at 9:23 am

Hey gang,

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

Did I miss a step in the upgrade? Any ideas?

Thanks,

BK


Seth Shoultes

  • Support Staff

September 20, 2012 at 9:35 am

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.


Kraft

September 20, 2012 at 9:42 am

[didn’t refresh to see response before posting! Thanks for the quick response.]


bshields

October 11, 2012 at 7:50 pm

I had the same problem but there are multiple differences between the template files, how do I know which changes to merge?


Josh

  • Support Staff

November 3, 2012 at 9:24 am

Hi there,

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:

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

Viewing 4 reply threads

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.

Event Espresso