Git Product home page Git Product logo

acorn-db's People

Contributors

kellymears avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acorn-db's Issues

wp acorn vendor:publish fail

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.