Laravelshoppingcart: Problem with Laravel 5.4

Created on 30 Jan 2017  路  2Comments  路  Source: Crinsane/LaravelShoppingcart

Hi, I've just updated Laravel to 5.4 & getting following error while adding Gloudemans\Shoppingcart\ShoppingcartServiceProvider::class,
to config/app.php file.

FatalThrowableError in ShoppingcartServiceProvider.php line 14: Call to undefined method Illuminate\Foundation\Application::share()
Let me know if there's a quick fix?

Most helpful comment

I've updated "LaravelShoppingCart" to 2.3 & it seems to be working fine now.
Thanks.

All 2 comments

I've updated "LaravelShoppingCart" to 2.3 & it seems to be working fine now.
Thanks.

Thank you so much, this post helped a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shahin7511 picture shahin7511  路  8Comments

lagask picture lagask  路  8Comments

Valonix picture Valonix  路  7Comments

ChrisThompsonTLDR picture ChrisThompsonTLDR  路  5Comments

morganchorlton3 picture morganchorlton3  路  3Comments