laravel-translations-db
laravel-translations-db copied to clipboard
Laravel upgrade 5.4 giving abstract method error
Hello,
hpolthof/laravel-translations-db version used - 0.5.0 Laravel - 5.3
While upgrading laravel from 5.3 to 5.4, it is giving following error
PHP Fatal error: Class Hpolthof\Translation\DatabaseLoader contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Translation\LoaderInterface::namespaces) in /vendor/hpolthof/laravel-translations-db/src/DatabaseLoader.php on line 6
[Symfony\Component\Debug\Exception\FatalErrorException]
Class Hpolthof\Translation\DatabaseLoader contains 1 abstract method and mu
st therefore be declared abstract or implement the remaining methods (Illum
inate\Translation\LoaderInterface::namespaces)
May I know the fix for it? Also, need fix for laravel 5.5 upgrade.
Thanks.
i m getting this error in cmd
Class Hpolthof\Translation\DatabaseLoader contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Translation\LoaderInterface::namespaces)
When i run this command php artisan vendor:publish --provider='Hpolthof\Translation\ServiceProvider'