Plugin Conflict with Twig registration
-
It appears that your plugin may not be checking if the twig library is loaded by another plugin before loading it. throwing fatal errors when I have your plugin activated
Warning: Cannot declare interface Twig_CacheInterface, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Cache/CacheInterface.php on line 60
Fatal error: Uncaught TypeError: Argument 1 passed to Twig\Lexer::__construct() must be an instance of Twig\Environment, instance of Twig_Environment given, called in /wp-content/plugins/gallery-by-supsystic/vendor/Twig/Environment.php on line 650 and defined in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Lexer.php:56 Stack trace: #0 /wp-content/plugins/gallery-by-supsystic/vendor/Twig/Environment.php(650): Twig\Lexer->__construct(Object(Twig_Environment)) #1 /wp-content/plugins/gallery-by-supsystic/vendor/Twig/Environment.php(750): Twig_Environment->tokenize(Object(Twig\Source)) #2 /wp-content/plugins/gallery-by-supsystic/vendor/Twig/Environment.php(447): Twig_Environment->compileSource(Object(Twig\Source)) #3 /wp-content/plugins/gallery-by-supsystic/vendor/Twig/Environment.php(362): Twig_Environment->loadTemplate(‘snipp in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Lexer.php on line 56
There has been a critical error on your website. Please check your site admin email inbox for instructions.
The topic ‘Plugin Conflict with Twig registration’ is closed to new replies.