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 7.0 - error with graph_svg.php (Array to string conversion in line 48) #29

Open
rcmcronny opened this issue Dec 7, 2015 · 0 comments

Comments

@rcmcronny
Copy link

No svg graphs are shown, after digging into it, the svg contains a notice like

Notice: Array to string conversion in $webroot/vnstat/graph_svg.php on line 48

so as a quick workaround, these changes to the config.php file are helping, as long as this is not fixed

-error_reporting(E_ALL | E_NOTICE);
+error_reporting(E_ALL & ~E_NOTICE);

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

1 participant