Support

Home Forums Event Espresso Premium Varning message at all events efter upgrade!

Varning message at all events efter upgrade!

Posted: October 24, 2013 at 12:34 am

Viewing 4 reply threads


JohannaSolid1

    October 24, 2013 at 12:34 am

    Hi, yesterday I upgraded to WP 3.6.1 and also EE to 3.1.35.2.P But after doing that all my events had a warning message at the top saying: Missing argument 2 for wpdb::prepare(), called in /home/s/solide/www/wordpress/wp-content/uploads/espresso/templates/registration_page.php on line 81 and defined in /home/s/solide/www/wordpress/wp-includes/wp-db.php on line 992
    Since I am not a developer and not very familiar with coding this is quiet a hard one for me to solve. We have some customized templates to show all events.
    As a temporary workaround I just google:ed how to hide the error message in class-wp-error.php but I know that won’t be a good solution. Can you please give me a tip of what to do?
    This is a link to one of the registration pages http://solide.se/event-registration/?ee=291

    Thanks a lot!


    Dean

    • Support Staff

    October 24, 2013 at 4:09 am

    Hi,

    It is a simple issue, you have modified templates in the uploads/espresso/templates directory which are now out of date.

    Due to the template structure changing in the Event Espresso to deal with some WordPress changes, you will need to update the modified templates.

    I find the best way to do this is to use an online Diff tool to compare the new default templates to the old default templates to see what has changed and to update your modified files accordingly.


    JohannaSolid1

      October 24, 2013 at 5:49 am

      Ok, thank you!
      I will try to do so!


      Dean

      • Support Staff

      October 24, 2013 at 6:00 am

      No problem, please let me know how you get on


      JohannaSolid1

        November 1, 2013 at 3:00 am

        I got som help with updating the templates, and now everything works just fine. You were right – there was a mismatch between old and new templates. Thanks a lot!

        Viewing 4 reply threads

        The support post ‘Varning message at all events efter upgrade!’ 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 - Staging Server