gothinkster / slim-php-realworld-example-app

Exemplary real world application built with Slim

Home Page:https://realworld.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Argument 1 passed to Conduit\Controllers\Auth\RegisterController::__construct() must be an instance of Interop\Container\ContainerInterface, instance of Slim\Container given.

imduriprakash opened this issue · comments

Hi,

I've downloaded latest repository and trying to run from localhost by following readme file.
I'm getting the following error when application started:
Argument 1 passed to Conduit\Controllers\Auth\RegisterController::__construct() must be an instance of Interop\Container\ContainerInterface, instance of Slim\Container given, called in \vendor\slim\slim\Slim\CallableResolver.php on line 102 File: \src\Conduit\Controllers\Auth\RegisterController.php Line: 30

Basically this error is existing throughout the application, while referring OptionalAuth also.
I've PHP 7.1.3 in my local.

#22 will fix the issue, please merge #22 .