新工作的第一天
继承了使用Twig的项目
我正在运行本地实例(不确定如何运行)
但是登台环境因以下错误而崩溃:
Fatal error: Uncaught Twig_Error_Loader: Unable to find template "pb/.twig" (looked into: /var/www/staging.jamesandrose.co.uk/web/app/themes/_soap, /var/www/staging.jamesandrose.co.uk/web/app/themes/_soap/views, /var/www/staging.jamesandrose.co.uk/web/app/themes/_soap/inc/soap/Toolkit/Wordpress/Timber/Locations/../../Twig/Templates, ) in "pb.twig" at line 4. in /var/www/staging.jamesandrose.co.uk/web/app/mu-plugins/timber-library/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232
Stack trace:
#0 /var/www/staging.jamesandrose.co.uk/web/app/mu-plugins/timber-library/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): Twig_Loader_Filesystem->findTemplate('pb/.twig')
#1 /var/www/staging.jamesandrose.co.uk/web/app/mu-plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php(329): Twig_Loader_Filesystem->getCacheKey('pb/.twig')
#2 /var/www/staging.jamesandrose.co.uk/web/app/mu-plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php(419): Twig_Environment->getTemplateClass('pb/.twig')
#3 /var/www/staging.james in /var/www/staging.jamesandrose.co.uk/web/app/mu-plugins/timber-library/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232
我不知道这些东西是什么意思。
即使是最小的输入也将不胜感激。