Error with Custom Tables Plugin when Deleting Posts

Support MB Custom Table Error with Custom Tables Plugin when Deleting Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8021
    jcleavelandjcleaveland
    Participant

    Hi,

    I am getting this error when deleting any pages, posts or custom post types regardless of whether they use any custom fields:

    Fatal error: Uncaught Error: Call to undefined method RWMB_Meta_Box_Registry::get_by() in /mb-custom-table/inc/class-mb-custom-table-loader.php:132 Stack trace: #0 /mb-custom-table/inc/class-mb-custom-table-loader.php(96): MB_Custom_Table_Loader->delete_object_data(20, Array) #1 /wp-includes/class-wp-hook.php(286): MB_Custom_Table_Loader->delete_post_data(20) #2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /wp-includes/post.php(2546): do_action('delete_post', 20) #5 /wp-admin/edit.php(146): wp_delete_post(20) #6 {main} thrown in /mb-custom-table/inc/class-mb-custom-table-loader.php on line 132

    I have confirmed that delete function works as intended if the Custom Table extension is disabled. (I have deleted the full path to the files for security purposes).

    Let me know if you have any questions.

    Thanks!

    ~jason

    #8026
    Truong GiangTruong Giang
    Participant

    Hi there,

    Do you use latest version of Meta Box? Please give us the code you use to register meta boxes.

    Thank you.

    #8030
    Anh TranAnh Tran
    Keymaster

    Sorry for this bug. We should have updated Meta Box first, then MB Custom Table. Please update Meta Box now to have it fixed (the new version is released today).

    Thanks,
    Anh

    #8048
    jcleavelandjcleaveland
    Participant

    I updated and everything works as expected.

    Thanks for the great support!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Error with Custom Tables Plugin when Deleting Posts’ is closed to new replies.