CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 re. - Invalid argument supplied for foreach() in Common.php (line 2505)

Print topic Send  topic

Author Message
ccsminer

Posts: 105
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.


View profile  Send private message
ccsminer

Posts: 105
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.