Support Forum ยป User Profile

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Preview from block list doesn't work ? #49097
    dotsuniteddotsunited
    Participant

    bumping, any news?

    in reply to: Preview from block list doesn't work ? #48751
    dotsuniteddotsunited
    Participant

    the issue still existsts.


    @Peter
    :
    any news?

    in reply to: โœ…Issue with wordpress 6.8 #48076
    dotsuniteddotsunited
    Participant

    The actual error message is generated in the function "MissingEdit" in "/wp-includes/js/dist/block-library.min.js".

    in reply to: โœ…Issue with wordpress 6.8 #48071
    dotsuniteddotsunited
    Participant

    Emiliano: 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.

    in reply to: โœ…Issue with wordpress 6.8 #48069
    dotsuniteddotsunited
    Participant

    Same 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

    in reply to: TypeError in fields/post.php when showing revisions #40315
    dotsuniteddotsunited
    Participant

    Hi 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

    dotsuniteddotsunited
    Participant

    Hello!

    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 103

    So that did not completely fix the problem.

    dotsuniteddotsunited
    Participant

    Hello Peter,

    in our WordPress projects we are basically using a composer.json in 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-box package being installed to ./public/plugins/meta-box. There is no ./public/plugins/meta-box/vendor folder, which seems to match the contents of the repository at https://github.com/wpmetabox/meta-box/tree/5.6.14

    We 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 .distignore or some missing hook for the Composer WordPress installer.

    dotsuniteddotsunited
    Participant

    Hello 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
Viewing 9 posts - 1 through 9 (of 9 total)