SIERRA Posted May 30 Share Posted May 30 Hi, We have a vendor folder in our project root directory. However, when we try to call the vendor/autoload.php file from the template file, we encounter the following error on the site: PHP Fatal error: Cannot declare class ComposerAutoloaderInit9249ca7144adea638e43f1ea4a5d11c5, because the name is already in use in C:\wamp64\www\ticf\site\assets\cache\FileCompiler\vendor\composer\autoload_real.php on line 5 please suggest how to fix this Link to comment Share on other sites More sharing options...
dynweb Posted May 30 Share Posted May 30 If the file vendor/autoload.php exists, it will be called automatically by ProcessWire's index.php. No need to call it manually. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now