mollie / laravel-mollie

Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite
https://www.mollie.com/
MIT License
326 stars 63 forks source link

ReflectionException: Class mollie.api does not exist in (Issue on live server, not on localhost) #162

Closed JortJacobs closed 3 years ago

JortJacobs commented 3 years ago

Expected Behavior

Mollie should work out of the box on my live server, as it does on my localhost test environment.

Current Behavior

I run into the following error: ERROR: ReflectionException: Class mollie.api does not exist in /home/deb114015/domains/examify.nl/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:752

Possible Solution

Might it be related to case sensitivity @ server? I am developing on Macbook, server is Linux (so both Unix based though).

Context

I am using mollie for payments.

Your Environment

JortJacobs commented 3 years ago

Solved it. The storage/framework/packages.php file was not updated yet on the server. Therefore, giving:

php artisan package:discover

did the job.