Welcome Guest, Not a member yet? Register   Sign In
What causes the “Twig_Environment not found” error?
#3

(11-19-2020, 05:05 PM)InsiteFX Wrote: The library should be installed in the ThridParty folder.

Then in you controller.

PHP Code:
// If you don't use Composer, uncomment below
/*
require_once APPPATH . 'third_party/Twig-1.xx.x/lib/Twig/Autoloader.php';
Twig_Autoloader::register();
*/ 

Are you doing that?

Twig for Developers

Yes, I already did all that.
Reply


Messages In This Thread
RE: What causes the “Twig_Environment not found” error? - by Ajax30 - 11-20-2020, 01:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB