Newrelic + PHP 8.1 + ZF = E_WARNING
fshsyno opened this issue · 1 comments
fshsyno commented
Description
I don't know if you can do anything but the latest version of newrelic agent (10.18.0.8) throws errors on every page load with zf1.
Warning : "Trying to access array offset on value of type bool"
in DefaultController::postDispatch called at vendor/shardj/zf1-future/library/Zend/Controller/Action.php (521)
in Zend_Controller_Action::dispatch called at vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php (308)
in Zend_Controller_Dispatcher_Standard::dispatch called at vendor/shardj/zf1-future/library/Zend/Controller/Front.php (954)
Steps to Reproduce
- install newrelic agent
- test zf1
Expected Behavior
- no warning
Relevant Logs / Console output
no
Your Environment
Zf1-future : 1.24
PHP 8.1.2
Ubuntu 22
Additional context
- newrelic suggests to upgrade to PHP 8.2 ( newrelic/newrelic-php-agent#845 )
develart-projects commented
Is there any way how to reproduce this without installing any 3rd party agent?