Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warnings in apache logs #19

Open
ghost opened this issue Jul 19, 2011 · 0 comments
Open

PHP Warnings in apache logs #19

ghost opened this issue Jul 19, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 19, 2011

While checking dedicated php_error.log, I've found that it full of php warnings coming from Phychostats. Examples:
[19-Jul-2011 06:38:44] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:38:48] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:38:51] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:40:49] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:43:34] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:43:34] PHP Warning: Invalid argument supplied for foreach() in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 325
[19-Jul-2011 06:44:00] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:44:00] PHP Warning: Invalid argument supplied for foreach() in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 325
[19-Jul-2011 06:44:24] PHP Warning: urlencode() expects parameter 1 to be string, array given in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 180
[19-Jul-2011 06:44:24] PHP Warning: Invalid argument supplied for foreach() in /users/home/cs-iptcom-net/stats/includes/ofc/open-flash-chart.php on line 325
In every day logs there are several hundreds such errors, can you provide fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants