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

Backend preview cannot be rendered with PHP 8(.1) #176

Closed
TheNaderio opened this issue Feb 20, 2023 · 1 comment
Closed

Backend preview cannot be rendered with PHP 8(.1) #176

TheNaderio opened this issue Feb 20, 2023 · 1 comment

Comments

@TheNaderio
Copy link
Contributor

Version(s) affected:
2.0.6

Description
image

How to reproduce

  1. composer require hoogi91/charts --no-dev
  2. Create diagram data
  3. create chart content element (line, bar, ... doesn't care)
  4. open page in site-view

Possible Solution

Update code to be PHP >8 compatible

Additional context
If installed without --no-dev, the "spreadsheets" extension will be installed and you cannot even create the diagram-data record due to PHP 8 errors

@hoogi91
Copy link
Owner

hoogi91 commented Jun 21, 2023

Hey @TheNaderio,

thanks for your report. I updated the required PHP version in latest release 3.0.0 and also upgraded the code to be compatible with PHP >8.1.

Due to the fact that the issue was only visible when PHP's error reporting was considering deprecations I just fixed it for newer version. If you are already on TYPO3 v11 you should be able to simply upgrade to v3 of this library 😄

@hoogi91 hoogi91 closed this as completed Jun 21, 2023
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