Hi everyone ,
I have some difficulty requiring a php file from another folder…
I am trying to access a php file in the vendor folder from my plugin folder.
Here is my folder structure
kirby/ panel/ site/ /plugins/ /storage/ storage.php (From here, I require the autoload.php in the vendor folder) vendor/ autoload.php
Here is how i’m trying to require the file:
require_once __DIR__ . '/vendor/autoload.php';
I keep getting this error :
require_once(): Failed opening required …. (include_path=’.:/Applications/MAMP/bin/php/php7.2.1/lib/php:’)
I haven’t changed anything in my .htaccess or php.ini.
Has someone ever see this kind of error?