-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Call to undefined method Roots\Acorn\Assets\Asset\PhpAsset::get() #2660
Comments
Oops! 🙈 |
i am getting same issue 👍 Fatal error: Uncaught Roots\Acorn\Assets\Contracts\ManifestNotFoundException: The manifest [D:\xampp\htdocs\wordpress/wp-content/themes/sage/public/manifest.json] cannot be found. in D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\Acorn\Assets\Manager.php:133 Stack trace: #0 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\Acorn\Assets\Manager.php(101): Roots\Acorn\Assets\Manager->getJsonManifest('D:\xampp\htdocs...') #1 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\Acorn\Assets\Manager.php(76): Roots\Acorn\Assets\Manager->resolve('theme', Array) #2 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\Acorn\Assets\AssetsServiceProvider.php(22): Roots\Acorn\Assets\Manager->manifest('theme') #3 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\illuminate\container\Container.php(885): Roots\Acorn\Assets\AssetsServiceProvider->Roots\Acorn\Assets{closure}(Object(Roots\Acorn\Application), Array) #4 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\illuminate\container\Container.php(770): Illuminate\Container\Container->build(Object(Closure)) #5 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Illuminate\Foundation\Application.php(856): Illuminate\Container\Container->resolve('assets.manifest', Array, true) #6 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\illuminate\container\Container.php(706): Illuminate\Foundation\Application->resolve('assets.manifest', Array) #7 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Illuminate\Foundation\Application.php(841): Illuminate\Container\Container->make('assets.manifest', Array) #8 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Illuminate\Foundation\helpers.php(120): Illuminate\Foundation\Application->make('assets.manifest', Array) #9 D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\helpers.php(37): app('assets.manifest') #10 D:\xampp\htdocs\wordpress\wp-content\themes\sage\app\setup.php(26): Roots\bundle('editor') #11 D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(308): App{closure}('') #12 D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #13 D:\xampp\htdocs\wordpress\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #14 D:\xampp\htdocs\wordpress\wp-includes\class-wp-customize-widgets.php(879): do_action('enqueue_block_e...') #15 D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(308): WP_Customize_Widgets->enqueue_scripts('') #16 D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #17 D:\xampp\htdocs\wordpress\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #18 D:\xampp\htdocs\wordpress\wp-admin\customize.php(123): do_action('customize_contr...') #19 {main} thrown in D:\xampp\htdocs\wordpress\wp-content\themes\sage\vendor\roots\acorn\src\Roots\Acorn\Assets\Manager.php on line 133 Warning: Trying to access array offset on value of type bool in D:\xampp\htdocs\wordpress\wp-includes\class-wp-recovery-mode-email-service.php on line 367 Warning: Trying to access array offset on value of type bool in D:\xampp\htdocs\wordpress\wp-includes\class-wp-recovery-mode-email-service.php on line 368 |
Description
Site crash when trying to edit any page.
Steps to reproduce
Expected behavior:
Page Edit to show.
Actual behavior:
Whoops error: Call to undefined method Roots\Acorn\Assets\Asset\PhpAsset::get()
Reproduces how often:
100%
Versions
Sage 10.0.0-beta.1: TBA
Latest MacOS.
Additional information
There is no method get(), it's named "load()", need to update setup.php line 35 to:
if ($manifest = asset('scripts/manifest.asset.php')->load()) {
from
if ($manifest = asset('scripts/manifest.asset.php')->get()) {
The text was updated successfully, but these errors were encountered: