Crinsane / LaravelShoppingcart

A simple shopping cart implementation for Laravel
MIT License
3.67k stars 1.73k forks source link

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade' #605

Open Greatlegend12 opened 4 years ago

Greatlegend12 commented 4 years ago

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade'

Screenshot (3)

The error above is what I get when trying to get cart content

#public function cart() { return Cart::getcontent(); }