Forum Replies Created
-
AuthorPosts
-
dotsunited
Participantbumping, any news?
dotsunited
Participantthe issue still existsts.
@Peter:
any news?dotsunited
ParticipantThe actual error message is generated in the function "MissingEdit" in "/wp-includes/js/dist/block-library.min.js".
dotsunited
ParticipantEmiliano: in our code, we are only using the method without block.json, so we don't have any information whether it works with the other method using block.json.
We just thought we'd mention it, maybe it helps to narrow down the problem.
dotsunited
ParticipantSame here.
In our case, the blocks causing problems are created using MB Blocks with the "Block registration without block.json" method described here: https://docs.metabox.io/extensions/mb-blocks/#block-registration-without-blockjson
dotsunited
ParticipantHi Peter,
can you give us an update for when the fixed is planed?
On https://metabox.io/plugins/meta-box-aio/changelog/ and https://metabox.io/plugins/mb-revision/ we see no progres yet.
thank you
December 22, 2022 at 10:43 PM in reply to: Fatal Error: Meta Box searches for /vendor/autoload.php which is not found #39999dotsunited
ParticipantHello!
Thanks for the fix you've provided. I've implemented it and now the error message changed to this:
Fatal error: Uncaught Error: Class "MetaBox\Updater\Option" not found in /homepages/15/d.../wp-content/mu-plugins/meta-box/inc/loader.php:103 Stack trace: #0 /homepages/15/d.../wp-content/mu-plugins/meta-box/meta-box.php(19): RWMB_Loader->init() #1 /homepages/15/d.../wp-content/mu-plugins/mu-plugin-loader.php(18): require_once('/homepages/15/d...') #2 /homepages/15/d.../wp-includes/class-wp-hook.php(308): DotsUnited\MuPluginLoader\{closure}('') #3 /homepages/15/d.../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /homepages/15/d.../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /homepages/15/d.../wp-settings.php(412): do_action('muplugins_loade...') #6 /homepages/15/d.../wp-config.php(116): require_once('/homepages/15/d...') #7 /homepages/15/d.../wp-load.php(50): require_once('/homepages/15/d...') #8 /homepages/15/d.../wp-blog-header.php(13): require_once('/homepages/15/d...') #9 /homepages/15/d.../index.php(17): require('/homepages/15/d...') #10 {main} thrown in /homepages/15/d.../wp-content/mu-plugins/meta-box/inc/loader.php on line 103So that did not completely fix the problem.
December 22, 2022 at 5:02 PM in reply to: Fatal Error: Meta Box searches for /vendor/autoload.php which is not found #39988dotsunited
ParticipantHello Peter,
in our WordPress projects we are basically using a
composer.jsonin the project's root directory to install plugins.A simplified version looks like this:
{ "config": { "allow-plugins": { "composer/installers": true } }, "repositories": [ { "type": "composer", "url": "https://wpackagist.org" } ], "require": { "composer/installers": "^1.4", "wpmetabox/meta-box": "5.6.14" }, "extra": { "installer-paths": { "public/plugins/{$name}/": [ "type:wordpress-plugin", "type:wordpress-muplugin" ], "public/themes/{$name}/": [ "type:wordpress-theme" ] }, "wordpress-install-dir": "public" } }This results in the
wpmetabox/meta-boxpackage being installed to./public/plugins/meta-box. There is no./public/plugins/meta-box/vendorfolder, which seems to match the contents of the repository at https://github.com/wpmetabox/meta-box/tree/5.6.14We would prefer to stick to this workflow using Composer instead of manually updating plugins or switching to the archives found on https://wordpress.org/plugins/meta-box/
Maybe this behavior is caused by the entries in
.distignoreor some missing hook for the Composer WordPress installer.December 20, 2022 at 10:54 PM in reply to: Fatal Error: Meta Box searches for /vendor/autoload.php which is not found #39948dotsunited
ParticipantHello Peter,
thanks for your reply. sadly this did not solve the issue. I'm still getting the fatal error. I'll attach the full error here:
Warning: require(/homepages/15/d.../wp-content/mu-plugins/meta-box/vendor/autoload.php): Failed to open stream: No such file or directory in /homepages/15/d.../wp-content/mu-plugins/meta-box/inc/loader.php on line 63 Fatal error: Uncaught Error: Failed opening required '/homepages/15/d.../wp-content/mu-plugins/meta-box/vendor/autoload.php' (include_path='.:/usr/lib/php8.1') in /homepages/15/d.../wp-content/mu-plugins/meta-box/inc/loader.php:63 Stack trace: #0 /homepages/15/d.../wp-content/mu-plugins/meta-box/meta-box.php(19): RWMB_Loader->init() #1 /homepages/15/d.../wp-content/mu-plugins/mu-plugin-loader.php(18): require_once('/homepages/15/d...') #2 /homepages/15/d.../wp-includes/class-wp-hook.php(308): DotsUnited\MuPluginLoader\{closure}('') #3 /homepages/15/d.../wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /homepages/15/d.../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /homepages/15/d.../wp-settings.php(412): do_action('muplugins_loade...') #6 /homepages/15/d.../wp-config.php(116): require_once('/homepages/15/d...') #7 /homepages/15/d.../wp-load.php(50): require_once('/homepages/15/d...') #8 /homepages/15/d.../wp-blog-header.php(13): require_once('/homepages/15/d...') #9 /homepages/15/d.../index.php(17): require('/homepages/15/d...') #10 {main} thrown in /homepages/15/d.../wp-content/mu-plugins/meta-box/inc/loader.php on line 63 -
AuthorPosts