Database Error re. post_id in wp_give_formmeta
-
Hi, I am getting a recurring error in the wp-admin/ error_log. It seems to be occurring once every second and always starts out like this:
[30-Jul-2018 15:16:18 America/Los_Angeles] WordPress database error Unknown column ‘post_id’ in ‘field list’ for query SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_give_formmeta ON ( wp_posts.ID = wp_give_formmeta.form_id ) WHERE 1=1 AND (
( wp_give_formmeta.meta_key = ‘_give_goal_option’ AND wp_give_formmeta.meta_value = ‘enabled’ )
) AND wp_posts.post_type = ‘give_forms’ AND ((wp_posts.post_status = ‘publish’)) AND wp_posts.ID IN ( SELECT ID FROM wp_posts WHERE ID NOT IN ( SELECT post_id FROM wp_give_formmeta WHERE wp_give_formmeta.meta_key = ‘groups-groups_read_post’ ) UNION ALL SELECT post_id AS ID FROM wp_give_formmeta WHERE wp_give_formmeta.meta_key = ‘groups-groups_read_post’ AND
etc. etc. etc. it’s very long!But, the unknown column appears in these two places that I have made bold. It’s correct, there is no column for ‘post_id’ in that table. There is a post_id column in the wp_postmeta table. And I can’t find anything in the plugin files that matches this SELECT statement. Do you know what might be going on here? I think it’s been happening for a couple of months. Thank You!!
- The topic ‘Database Error re. post_id in wp_give_formmeta’ is closed to new replies.