Posted: October 11, 2012 at 11:24 pm
|
HI guys, I have this warning appearing at the end of my event description since I updated to the latest version of EE: Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/yogascom/public_html/wptest/wordpress/wp-content/uploads/espresso/templates/registration_page_display.php on line 143 and defined in /home/yogascom/public_html/wptest/wordpress/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 195 Warning: extract() [function.extract]: First argument should be an array in /home/yogascom/public_html/wptest/wordpress/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 200 Visit this page for more details: http://yogasurfingretreats.com/wptest/wordpress/upcoming-events/?ee=8 |
|
Hi Ingrid, Do you have any files in the uploads/espresso/templates directory? If so these may need to be remove or modified. What has happened is that the template files have been changed in the update but yours havent been modified (which is the correct behaviour). Make sure you back these files up as they may contain modifications that you have done. |
|
Ok I’ll look into it. How can I make sure this doesn’t happen every update? Should I be making CSS changes to my custom CSS plugin instead? |
|
So I have tried in custom CSS and it just ruins the whole design…. there has been hours work in creating this theme for our event manager so is there a way to retain this and make it work with the new EE update?? |
|
Hi Ingrid, Using the uploads/espresso folder for the customisation is the correct way to go. We do try to minimise the changes done to the template files but as Event Espresso grows these change will occur from time to time. It is unavoidable, but we believe it helps make the product better in the long run. In answer to your question, I would advise you to compare the template files in uploads/espresso with the default ones in plugins/event-espresso/templates and where ever else you got the files from (ie gateways) with a program such as Diffmerge |
|
This same message has popped up on my site — noticed it after the upgrade to 3.1.28 and I’ve degraded the version back to 3.1.27 as recommended, deleted my custom files in the upload folder, and still see this error. Any other thoughts or solutions that come to top of mind? |
Hi Gregory, Are the error messages pointing to files in /wp-content/uploads/espresso/templates or in /wp-content/plugins/event-espresso? One thing you can try is deactivate and re-activate Event Espresso to make sure the database tables get updated. |
|
|
Hi Josh, They are pointing to /wp-content/plugins/event-espresso — exact errors below. Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/popaic5/public_html/registration_page_display.php on line 159 and defined in /home/popaic5/public_html/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 195 Warning: extract() expects parameter 1 to be array, null given in /home/popaic5/public_html/wp-content/plugins/event-espresso/includes/functions/pricing.php on line 200 I tried deactivating and reactivating EE before posting but to no avail. Greg |
|
Just wondering if you had any other thoughts or solutions on this? |
Hi Gregory, Can you double check this one:
registration_page_display.php should not be loading from the root level directory. |
|
|
Josh, What can I say, you’re a genius! There was an extra copy of registration_page_display that got dragged over to the root somehow. Thanks a million. Greg |
The support post ‘Warning appearing since updating to latest Event Espresso’ 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.