farhanwazir / laravelgooglemaps

Laravel Google Maps Package
MIT License
152 stars 112 forks source link

Class 'FarhanWazir\GoogleMaps\GmapsServiceProvider' not found #42

Open pramodbhandari68 opened 4 years ago

pramodbhandari68 commented 4 years ago

I am getting such type of error everything is all right i have done all the things in the documentation. It works in windows local Xaamp server but dont work in linux server in production ... please can you fix it... Class 'FarhanWazir\GoogleMaps\GmapsServiceProvider' not found

in Application.php line 612 at Application->resolveProvider('FarhanWazir\GoogleMaps\GmapsServiceProvider')in Application.php line 570 at Application->register('FarhanWazir\GoogleMaps\GmapsServiceProvider')in ProviderRepository.php line 75 at ProviderRepository->load(array('Illuminate\Auth\AuthServiceProvider', 'Illuminate\Broadcasting\BroadcastServiceProvider', 'Illuminate\Bus\BusServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Foundation\Providers\FoundationServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Notifications\NotificationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Pipeline\PipelineServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Passwords\PasswordResetServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Laravel\Tinker\TinkerServiceProvider', 'Tymon\JWTAuth\Providers\JWTAuthServiceProvider', 'App\Providers\AppServiceProvider', 'App\Providers\AuthServiceProvider', 'App\Providers\EventServiceProvider', 'App\Providers\RouteServiceProvider', 'Intervention\Image\ImageServiceProvider', 'FarhanWazir\GoogleMaps\GmapsServiceProvider'))

farhanwazir commented 4 years ago

Which php version are you using?

On Wed, Nov 13, 2019, 16:18 pramodbhandari68, notifications@github.com wrote:

I am getting such type of error everything is all right i have done all the things in the documentation. It works in windows local Xaamp server but dont work in linux server in production ... please can you fix it... Class 'FarhanWazir\GoogleMaps\GmapsServiceProvider' not found

in Application.php line 612 at Application->resolveProvider('FarhanWazir\GoogleMaps\GmapsServiceProvider')in Application.php line 570 at Application->register('FarhanWazir\GoogleMaps\GmapsServiceProvider')in ProviderRepository.php line 75 at ProviderRepository->load(array('Illuminate\Auth\AuthServiceProvider', 'Illuminate\Broadcasting\BroadcastServiceProvider', 'Illuminate\Bus\BusServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Foundation\Providers\FoundationServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Notifications\NotificationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Pipeline\PipelineServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Passwords\PasswordResetServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Laravel\Tinker\TinkerServiceProvider', 'Tymon\JWTAuth\Providers\JWTAuthServiceProvider', 'App\Providers\AppServiceProvider', 'App\Providers\AuthServiceProvider', 'App\Providers\EventServiceProvider', 'App\Providers\RouteServiceProvider', 'Intervention\Image\ImageServiceProvider', 'FarhanWazir\GoogleMaps\GmapsServiceProvider'))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/farhanwazir/laravelgooglemaps/issues/42?email_source=notifications&email_token=AAB3BIJUF3JCP4VJKA5OQRLQTPO6XA5CNFSM4JMZN272YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HY7GSKA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3BIKUXE6FYXB545DHTSDQTPO6XANCNFSM4JMZN27Q .

karima-hussein commented 4 years ago

Hi, I'm getting the same issue. I'm using php +7