Ticket #717 (closed defect: worksforme)
openid column in wp_comments table not created
| Reported by: | sairuh | Owned by: | mjgiarlo |
|---|---|---|---|
| Priority: | normal | Component: | openid |
| Severity: | normal | Keywords: | |
| Cc: | wnorris |
Description
I installed rev24325 (trunk svn) of Will Norris' wp-openid plugin on my test site ( http://sairuh.org/) running WordPress 2.3.1, and found that errors display on my single post pages.
- Deactivated previous version of wp-openid.
- Installed rev24325, then activated it.
- Go view site, clicked on a post heading to view single post page.
Results: Right above the posted comments I see the following error:
WordPress database error: [Unknown column 'openid' in 'where clause'] SELECT * FROM wp_comments WHERE comment_post_ID = '9' AND openid = 1 AND comment_author_url = ' http://sairuh.org' AND comment_author != 'sairuh' AND comment_approved = '0' ORDER BY comment_date
- Fired up phpMyAdmin to browse the WordPress tables, and sure enough, there's no openid column in the wp_comments table.
This bug persists even if I deactivate and reactivate wp-openid several times.
Change History
Note: See
TracTickets for help on using
tickets.

Couldn't figure out the precise cause of this, but somehow things resolved themselves after the following:
define ( 'WPOPENID_LOG_LEVEL', 'warning');