PHP 7.0

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #34533
    n4dq4d
    Participant

      Hi Olly,

      Do all your plugins work with PHP 7?

      I’m only asking cause my web host wants to upgrade all serves to run on PHP 7.

      Thank you

      #34534
      n4dq4d
      Participant

        I’m currently running version 5.6.33

        #34554
        Olly
        Admin & Mod

          >Do all your plugins work with PHP 7?
          yup
          (provided you are using recent versions of course)

          #34599
          n4dq4d
          Participant

            Front page works fine. No issues in putting stuff in basket, deleting stuff, or choosing pick up/ delivery.

            I do get an error when I’m at the enter your address page. I’m using the postcode plugin and once I chose a postcode I get a error. Then I can not continue to next page.

            Once I revert back to PHP 5.6 it’s working again.

            All plugins are updated and activated with license. So I must have the latest plugins.

            #34600
            Olly
            Admin & Mod

              and the error you are getting would be ….?

              #34601
              n4dq4d
              Participant
                This reply has been marked as private.
                #34602
                n4dq4d
                Participant

                  I will revert it back to PHP 5.6 in a few minutes. Otherwise I won’t get any orders

                  #34603
                  Olly
                  Admin & Mod

                    you have a jquery 500 error you need to fix
                    look at your console

                    #34738
                    n4dq4d
                    Participant

                      Hi Olly,

                      I am really struggling to find the error since my JS skills a like zero. I have found this in the debug.log.

                      Can you point me in the right direction?

                      [03-Feb-2018 09:05:28 UTC] PHP Notice:  Undefined index: ctips in /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza/classes/class.wppizza.order.php on line 2189
                      [03-Feb-2018 09:05:50 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza/includes/global.validation.functions.inc.php:288
                      Stack trace:
                      #0 [internal function]: wppizza_sanitize_post_vars_recursive('', 'cname')
                      #1 /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza/includes/global.validation.functions.inc.php(274): array_walk_recursive(Array, 'wppizza_sanitiz...')
                      #2 /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza/classes/class.wppizza.sessions.php(1406): wppizza_sanitize_post_vars(Array)
                      #3 /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza-delivery-by-postcode/ajax/get-json.v3x.php(436): WPPIZZA_SESSIONS->set_userdata(Array)
                      #4 /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza-delivery-by-postcode/v3x.php(1609): require('/home/qadardk/p...')
                      #5 /home/qadardk/public_html/idegrill.dk/wp-includes/class-wp-hook.php(286): WPPIZZA_DBP->wppizza_dbp_json('')
                      #6 /home/qadardk/public_html/idegrill.dk/ in /home/qadardk/public_html/idegrill.dk/wp-content/plugins/wppizza/includes/global.validation.functions.inc.php on line 288
                      #34775
                      Olly
                      Admin & Mod

                        your problem is here :

                        PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding()

                        you must enable/install mbstring in your php (and unless you updated from a v2.x version of wppizza, or you moved things to a new host as it is, or you upgraded php without also enabling the same php extensions that were enabled in the previous php version (which seems to be the case here from what i can see) , you really should have received an error/warning to that effect)

                        you should ask you host to enable/install it

                        #34776
                        n4dq4d
                        Participant

                          Good evening Olly,

                          PHP 5,6 mbsting was activated.
                          When i changed to PHP 7 mbstring was uncheked. After i activated mbstring under PHP 7 it is working.

                          Thank you so much!

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • The topic ‘PHP 7.0’ is closed to new replies.