WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Invalid argument supplied for foreach
- AuthorPosts
- 31 August, 2017 at 1:46 am #30356
So I just installed the newest version on a multisite and network activated it, it’s tossing up these errors on each sites dashboard. Once I hit refresh and it takes me to the dashboard and seems to be fine. Havent seen any issues other than the warnings once I get back to the dashboard, the demo data is in there and I can add new items etc so it seems to be working. Just thought you should know. Thanks.
Warning: Invalid argument supplied for foreach() in /home/templatespolk/public_html/wp-content/plugins/wppizza/classes/class.wppizza.order.php on line 1487
Warning: mktime() expects parameter 1 to be long, string given in /home/templatespolk/public_html/wp-content/plugins/wppizza/includes/global.formatting.functions.inc.php on line 311
Warning: mktime() expects parameter 1 to be long, string given in /home/templatespolk/public_html/wp-content/plugins/wppizza/includes/global.formatting.functions.inc.php on line 312
Warning: mktime() expects parameter 1 to be long, string given in /home/templatespolk/public_html/wp-content/plugins/wppizza/includes/global.formatting.functions.inc.php on line 311
Warning: mktime() expects parameter 1 to be long, string given in /home/templatespolk/public_html/wp-content/plugins/wppizza/includes/global.formatting.functions.inc.php on line 312
Warning: Cannot use a scalar value as an array in /home/templatespolk/public_html/wp-content/plugins/wppizza/classes/class.wppizza.helpers.php on line 128
Warning: Cannot use a scalar value as an array in /home/templatespolk/public_html/wp-content/plugins/wppizza/classes/class.wppizza.helpers.php on line 130
Warning: Invalid argument supplied for foreach() in /home/templatespolk/public_html/wp-content/plugins/wppizza/classes/class.wppizza.helpers.php on line 134
A term with the name provided already exists with this parent.A term with the name provided already exists with this parent.A term with the name provided already exists with this parent.
Warning: Cannot modify header information – headers already sent by (output started at /home/templatespolk/public_html/wp-content/plugins/wppizza/classes/class.wppizza.order.php:1487) in /home/templatespolk/public_html/wp-includes/pluggable.php on line 121031 August, 2017 at 8:43 am #30360what version of php please
31 August, 2017 at 8:45 am #30361i’d also suggest you do not output errors/warnings/notices but log them instead
http://docs.wp-pizza.com/troubleshooting/
just generally speaking.of course i will see what i can do about those warning but most of these seem to be related to a particular version of php perhaps – hence the question
31 August, 2017 at 6:51 pm #30380it’s 5.6
31 August, 2017 at 7:29 pm #30382ok, thanks
- AuthorPosts
- The topic ‘Invalid argument supplied for foreach’ is closed to new replies.