PDA

View Full Version : PHP Warning: Invalid argument supplied for foreach()



joeyprimo
04-10-2016, 08:29 AM
Seeing the following error in my logs:

PHP Warning: Invalid argument supplied for foreach() in /public_html/components/com_mrsk/views/schedule/tmpl/default.php on line 164

It's not giving an error in my browser but my error_log file keeps getting hit with it.

nikos
07-10-2016, 05:59 PM
Hello,

did you make any changes to php version recently;

this error is regular or it happens only some times;

Nikos

joeyprimo
08-10-2016, 07:30 AM
no, no changes. and its showing up a lot in my logs.

nikos
19-10-2016, 11:34 AM
Can you post some lines of your log files?

joeyprimo
21-10-2016, 10:11 AM
[14-Oct-2016 04:37:43 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/sensi/public_html/components/com_mrsk/views/schedule/tmpl/default.php on line 164
[14-Oct-2016 04:37:43 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/sensi/public_html/components/com_mrsk/views/schedule/tmpl/default.php on line 164
[14-Oct-2016 04:37:43 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/sensi/public_html/components/com_mrsk/views/schedule/tmpl/default.php on line 164
[14-Oct-2016 04:37:43 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /home/sensi/public_html/components/com_mrsk/views/schedule/tmpl/default.php on line 164