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

PHP8? #4

Open
tbba opened this issue Jan 28, 2022 · 1 comment
Open

PHP8? #4

tbba opened this issue Jan 28, 2022 · 1 comment

Comments

@tbba
Copy link

tbba commented Jan 28, 2022

Maybe this is PHP 8.0x
PHP Warning: Uninitialized string offset 0 in .../AutoSmush/image-optimizer/vendor/composer/ClassLoader.php:317
PHP Warning: Uninitialized string offset 0 in .../AutoSmush/image-optimizer/vendor/composer/ClassLoader.php:349
....seen at a backend (page reference field edit) page

@matjazpotocnik
Copy link
Owner

Hi Carl! I'm on PHP 8.1 and don't see these warnings. I guess that $class is not an array in line 317 so there is no offset 0. Don't know why this happens.

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