Open georgedm06 opened 2 months ago
@tiagosampaio do you have any updates regarding this? Our client encountered the same issue
Hey, @georgedm06 and @todorovj. Thank you for opening this issue. The good news is that release 1.0.1
should fix this problem and is already available for you to download it and test it.
Please let me know if it works so I can close this issue.
Thanks, -Tiago
After installing the module and attempting to access the admin I received the following error.
TypeError: explode(): Argument #2 ($string) must be of type string, null given in /var/www/html/vendor/magedin/module-trojan-request-blocker/Model/Config.php:67 Stack trace:
0 /var/www/html/vendor/magedin/module-trojan-request-blocker/Model/Config.php(67): explode()
1 /var/www/html/vendor/magedin/module-trojan-request-blocker/Service/Patterns/ConfigPatterns.php(43): MagedIn\TrojanRequestBlocker\Model\Config->getAdditionalPatterns()
2 /var/www/html/vendor/magedin/module-trojan-request-blocker/Service/PatternsLoader.php(63): MagedIn\TrojanRequestBlocker\Service\Patterns\ConfigPatterns->load()
3 /var/www/html/vendor/magedin/module-trojan-request-blocker/Service/Validator/PostRequest.php(70): MagedIn\TrojanRequestBlocker\Service\PatternsLoader->load()
4 /var/www/html/vendor/magedin/module-trojan-request-blocker/Service/Validator/PostRequest.php(52): MagedIn\TrojanRequestBlocker\Service\Validator\PostRequest->doValidatePostData()
5 /var/www/html/vendor/magedin/module-trojan-request-blocker/Plugin/ValidateTrojanPostRequest.php(64): MagedIn\TrojanRequestBlocker\Service\Validator\PostRequest->validate()
6 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): MagedIn\TrojanRequestBlocker\Plugin\ValidateTrojanPostRequest->beforeDispatch()
7 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
8 /var/www/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins()
9 /var/www/html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch()
10 /var/www/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()
11 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
12 {main}