Closed totallyben closed 10 months ago
After upgrading to 2.19.0 we are seeing the error:
NOTICE: PHP message: PHP Fatal error: Uncaught ReflectionException: Cannot access non-public property Laminas\View\HelperPluginManager::$creationContext in /app/vendor/laminas/laminas-navigation/src/View/HelperConfig.php:159
The issue is related to $r->setAccessible(true); being removed from HelperConfig::getParentContainer() line 159.
$r->setAccessible(true);
HelperConfig::getParentContainer()
We are running php 8.0:
PHP 8.0.30 (cli) (built: Nov 1 2023 07:03:59) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.30, Copyright (c) Zend Technologies
Rolling back to the previous version or adding that line back in resolves the issue.
laminas/laminas-navigation:2.19.0 requires PHP 8.1.0 at minimum.
laminas/laminas-navigation:2.19.0
https://github.com/laminas/laminas-navigation/blob/478d487203a59588597233b3f62102121a060a0b/composer.json#L34
BC Break Report
Summary
After upgrading to 2.19.0 we are seeing the error:
The issue is related to
$r->setAccessible(true);
being removed fromHelperConfig::getParentContainer()
line 159.We are running php 8.0:
Rolling back to the previous version or adding that line back in resolves the issue.