Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing extensions_enabled in table config #76

Closed
kcjpop opened this issue May 13, 2015 · 3 comments
Closed

Missing extensions_enabled in table config #76

kcjpop opened this issue May 13, 2015 · 3 comments
Assignees
Labels

Comments

@kcjpop
Copy link

kcjpop commented May 13, 2015

When trying to run php artisan flarum:seed for the first time,

[2015-05-13 18:41:51] local.ERROR: exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /home/an/code/flarum/flarum/system/core/src/Support/Extensions/ExtensionsServiceProvider.php:22
Stack trace:
#0 /home/an/code/flarum/flarum/system/core/src/Support/Extensions/ExtensionsServiceProvider.php(22): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Invalid argumen...', '/home/an/code/f...', 22, Array)
#1 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(494): Flarum\Support\Extensions\ExtensionsServiceProvider->register()
#2 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\Foundation\Application->register(Object(Flarum\Support\Extensions\ExtensionsServiceProvider))
#3 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(468): Illuminate\Foundation\ProviderRepository->load(Array)
#4 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(15): Illuminate\Foundation\Application->registerConfiguredProviders()
#5 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(181): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
#6 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(195): Illuminate\Foundation\Application->bootstrapWith(Array)
#7 /home/an/code/flarum/flarum/system/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(92): Illuminate\Foundation\Console\Kernel->bootstrap()
#8 /home/an/code/flarum/flarum/system/artisan(11): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 {main}  
@tobyzerner
Copy link
Contributor

This will definitely be fixed as part of implementing a proper ConfigRepository in #75

@franzliedke
Copy link
Contributor

It's a problem with the installer, really. I shall fix that very soon.

@franzliedke franzliedke self-assigned this May 18, 2015
@franzliedke
Copy link
Contributor

Fixed in 1ab1631. We simply forgot to add the extensions_enabled field to the config table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants