ccsminer
Posts: 159
|
Posted: 12/10/2015, 11:36 PM |
|
This error occurs when using PHP 5.2.13 . . . :
"Invalid argument supplied for foreach() in Common.php on line 2505"
Here's the PHP code line causing the error . . .
foreach(glob($chart_filenames) as $chart_filename) <== (This worked fine in prior 4.x versions of PHP)
{
...
}
Any ideas on what may be causing this error would be appreciated.
|
|
|
ccsminer
Posts: 159
|
Posted: 12/11/2015, 10:48 AM |
|
This has been resolved.
If no files are found - using glob($chart_filenames) - then this warning message (not error) is displayed.
|
|
|
|