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

(This post was last modified: 11-19-2020, 05:07 PM by InsiteFX.)

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
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: What causes the “Twig_Environment not found” error? - by InsiteFX - 11-19-2020, 05:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB