I tried to upgrade my app from 5.1 to 5.2 & ran into some issues. I needed my app back in a working state so i re-uploaded the old version I had backed up on my system. However it is still not working as it was before and Im getting this error :
FatalErrorException in ProviderRepository.php line 146: Class 'Lavary\Menu\ServiceProvider' not found
the same error appears when trying to run any composer commands
$ composer update > php artisan clear-compiled [Symfony\Component\Debug\Exception\FatalThrowableError] Fatal error: Class 'Lavary\Menu\ServiceProvider' not found Script php artisan clear-compiled handling the pre-update-cmd event returned with an error [RuntimeException] Error Output: update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...