darrenjacoby / intervention

WordPress plugin to configure wp-admin and application state using a single config file.
MIT License
641 stars 51 forks source link

Sage 10 Support #149

Open Alex-Hay opened 11 months ago

Alex-Hay commented 11 months ago

Should Intervention currently support Sage 10 themes without Bedrock?

If so, I've tried getting up and running a few times, but can't figure my way around these issues. Apologies if I'm being silly – would really appreciate being pointed in the right direction if I am!

Errors running composer require wpackagist-plugin/intervention

Could not find a matching version of package wpackagist-plugin/intervention. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

I can successfully install the plugin version but then run into this error on a fresh Sage installation.

Fatal error: Uncaught Error: Call to undefined function Illuminate\Support\value() in /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/illuminate/support/Env.php:99 Stack trace: #0 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/phpoption/phpoption/src/PhpOption/None.php(50): Illuminate\Support\Env::Illuminate\Support\{closure}() #1 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/illuminate/support/Env.php(99): PhpOption\None->getOrCall(Object(Closure)) #2 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php(343): Illuminate\Support\Env::get('ACORN_APP_PATH') #3 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php(324): Roots\Acorn\Bootloader->normalizeApplicationPath('app', NULL) #4 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php(260): Roots\Acorn\Bootloader->usePaths() #5 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php(98): Roots\Acorn\Bootloader->getApplication() #6 /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/functions.php(43): Roots\Acorn\Bootloader->boot() #7 /Users/alex/sites/intervention-test/wp-settings.php(611): include('/Users/alex/sit...') #8 /Users/alex/sites/intervention-test/wp-config.php(102): require_once('/Users/alex/sit...') #9 /Users/alex/sites/intervention-test/wp-load.php(50): require_once('/Users/alex/sit...') #10 /Users/alex/sites/intervention-test/wp-blog-header.php(13): require_once('/Users/alex/sit...') #11 /Users/alex/sites/intervention-test/index.php(17): require('/Users/alex/sit...') #12 /Users/alex/.composer/vendor/laravel/valet/server.php(110): require('/Users/alex/sit...') #13 {main} thrown in /Users/alex/sites/intervention-test/wp-content/themes/intervention-test/vendor/illuminate/support/Env.php on line 99