CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

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

Print topic Send  topic

Author Message

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

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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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