Support

Home Forums Event Espresso Premium Missing argument 2 for event_espresso_price_dropdown()

Missing argument 2 for event_espresso_price_dropdown()

Posted: November 16, 2012 at 5:10 am

Viewing 7 reply threads


irobinson

November 16, 2012 at 5:10 am

This error appeared on our website this morning.

> Warning: Missing argument 2 for event_espresso_price_dropdown(),
> called in
> /nfs/c04/h02/mnt/58530/domains/rampworx.com/html/v4/wp-content/uploads/espresso/templates/registration_page_display.php
> on line 160 and defined in
> /nfs/c04/h02/mnt/58530/domains/rampworx.com/html/v4/wp-content/plugins/event-espresso
> new/includes/functions/pricing.php on line 304
>
> Warning: extract() expects parameter 1 to be array, null given in
> /nfs/c04/h02/mnt/58530/domains/rampworx.com/html/v4/wp-content/plugins/event-espresso
> new/includes/functions/pricing.php on line 310

I have since updated to the latest version, removed all external CSS modifications and it is still preventing customers form buying tickets.

HELP!!!!

P.S i have bought support time, but there is no where to post your information.


Dean

November 16, 2012 at 5:20 am

Hello,

This is due to having modified template files in uploads/espresso directory. Template files do get updated from time to time and there has been a few updates recently.

This can be quickly checked by renaming the folder (uploads/old_espresso for example) there is also a button to do this in the Template Settings page (ver 3.1.28.X upwards).

Once you have renamed the folder check to see if everything functions. If so then you will need to transfer any modifications from the old template files to the new ones.

If you need further help please let us know, and if you need to cash in the support token, please email us at support@eventespresso.com.

https://eventespresso.com/wiki/change-log/


irobinson

November 16, 2012 at 5:51 am

Changing the file to old broke everything….


Dean

November 16, 2012 at 6:12 am

Hi,

Changing the folder name to old is just a way to stop your modified files from being loaded and allow the current templates to load instead. You can always rename it back.

When you renamed the folder, did the error disappear?

Changing the file to old broke everything….

Unfortunately this doesn’t inform me of what occurred, if you could provide some more information, it would assist matters greatly.


irobinson

November 16, 2012 at 6:13 am

Hi Dean,
i have sent an email to support to hopefully fix the problem.


Josh

  • Support Staff

November 16, 2012 at 7:50 am

Hi there,

We tried to log in to FTP and the credentials you sent do not appear to be correct. Can you verify and re-send these? Thanks.


irobinson

November 16, 2012 at 9:19 am

Hello Josh,

I have sent the correct information over to your email. Thanks


Josh

  • Support Staff

November 16, 2012 at 12:29 pm

We were able to resolve the above issue by renaming the /wp-content/uploads/espresso/templates directory to /wp-content/uploads/espresso/templates-old.

Viewing 7 reply threads

The support post ‘Missing argument 2 for event_espresso_price_dropdown()’ 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