Crinsane / LaravelShoppingcart

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

Fatal error: Allowed memory size of 134217728 bytes exhausted. #290

Closed be-pranshu closed 7 years ago

be-pranshu commented 7 years ago

Hello, I create a new setup with laravel 5.4 and install the package in wamp, I google and found some solution to increase the memory_limit in php.ini, and restart all services. I am using WAMP server with PHP Version 7.0.10. but it did not solve the problem.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in G:\wamp64\www\webstore\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 549

When I comment glodemans in app.php it work fine but when i comment out it gives error again.


        // laravel cart
        Gloudemans\Shoppingcart\ShoppingcartServiceProvider::class

         // laravel cart
        'Cart' => Gloudemans\Shoppingcart\Facades\Cart::class,
Crinsane commented 7 years ago

Looks like a configuration problem on you system