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

[BUGFIX] Avoid undefined array key when using an offline workspace #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brotkrueml
Copy link

The following error is thrown with PHP 8 when accessing the page properties in an offline workspace:

PHP Warning: Trying to access array offset on value of type bool in /var/www/html/vendor/haassie/page-speed-insights/Classes/Utility/PageSpeedInsightsUtility.php line 190

Additionally, a superfluous call in method getLastScore() has been removed as the variables are not used.

The following error is thrown with PHP 8 when accessing the page properties
in an offline workspace:

    PHP Warning: Trying to access array offset on value of type bool in /var/www/html/vendor/haassie/page-speed-insights/Classes/Utility/PageSpeedInsightsUtility.php line 190

Additionally, a superfluous call in method getLastScore() has been removed
as the variables are not used.
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

Successfully merging this pull request may close these issues.

1 participant