Support

Home Forums Event Espresso Premium Problems with update to 3.1.28.4 and Members Addon 1.9.5.1

Problems with update to 3.1.28.4 and Members Addon 1.9.5.1

Posted: November 17, 2012 at 7:27 am


Roger

November 17, 2012 at 7:27 am

This morning, I tried to update from 3.1.28.2 to 3.1.28.4 and from Members Addon 1.9.4 to 1.9.5.1. When I did so, my event registration pages started displaying an error:”Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/[MY DATABASE NAME]/public_html/wp-content/uploads/espresso/templates/registration_page_display.php on line 144 and defined in /home/[MY DATABASE NAME]/public_html/wp-content/plugins/espresso-members/member_functions.php on line 345

Warning: extract() expects parameter 1 to be array, null given in /home/[MY DATABASE NAME]/public_html/wp-content/plugins/espresso-members/member_functions.php on line 349″
where I have substituted [MY DATABASE NAME] here for the actual name of the database.
The message (or a similar message) appears regardless of which plugin I update first.

Unfortunately, I did not save a copy of 3.1.28.2 before attempting the update (the update to 3.1.28.2 had gone smoothly), so I have had to revert to 3.1.27.1. Under that and Members Addon 1.9.4, everything seems to be running smoothly.
I would, of course, like to run the latest version of EE and the Members Addon if possible.
Please advise. Thanks.


Roger

November 17, 2012 at 7:30 am

P.S. After one of the EE updates earlier this year (late summer), my WP dashboard started displaying the need to update one more plugin than actually needed updating — for example, if two plugins had updates available, the WP Dashboard and the Plugins sidebar option would display the number “3”.
That phenomenon seemed to disappear after the update to 3.1.28.2 (thankfully). But now, after the failed attempt to update to 3.1.28.4 this morning, it has returned.


Josh

  • Support Staff

November 17, 2012 at 7:59 am

Hi Roger,

The key to resolving this issue is to address this error message:

Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/[MY DATABASE NAME]/public_html/wp-content/uploads/espresso/templates/registration_page_display.php

The error is indicating that the code in /wp-content/uploads/espresso/templates/registration_page_display.php is from an older version of Event Espresso. Since there are template files from an older version in the /wp-content/uploads/espresso/templates directory, Event Espresso hasn’t been fully updated. The template files in the uploads directory will override the core Event Espresso templates.

If you have modified templates in that location, they need to be updated to the new template files included with the current version of the plugin. If you haven’t made any modifications to the templates, these can be removed. If you are not sure if there were modifications made to these files, back these up or rename that folder just in case.


Roger

November 18, 2012 at 9:32 am

Josh,

That did the trick. And it appears that WP is correctly numbering the number of plugins to be updated again.

Unfortunately, the update took its toll on my EE formatting on the website. I think I have chased down the issues and made the necessary changes, some of which require slight modifications to the EE PHP files. I’ve also improved my documentation of the necessary hacks, so that I’ll be better able to handle future EE updates.

Thanks for your help.

The support post ‘Problems with update to 3.1.28.4 and Members Addon 1.9.5.1’ 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.

Do NOT follow this link or you will be banned from the site!
[i]
[i]