You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been a few reports of fatal errors since the last release 1.98.0
PHP Warning: require_once(/var/www/html/web/wp-content/plugins/google-site-kit/third-party/vendor/composer/InstalledVersions.php): Failed to open stream: No such file or directory in /var/www/html/web/wp-content/plugins/google-site-kit/includes/loader.php on line 34
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/web/wp-content/plugins/google-site-kit/third-party/vendor/composer/InstalledVersions.php' (include_path='.:/usr/share/php') in /var/www/html/web/wp-content/plugins/google-site-kit/includes/loader.php:34
The initial guard which prevented this from happening used the required class name to only load Site Kit classes by checking the full class name. This had to be removed in #1146 when certain vendor-provided polyfill classes also needed to be autoloaded. Ultimately, the problem is that a non-existent class is attempted to be required.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
The Site Kit autoloader should not throw any errors due to non-existent files or classes
Bug Description
There have been a few reports of fatal errors since the last release 1.98.0
This dates back to a change made in #3830 which was later undone in #1146.
The initial guard which prevented this from happening used the required class name to only load Site Kit classes by checking the full class name. This had to be removed in #1146 when certain vendor-provided polyfill classes also needed to be autoloaded. Ultimately, the problem is that a non-existent class is attempted to be required.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Test Coverage
QA Brief
develop
Changelog entry
The text was updated successfully, but these errors were encountered: