shopping cart - OctoberCMS - Unresolvable dependency resolving -


somebody have idea of error:

unresolvable dependency resolving [parameter #0 [ $app ]] in class illuminate\database\databasemanager

i installed -composer require:

gloudemans/shoppingcart#dev-dev-laravel55 

and ^2.4 -dev-master had same error.

i setup plugin with:

 public function boot()     {         app::register('\gloudemans\shoppingcart\shoppingcartserviceprovider');          $alias = aliasloader::getinstance();          $alias->alias('cart', 'gloudemans\shoppingcart\facades\cart');      } 

this working on localhost running on windows. on ubuntu on digitalocean track error on:

\\vendor\gloudemans\shoppincart\src\cart.php when follow function called.  private function getconnection() {     $connectionname = $this->getconnectionname();      return app(databasemanager::class)->connection($connectionname); } 

this part "app(databasemanager::class)" show error.

i looking information bindings , give sub-folder permission error persists.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -