Notifications
Clear all

wpForo 1.x.x [Solved] WP database error Unknown column 'posts' in 'field list' for query UPDATE `td_wpforo_attachments`

3 Posts
2 Users
1 Reactions
3,953 Views
Posts: 56
Topic starter
(@glowball)
Trusted Member
Joined: 7 years ago

I'm seeing new errors in my PHP error log.  It looks like there is an UPDATE query referencing a column called 'posts' that is generating the error.  I verified that this column does not exist in that table.  Should I create that column or fix it in some other way?  What are the parameters for this column?  Thanks!

2 Replies
1 Reply
BlackRaz
Admin
(@blackraz)
Joined: 7 years ago

Contributor
Posts: 406

Hi dear @glowball  ,

Try this SQL query.

ALTER TABLE `td_wpforo_attachments` ADD `posts` INT NOT NULL DEFAULT 0;
Posts: 56
Topic starter
(@glowball)
Trusted Member
Joined: 7 years ago

That'll do it.  Thanks!