Skip to content

M2.3 : Trying to access array offset on value of type bool running on PHP 7.4

While opening the admin page, getting below exception running on Magento 2.3.5-p2.

1 exception(s):
Exception #0 (Exception): Notice: Trying to access array offset on value of type bool in /var/www/html/mage235/vendor/magento/module-logging/Model/Processor.php on line 221

Exception #0 (Exception): Notice: Trying to access array offset on value of type bool in /var/www/html/mage235/vendor/magento/module-logging/Model/Processor.php on line 221
<pre>#1 MagentoLoggingModelProcessor->initAction() called at [vendor/magento/module-logging/App/Action/Plugin/Log.php:66]
#2 MagentoLoggingAppActionPluginLog->beforeDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:121]

Refereed this one but its custom code so it un-related.