Categories
CMS Magento Mastering Development

Need help with cloudflare module for magento 2.3

I am trying to install Control for CloudFlare® – Magento 2 extension by FireBear. I have already run the command:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

I have also cleared the cache.

But when I clicked the extension config page in the Magento admin area. The page went blank. So I enabled the error reporting.
The error is thrown:

Fatal error: Uncaught Error: Call to a member function getValue() on null in /public_html/app/code/Firebear/CloudFlare/Helper/Config.php:333 
Stack trace: #0 /public_html/app/code/Firebear/CloudFlare/Helper/Config.php(104): Firebear\CloudFlare\Helper\Config->initIntern() 
#1 /public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Firebear\CloudFlare\Helper\Config->__construct(Object(Magento\Framework\App\Helper\Context), Object(Magento\Framework\Message\Manager), Object(Magento\Config\Model\ResourceModel\Config), Object(Magento\Framework\Json\Helper\Data), Object(Magento\Store\Model\StoreManager), Object(Magento\Framework\Config\Scope), Object(Firebear\CloudFlare\Helper\Scope), Object(Magento\Config\Model\Config\Factory)) 
#2 /public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Firebear\\CloudF...', Array) 
#3 /public_html/v in /public_html/app/code/Firebear/CloudFlare/Helper/Config.php on line 333

Please help me to solve this. I have beginer level knowledge.
Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *