Internal server error when adding ingredients

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Add Ingredients Support Internal server error when adding ingredients

Viewing 20 posts - 1 through 20 (of 23 total)
  • Author
    Posts
  • #24695
    Sem Laerenbergh
    Participant

      Hi, when trying to add an ingredient on the frontend of my website I get an error message (internal server error). I’ve tried increasing PHP memory, but it still shows.

      Could you have a look at my debug.log please and point me in the right direction for solving this issue?

      
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Undefined index: myfixedside_disable_small_screen in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/mystickysidebar/mystickysidebar.php on line 204
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:05 UTC] PHP Notice:  Trying to get property of non-object in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza/classes/wppizza.actions.inc.php on line 2091
      [12-Jan-2017 14:45:26 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php:2586
      Stack trace:
      #0 /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza-add-ingredients/wppizza-addingredients.php(1918): require()
      #1 /customers/b/6/0/scalas.be/httpd.www/wp-includes/class-wp-hook.php(298): WPPIZZA_ADD_INGREDIENTS->wppizza_ingredients_json('')
      #2 /customers/b/6/0/scalas.be/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
      #3 /customers/b/6/0/scalas.be/httpd.www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
      #4 /customers/b/6/0/scalas.be/httpd.www/wp-admin/admin-ajax.php(91): do_action('wp_ajax_wppizza...')
      #5 {main}
      thrown in /customers/b/6/0/scalas.be/httpd.www/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 2586
      

      Thank you for your time.

      [edited by admin: please put code/logs etc in code tags]

      #24706
      Olly
      Admin & Mod

        first of all, i need the version numbers of wppizza and wppizza add ingredients you are using – and/or (preferably also ) a link to you site

        #24707
        Olly
        Admin & Mod

          also the output of wppizza->tools : system info please (you can set that as a private reply if you wish )

          #24718
          Sem Laerenbergh
          Participant
            This reply has been marked as private.
            #24720
            Olly
            Admin & Mod
              This reply has been marked as private.
              #24721
              Olly
              Admin & Mod
                This reply has been marked as private.
                #24722
                Olly
                Admin & Mod

                  actually, i believe (try that at least) i know where the problem is
                  you are using shortcode

                  [wppizza category=’!all,-pizza,-snacks,-desserts,-salades,-pasta,-speciale-aanbiedingen’]

                  however you have no categories
                  pizza
                  snacks
                  desserts

                  etc etc

                  (i can probably do something about accounting for this in an update , however, at th emoment you cannot exclude categories that do not exist)

                  #24724
                  Sem Laerenbergh
                  Participant
                    This reply has been marked as private.
                    #24726
                    Olly
                    Admin & Mod
                      This reply has been marked as private.
                      #24727
                      Olly
                      Admin & Mod
                        This reply has been marked as private.
                        #24731
                        Olly
                        Admin & Mod
                          This reply has been marked as private.
                          #24732
                          Sem Laerenbergh
                          Participant
                            This reply has been marked as private.
                            #24733
                            Olly
                            Admin & Mod
                              This reply has been marked as private.
                              #24734
                              Olly
                              Admin & Mod
                                This reply has been marked as private.
                                #24735
                                Olly
                                Admin & Mod

                                  so…..
                                  i just managed to upgrade to php 7.1 and now get the same error too
                                  will just need to find out why that could possibly be (and if there’s a way to fix this)

                                  will let you know when i know

                                  #24736
                                  Sem Laerenbergh
                                  Participant
                                    This reply has been marked as private.
                                    #24737
                                    Olly
                                    Admin & Mod

                                      wont need any testing your end. (most likely. not today anyway)
                                      i will try and fix this somehow and release an update which you can just do when it shows up in your plugin page (assuming you have the license activated)

                                      #24738
                                      Olly
                                      Admin & Mod
                                        This reply has been marked as private.
                                        #24739
                                        Olly
                                        Admin & Mod
                                          This reply has been marked as private.
                                          #24740
                                          Olly
                                          Admin & Mod

                                            ok, i believe add ingredients v5.0.1 fixes this now for php 7.1.x too
                                            let me know either way please

                                            thanks

                                          Viewing 20 posts - 1 through 20 (of 23 total)
                                          • The topic ‘Internal server error when adding ingredients’ is closed to new replies.