• Resolved sandeep2408

    (@sandeep2408)


    Hi Team,

    I have Multisite WordPress site and my WordPress and Yoast are upgraded. I am getting “PHP message: WordPress database error Field ‘target_post_id’ doesn’t have a default value for query INSERT INTO wp_yoast_seo_links (url, type, indexable_id, post_id) VALUES (‘uploads/sites/10/2020/11/SF00500019010.MAIN_-1-300×318.jpeg’, ‘image-ex’, ‘16096’, ‘27407’) made by Yoast\WP\Lib\ORM::execute” in server error log.

    Please help to fix above error

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We are sorry to hear that you’re having trouble with our plugin. It looks like the target_post_id database table field has no value and as such, you’re experiencing the issue.

    So, we’d like you to please perform the following steps to see whether this resolves the issue for you.

    • Install and activate Yoast Test Helper plugin;
    • Go to Tools → Yoast Test → Yoast SEO → Reset indexables tables & migrations options to reset it;
    • Run SEO data optimization from the SEO → Tools page.

    Let us know whether the issue persists.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting WordPress database error for Yoast’ is closed to new replies.