Fatal error: ($object_id) must be of type int, null given

Support MB Custom Table Fatal error: ($object_id) must be of type int, null givenResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45000
    Alaan TVAlaan TV
    Participant

    I started to get this error whenever I tried to add a new term of a custom taxonomy that uses a custom table to store some extra fields: 'storage_type' => 'custom_table'.

    
    Fatal error: Uncaught Error: MetaBox\CustomTable\Cache::get(): Argument #1 ($object_id) must be of type int, null given, called in /public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-table/src/Storage.php on line 29
    in /public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-table/src/Cache.php on line 19
    
    Call stack:
    
    MetaBox\CustomTable\Cache::get()
    wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-table/src/Storage.php:29
    MetaBox\CustomTable\Storage::get()
    wp-content/plugins/meta-box/inc/field.php:148
    RWMB_Field::raw_meta()
    wp-content/plugins/meta-box/inc/field.php:535
    RWMB_Field::call()
    wp-content/plugins/meta-box/inc/meta-box.php:328
    RW_Meta_Box::is_saved()
    wp-content/plugins/meta-box/inc/meta-box.php:192
    RW_Meta_Box::show()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-admin/edit-tags.php:549
    
    #45008
    PeterPeter
    Moderator

    Hello,

    Thank you for the feedback. I can see the error on my demo site and I also escalated it to the development team to fix the issue soon.

    #45010
    Alaan TVAlaan TV
    Participant

    This is fixed after updating Meta Box AIO plugin to 1.25.0. Thank you!

    #46758
    Alaan TVAlaan TV
    Participant

    test

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