Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel upgrade 5.4 giving abstract method error #25

Open
shruti-ranium opened this issue Sep 8, 2017 · 1 comment
Open

Laravel upgrade 5.4 giving abstract method error #25

shruti-ranium opened this issue Sep 8, 2017 · 1 comment

Comments

@shruti-ranium
Copy link

shruti-ranium commented Sep 8, 2017

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.

@sfdsfdsfdesfdsghefasefs

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants