Skip to content

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

Open
brotkrueml wants to merge 1 commit into
haassie:masterfrom
brotkrueml:workspaces-undef-array-key
Open

[BUGFIX] Avoid undefined array key when using an offline workspace#29
brotkrueml wants to merge 1 commit into
haassie:masterfrom
brotkrueml:workspaces-undef-array-key

Conversation

@brotkrueml

Copy link
Copy Markdown

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