• Resolved Niko

    (@nikocm)


    Greetings, there appears to be a Twig conflict relating to global Twig functions in the newest version of the SSA plugin which causes a fatal error with other Twig enabled plugins like Timber.

    [16-May-2024 09:51:17 UTC] PHP Fatal error: Cannot redeclare twig_cycle() (previously declared in /data/wordpress/htdocs/wp-content/plugins/simply-schedule-appointments/vendor/twig/twig/src/Resources/core.php:20) in /data/wordpress/htdocs/wp-content/plugins/timber-library/vendor/twig/twig/src/Extension/CoreExtension.php on line 327

    Fixing this would likely involve scoping the Twig plugin used by SSA using a namespace such as by using a Twig Scoper tool.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Cyn

    (@cyn92)

    Hello @nikocm, thanks for reaching out to us! We’re sorry to hear you ran into that fatal error. Could you please reach out to our support team at [email protected] for further troubleshooting and additional details?

    Plugin Support Natalie G

    (@nataliegarza011)

    Hello @nikocm,

    It doesn’t look like we received a message to continue troubleshooting through our support channels, in any case our team was able to review the conflict.

    It turns out the Timber plugin is using an older version of the Twig library than Simply Schedule Appointments. To get this resolved, please reach out to their team and request that they update their Twig library to 3.8.0 or higher.

    Please let us know if you have any questions, and feel free to contact us at [email protected] for further troubleshooting.
    Natalie G

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.