You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there special considerations that need to made with installing sugar when Timber is installed through Composer? Currently when installing it and trying to execute the dummy function I get an error:
Uncaught Error: Class 'Twig_Filter_Function' not found in /wp-content/plugins/sugar/timber-sugar.php
I've installed Sugar within a different instance where Timber is installed as a WordPress plugin instead and everything seems to function without any issue.
The text was updated successfully, but these errors were encountered:
I did rework the plugin to use the following, but this won't work when Timber is installed as a WordPress library, just when it's installed via Composer.
Are there special considerations that need to made with installing sugar when Timber is installed through Composer? Currently when installing it and trying to execute the dummy function I get an error:
I'm loading Timber within the functions.php exactly as defined on https://timber.github.io/docs/getting-started/setup/#via-github-for-developers.
I've installed Sugar within a different instance where Timber is installed as a WordPress plugin instead and everything seems to function without any issue.
The text was updated successfully, but these errors were encountered: