moltin / framework

Lightweight store framework built using Slim, Twig, Bootstrap and the Moltin SDK.
19 stars 9 forks source link

Slim Application Error #2

Open ankit7sethi opened 9 years ago

ankit7sethi commented 9 years ago

When I run this project using composer and slim, I get following error on index file. image

It says the error is in ClientCredentials.php at gent_type parameter.

Please can you have a look and tell what's the error all about? Thanks!

digixweb commented 9 years ago

I have exactly the same error.

weaves81 commented 9 years ago

I'm getting the same issue, is there a solution to this yet?

wagnerpaul commented 9 years ago

Bump... same here.

wagnerpaul commented 9 years ago

After some sniffing around it looks like they may have changed some of the api endpoints. Looks like they rolled them into the SDK so you don't need to put them in the app setup anymore.

if you comment out line 20 and 21 in the config.php this error will be resolved. You will then notice a new error related to some code in the middleware (commenting lines 58-63 on the middleware/Moltin.php files seems to clear this up). I think they've either abandoned this project in favor of the laravel one or they will circle back at some point and update this. Either way this app doesn't play real nice with the updated SDK out of the box. Hope this helps some of you for now.

@weaves81 @digixweb @ankit7sethi