Your software
My PHP version is : 7.4
My MySQL/MariaDB version is (delete as applicable): MySQL
Updating/Installing Errors
I am (delete as applicable): Updating
Upgrading/installing via (delete as applicable) : Command Line
These errors are showing in the installer : None
These errors are showing in the Mautic log : This is the error when I try to run console command:
PHP Warning: require_once(/home/mauticuser/webapps/mautic/bin/…/app/autoload.php): failed to open stream: No such file or directory in /home/mauticuser/webapps/mautic/bin/console on line 21
PHP Fatal error: require_once(): Failed opening required ‘/home/mauticuser/webapps/mautic/bin/…/app/autoload.php’ (include_path=’.:’) in /home/mauticuser/webapps/mautic/bin/console on line 21
Your problem
My problem is :
That I changed to composer and now mautic is in
/home/mauticuser/webapps/mautic/docroot/ and it seems like mautic doesn’t understand that it needs to load the autoload.php file from /home/mauticuser/webapps/mautic/docroot/
Steps I have tried to fix the problem :
I’ve contacted server manager, but I cannot change the root directory, it’s not possible.