Slim Application Error

The application could not run because of the following error:

Details

Type: Twig_Error_Loader
Message: Unable to find template "error/404.twig" (looked into: /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/templates).
File: /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/twig/twig/lib/Twig/Loader/Filesystem.php
Line: 215

Trace

#0 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('error/404.twig')
#1 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/twig/twig/lib/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('error/404.twig')
#2 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/twig/twig/lib/Twig/Environment.php(378): Twig_Environment->getTemplateClass('error/404.twig', NULL)
#3 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/twig-view/src/Twig.php(91): Twig_Environment->loadTemplate('error/404.twig')
#4 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/twig-view/src/Twig.php(105): Slim\Views\Twig->fetch('error/404.twig', Array)
#5 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/index.php(77): Slim\Views\Twig->render(Object(Slim\Http\Response), 'error/404.twig', Array)
#6 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/App.php(454): {closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/app/routes/hook_routes.php(14): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#9 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/DeferredCallable.php(37): call_user_func_array(Object(Closure), Array)
#10 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#11 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#12 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/app/routes/hook_routes.php(21): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#14 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/DeferredCallable.php(37): call_user_func_array(Object(Closure), Array)
#15 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#16 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#17 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(116): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#18 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/App.php(335): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/vendor/slim/slim/Slim/App.php(296): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 /home/httpd/vhosts/xing-yuan.com.tw/httpdocs/index.php(143): Slim\App->run()
#21 {main}