LaravelFacebookSdk
LaravelFacebookSdk copied to clipboard
Fix Solved merge config error( Error: Uncaught ReflectionException: Class config does not exist in)
- Laravel : v5.5.1
- SDK : 3.5.0
When using version 3.5, I found an error in the source that mergeConfigForm
.
If the source code is placed in the function register(){}
the following error occurs.
Uncaught ReflectionException: Class config does not exist in .. blah blah
So I moved to the function boot(){}
and modified the slightly fixed source.
And it works well.
almost same code
Why is CI failing?
Check the log, it's because of a style violation. You need to have a space after your else keyword, and a space after your closing brace. https://s3.amazonaws.com/archive.travis-ci.org/jobs/272386964/log.txt?X-Amz-Expires=30&X-Amz-Date=20170909T152213Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20170909/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=eb0b8c43dd2c1e294db9d1d384225d595942806fd17d1df6916169b1157dd0b9
thx