PHP Fatal Error using msdyncrm_twig shortcode
-
Hello,
I tried to use the following shortcode in a page :
[msdyncrm_twig]
{% form entity=”lead” name=”WEB_contact” mode=”create”?%}{% endform?%}
[/msdyncrm_twig]I get the following PHP error :
PHP Fatal error: Declaration of AlexaCRM\WordpressCRM\Cache\TwigCache::generateKey(string $name, string $className): string must be compatible with Twig\Cache\FilesystemCache::generateKey($name, $className) in [XXX]/wp-content/plugins/integration-dynamics/src/Cache/TwigCache.php on line 34
I commented the Alexa TwigCache generateKey function so the code uses the super class function instead and it works, is there a bug or did I configure something wrong ?
The diffenrence I see is that the Alexa implementation generates a key finishing by “html” instead of “php” in the Twig original version
Have a nice day.
- The topic ‘PHP Fatal Error using msdyncrm_twig shortcode’ is closed to new replies.