-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
The command wp acorn vendor:publish
fail with the following error:
Fatal error: Uncaught Error: Call to a member function make() on null in /srv/www/site.test/current/web/app/themes/sage/vendor/roots/acorn/src/helpers.php:33
Stack trace:
#0 /srv/www/site.test/current/web/app/themes/sage/vendor/log1x/sage-directives/src/Directives.php(79): Roots\app('blade.compiler')
#1 /srv/www/site.test/current/web/app/themes/sage/vendor/log1x/sage-directives/src/Directives.php(26): Log1x\SageDirectives\Directives->blade()
#2 /srv/www/site.test/current/web/wp/wp-includes/class-wp-hook.php(288): Log1x\SageDirectives\Directives->Log1x\SageDirectives\{closure}('')
#3 /srv/www/site.test/current/web/wp/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#4 /srv/www/site.test/current/web/wp/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /srv/www/site.test/current/web/wp/wp-settings.php(507): do_action('after_setup_the...')
#6 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1238): require('/srv/www/site...')
in /srv/www/site.test/current/web/app/themes/sage/vendor/roots/acorn/src/helpers.php on line 33
I'm on a multisite setup, usually I have to add --url=site.test
to my wp-cli
commands, maybe this can be the issue. The acorn command does not accept --url option.
I did manually copy the database.php config file in my sage/config folder so I can use the Eloquent Models you provide.
But now I'd like to try using migrations too, but the Command "make:migration" is not defined.
I also noticed that the MigrationServiceProvider is not added to the AcornDb composer.json
Can you tell me how to fix this error and if Migrations are available?
Should I report the issue to the Acorn project?
Thanks for this wonderful project!
Metadata
Metadata
Assignees
Labels
No labels