MariuszS Posted Monday at 03:14 PM Share Posted Monday at 03:14 PM After migrating the store to a new server, nothing is working. I enabled debug mode and encountered the following errors: Quote Warning: require(/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php): Failed to open stream: No such file or directory in /vendor/composer/autoload_real.php on line 45 Warning: require(/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php): Failed to open stream: No such file or directory in /vendor/composer/autoload_real.php on line 45 Fatal error: Uncaught Error: Failed opening required '/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php' (include_path='/vendor/pear/pear_exception:/vendor/pear/console_getopt:/vendor/pear/pear-core-minimal/src:/vendor/pear/archive_tar:.:/usr/local/share/pear') in /vendor/composer/autoload_real.php:45 Stack trace: #0 /vendor/composer/autoload_real.php(49): {closure}('3af723442581d6c...', '/usr/home/serwe...') #1 /vendor/autoload.php(25): ComposerAutoloaderInite611b55ee3df4836a87c1b9dc1f89454::getLoader() #2 /config/autoload.php(26): require_once('/usr/home/serwe...') #3 /config/config.inc.php(38): require_once('/usr/home/serwe...') #4 /back-office/index.php(40): require('/usr/home/serwe...') #5 {main} thrown in /vendor/composer/autoload_real.php on line 45 The `var/cache` folder has been cleared. Link to comment Share on other sites More sharing options...
juanrojas Posted Monday at 03:44 PM Share Posted Monday at 03:44 PM Hi, it would be helpful to know what changes you made on the new server to see if you did it correctly. Did you connect to the database? Are you using the same PHP version as your old server? Link to comment Share on other sites More sharing options...
El Patron Posted 9 hours ago Share Posted 9 hours ago Composer is trying to load markbaker/matrix file adjoint.php, but that file is not on the server.” So after the migration, your /vendor directory is incomplete or mismatched with the rest of the shop. Re-upload from your backup (most common) On your old server backup (or local copy), locate the shop root and the vendor folder. On your computer, ZIP or tar only the vendor directory so you don’t miss anything. Upload that ZIP to the new server (SFTP/FTP, or via your hosting file manager). Unzip it into the shop root, so you end up with: /vendor/composer/... /vendor/markbaker/matrix/classes/src/Functions/adjoint.php After that, clear cache manually on the new server: Delete everything inside /var/cache/ (keep the cache folder itself). Then reload the back office/front office and see if the error disappears. 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