Meta Box error on saving post

Support General Meta Box error on saving postResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39953
    ArnoArno
    Participant

    Hello,

    I found a lot of errors like these in the log file:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1 for query UPDATE wp_posts SET post_parent=35796 WHERE post_parent=0 AND ID IN () made by edit_post, wp_update_post, wp_insert_post, do_action('save_post_activity'), WP_Hook->do_action, WP_Hook->apply_filters, RW_Meta_Box->save_post, array_map, RW_Meta_Box->save_field, RWMB_Field::process_value, RWMB_Field::call, RWMB_Media_Field::value

    I think it happens when editing and publishing custom posts, but everything seems to work fine. What does this error mean? It does not mention any post type or field ID.

    Kind regards,
    Arno

    #39954
    Ole PoetterOle Poetter
    Participant

    Hi,

    same here.

    Kind regards,
    Ole

    #39992
    PeterPeter
    Moderator

    Hello,

    I do not see that error log on my demo site, can you replicate the issue on a clean install of WordPress? Or let me know how to replicate the issue on my site?

    #40008
    ArnoArno
    Participant

    I'm having a hard time finding out what exactly triggers this. Last night the error was not logged again. The day before, it was logged a lot.

    Ole, do you have more details?

    #40019
    Anh TranAnh Tran
    Keymaster

    This bug was fixed in the latest Meta Box version. In my test, it was triggered when removing all images and re-save the post. Is that the same thing happened to you?

    #40020
    ArnoArno
    Participant

    Perhaps I saw the error just before installing the update. It was when re-saving posts, although we did not remove images. I hope it's gone. If not, I'll report back.

    Thanks!

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