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

HorizontalStackedBarGraph example code throws an error #88

Open
miguel-porto opened this issue Jun 25, 2024 · 1 comment
Open

HorizontalStackedBarGraph example code throws an error #88

miguel-porto opened this issue Jun 25, 2024 · 1 comment

Comments

@miguel-porto
Copy link

Hi,
The example code here
https://www.goat1000.com/svggraph-source/horizontal2

throws the error:
Fatal error: Goat1000\SVGGraph\HorizontalBarGraph has colliding constructor definitions coming from traits in /var/www/html/SVGGraph-3.20.1/HorizontalBarGraph.php on line 27

PHP version: 5.5.9-1ubuntu4.29

@goat1000
Copy link
Owner

goat1000 commented Jul 1, 2024

I don't think there is an easy fix for this, apart from upgrading the version of PHP you are using or using a version of SVGGraph from when PHP5.5 was still well supported.

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

2 participants