Skip to content
Advertisement

Tag: autoload

PHP Composer Can’t find autoloaded file

I am trying to autoload a file and my PSR-4 autoloading worked fine locally however now that I am deploying to a baremetal server. It is not working and PHP states that it can’t find the autoloaded file. This is the current error: Fatal error: Class ‘MetabaseModelsCron’ not found in /usr/www/users/metabase/src/commands/ArticleFetchCron.php on line 25 My composer.json is as follows: The

Advertisement