amteich / kirby-twig

Twig templating support for Kirby CMS
MIT License
48 stars 12 forks source link

PHP Fatal error: require_once(): Failed opening required '[...]/vendor/autoload.php' #3

Closed bdecarne closed 5 years ago

bdecarne commented 5 years ago

Hi there !

I'm trying to use this plugin in a composer install of Kirby.

I ran composer require mgfagency/kirby-twig in the root folder of the project. Plugin has been installed into the site/plugins directory, and vendors in the global vendor directory.

Know I get this error : PHP Fatal error: require_once(): Failed opening required '[...]/vendor/autoload.php'

The require line in the index.php does not seem to be necessary

seehat commented 5 years ago

Hi bdecarne, I will have a look tomorrow and prepare the plugin for the different installation methods.

seehat commented 5 years ago

This should be fixed in 1.0.7