WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Extensions › Add Ingredients › Support › Internal server error when adding ingredients
- AuthorPosts
- 13 January, 2017 at 1:02 am #24695
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]
13 January, 2017 at 1:04 am #24706first 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
13 January, 2017 at 1:11 am #24707also the output of wppizza->tools : system info please (you can set that as a private reply if you wish )
13 January, 2017 at 1:30 pm #24718This reply has been marked as private.13 January, 2017 at 2:29 pm #24720This reply has been marked as private.13 January, 2017 at 2:30 pm #24721This reply has been marked as private.13 January, 2017 at 2:51 pm #24722actually, 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
dessertsetc 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)
13 January, 2017 at 3:04 pm #24724This reply has been marked as private.13 January, 2017 at 3:07 pm #24726This reply has been marked as private.13 January, 2017 at 3:13 pm #24727This reply has been marked as private.13 January, 2017 at 3:48 pm #24731This reply has been marked as private.13 January, 2017 at 4:03 pm #24732This reply has been marked as private.13 January, 2017 at 4:07 pm #24733This reply has been marked as private.13 January, 2017 at 5:11 pm #24734This reply has been marked as private.13 January, 2017 at 5:37 pm #24735so…..
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
13 January, 2017 at 5:42 pm #24736This reply has been marked as private.13 January, 2017 at 5:47 pm #24737wont 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)13 January, 2017 at 5:55 pm #24738This reply has been marked as private.13 January, 2017 at 6:06 pm #24739This reply has been marked as private.13 January, 2017 at 7:10 pm #24740ok, i believe add ingredients v5.0.1 fixes this now for php 7.1.x too
let me know either way pleasethanks
- AuthorPosts
- The topic ‘Internal server error when adding ingredients’ is closed to new replies.