TypeError: Argument 2 passed to Magento\PageBuilder\Plugin\Filter\TemplatePlugin::afterFilter() must be of the type string, null given, called in /var/www/html/falcon/vendor/magento/framework/Interception/Interceptor.php on line 146 and defined in /var/www/html/falcon/vendor/magento/module-page-builder/Plugin/Filter/TemplatePlugin.php:42 Stack trace: #0 /var/www/html/falcon/vendor/magento/framework/Interception/Interceptor.php(146):

Facing this error on the product detail page. How can I solve it?

1 Answer 1


You are probably using a custom module on the product detail page. Please disable all custom modules on the product page and try again. This will make it easier for you to determine the cause of the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.