AIO 1.30.0: Uncaught Error: Undefined constant "MBB\\RWMB_CSS_DIR"

Support MB Builder AIO 1.30.0: Uncaught Error: Undefined constant "MBB\\RWMB_CSS_DIR"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46278
    Ryan CreaseyRyan Creasey
    Participant

    Unable to create a new Custom Field:

    [Thu Aug 29 04:42:06.138166 2024] [proxy_fcgi:error] [pid 975618:tid 975618] [client x.x.x.x:58016] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Undefined constant "MBB\\RWMB_CSS_DIR" in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Edit.php:38\nStack trace:\n#0 /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/BaseEditPage.php(36): MBB\\Edit->enqueue()\n#1 /var/www/html/wp-includes/class-wp-hook.php(324): MBB\\BaseEditPage->enqueue_wrapper()\n#2 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /var/www/html/wp-admin/admin-header.php(118): do_action()\n#5 /var/www/html/wp-admin/edit-form-advanced.php(425): require_once('...')\n#6 /var/www/html/wp-admin/post-new.php(75): require('...')\n#7 {main}\n thrown in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Edit.php on line 38', referer: https://my-site.com/wp-admin/edit.php?post_type=meta-box

    #46281
    Ryan CreaseyRyan Creasey
    Participant

    How do I get this to work properly? I've even tried disabling it from the AIO bundle and installed/enabled it separately.

    #46288
    PeterPeter
    Moderator

    Hello Ryan,

    Do you install and activate the plugin Meta Box? The constant RWMB_CSS_DIR is defined in the Meta Box file wp-content/plugins/meta-box/inc/loader.php

    If you already activated Meta Box and still see the issue, please try to deactivate all plugins except Meta Box, MB AIO, switch to a standard theme of WordPress and check the issue again.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.