Support

Home Forums Event Espresso Premium Warning appearing since updating to latest Event Espresso

Warning appearing since updating to latest Event Espresso

Posted: October 11, 2012 at 11:24 pm

Viewing 10 reply threads


Ingrid Schroder

    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


    Dean

    • Support Staff

    October 12, 2012 at 1:09 am

    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.


    Ingrid Schroder

      October 12, 2012 at 1:15 am

      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?


      Ingrid Schroder

        October 12, 2012 at 1:27 am

        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??


        Dean

        • Support Staff

        October 12, 2012 at 2:08 am

        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


        popaihq

          October 30, 2012 at 8:53 am

          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?


          Josh

            October 30, 2012 at 9:59 am

            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.


            popaihq

              October 30, 2012 at 2:54 pm

              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


              popaihq

                November 1, 2012 at 8:38 am

                Just wondering if you had any other thoughts or solutions on this?


                Josh

                  November 1, 2012 at 9:05 am

                  Hi Gregory,

                  Can you double check this one:

                  Warning: Missing argument 2 for event_espresso_price_dropdown(), called in /home/popaic5/public_html/registration_page_display.php
                  

                  registration_page_display.php should not be loading from the root level directory.


                  popaihq

                    November 1, 2012 at 9:18 am

                    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

                    Viewing 10 reply threads

                    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.

                    Event Espresso - Staging Server