Twig error
-
Hello, I’m having a bit of trouble activating the plugin on a bone stock WordPress install. FontSampler is the only plugin installed using the default twenty twenty theme, WordPress v5.4.2, PHP v7.4.8, Nginx v1.18.0.
When the plugin is active it crashes the site with the following error message:
Fatal error: Uncaught Error: Class 'Twig_Loader_Filesystem' not found in /app/wp-content/plugins/fontsampler/fontsampler.php:56 Stack trace: #0 /app/wp-settings.php(371): include_once() #1 /app/wp-config.php(99): require_once('/app/wp-setting...') #2 /app/wp-load.php(37): require_once('/app/wp-config....') #3 /app/wp-blog-header.php(13): require_once('/app/wp-load.ph...') #4 /app/index.php(17): require('/app/wp-blog-he...') #5 {main} thrown in /app/wp-content/plugins/fontsampler/fontsampler.php on line 56
I suspect this is related to the url proxying that this plugin deploys to protect the fonts.
I also discovered that with the plugin enabled the Gutenberg block editor fails to update any posts/pages?
- The topic ‘Twig error’ is closed to new replies.