Whit print in adress field

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #14893

    Hi, i got a order today with a whit field in address textbox, there was noting at all, and on the print in the top there was this error

    Warning: Invalid argument supplied for foreach() in
    /home/cantinos2980/public:html/wp-content/plugin/wppizza/templates/wppizza-order-print.php on line 350

    See this picture http://screencast.com/t/MPB8O5MdKU

    Do you have any idea why this happens??

    Thanks

    #14908
    mps1
    Participant

      I received a few orders like that today too. This is how I fixed it.

      Go back into templates. Click on the pencil to make changes to it. Then in Customer Details put a checkmark into all the fields you want displayed. Hit Save.
      That’s it.

      #14909

      I dont have the “templates” menu, im using version 2.11.10

      #14910
      mps1
      Participant

        Well. That makes it more difficult. I guess wait for Olly to see how he can help you.

        Any specific reason why you haven’t updated? Latest version works great on my end.

        #14913
        Olly
        Admin & Mod

          sounds more like you are using an old mysql version perhaps ?!
          see requirements here
          https://wordpress.org/plugins/wppizza/

          #14915
          Olly
          Admin & Mod

            PS: your version is also 9 months old. i don’t update the plugins out of boredom but to improve or and/or fix things
            i would advise you to update the plugin (not withstanding what i have been saying about the mysql version above) as you *might* find your “problem” will magically disappear…

            #14926

            thanks
            mysql version is fine, i will update the plugin, the reason i haven’t done it is because i made many customization on it.

            but you cant tell me why it happen other then i should update??

            #14927
            Olly
            Admin & Mod

              i *can* tell you , that it could happen if you are using an old mysql version or of course if you did something in your customisation that could cause it (but i do not know anything about that of course)

              as – according to you – your mysql version is >=5.5 i can only assume that it’s something in your customisation as you are the only one reporting it…

              #15066
              Olly
              Admin & Mod

                actually, what just occurred to me is that – as your wppizza version is quite old – your db collation has probably not been updated either regardless off what mysql version you use.
                so that would probably be the issue

                see here
                https://www.wp-pizza.com/topic/error-sorry-we-could-not-find-this-order-2/
                as to what the db structure should be (especially all the utf8mb4_unicode_ci collation statements)

                MAKE A BACKUP before you change db tables !!

                #15071

                Ok thanks

              Viewing 10 posts - 1 through 10 (of 10 total)
              • The topic ‘Whit print in adress field’ is closed to new replies.