Shield Conflict with WPML – Twig
-
Hello,
We’re using your plugin since a lot of time already and today I wanted to enter to Shield Dashboard and Settings, but I got a blank page where the plugin dashboard should be.I went to the error_log file and discovered that there is an incompatibility with “WPML” language plugin, beause that plugin uses Twig as you.
These are the error lines:
—————–
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare class Twig_Environment, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Environment.php on line 1647
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare interface Twig_LoaderInterface, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Loader/LoaderInterface.php on line 61
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare interface Twig_ExistsLoaderInterface, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Loader/ExistsLoaderInterface.php on line 33
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare interface Twig_SourceContextLoaderInterface, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Loader/SourceContextLoaderInterface.php on line 38
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare class Twig_Loader_Filesystem, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 303
[17-Apr-2019 10:36:16 UTC] PHP 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
[17-Apr-2019 10:36:16 UTC] PHP Warning: Cannot declare class Twig_Cache_Null, because the name is already in use in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Cache/NullCache.php on line 42
[17-Apr-2019 10:36:16 UTC] PHP Fatal error: Cannot redeclare twig_array_batch() (previously declared in /wp-content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Extension/Core.php:1557) in /wp-content/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Extension/CoreExtension.php on line 1650
—————–Please fix that as soon as possible, otherwise we cannot use your plugin on the sites we create for our clients and we use the PRO versions there. Also WPML is widely used, so that would limit your sales as well.
This is not a personal support question, because it affects all the community using your plugin and WPML and we wanted just to inform you.
If you need any other info, please ask.Thank you very much and have a great day!
Best regards,
Jean
- The topic ‘Shield Conflict with WPML – Twig’ is closed to new replies.