Quantcast
Channel: Topic Tag: Database Error | WordPress.org
Viewing all articles
Browse latest Browse all 1462

Olaf24 on "[Plugin: Content Aware Sidebars] Database error: [Unknown column 'mt1.meta_key' in 'where clause']"

$
0
0

Hi,

I have a brand new installation of WordPress 3.5.1 with newest version of Content Aware Sidebars.

The Sidebars do work fine with Host-Sidebars. Two Custom Post Types are involved in my widgets.

Now I registered a third Custom Post Type and suddenly went into trouble.

When I create new items of the new CPT, I get these messages:

WordPress database error: [Unknown column 'mt1.meta_key' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1 AND wp_posts.post_type = 'sidebar' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private') AND ( (wp_postmeta.meta_key = '_cas_post_types' AND CAST(wp_postmeta.meta_value AS CHAR) = '_cas_sub_eventgalerie') AND mt1.meta_key = '_cas_post_types' ) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10

Notice: Trying to get property of non-object in H:\ampp\htdocs\wp-content\plugins\content-aware-sidebars\modules\post_type.php on line 150

Notice: Undefined property: WP_Tax_Query::$ID in H:\ampp\htdocs\wp-content\plugins\content-aware-sidebars\modules\post_type.php on line 150

Notice: Undefined property: WP_Meta_Query::$ID in H:\ampp\htdocs\wp-content\plugins\content-aware-sidebars\modules\post_type.php on line 150

Notice: Trying to get property of non-object in H:\ampp\htdocs\wp-content\plugins\content-aware-sidebars\modules\post_type.php on line 150

... (The last Notice is repeated about 50 times)

Warning: Cannot modify header information - headers already sent by (output started at H:\ampp\htdocs\wp-content\plugins\content-aware-sidebars\modules\post_type.php:150) in H:\ampp\htdocs\wp-includes\pluggable.php on line 876

I already tried to reactive Content Aware Sidebars and to update permalinks. Nothing helps...

I have no idea of solving this. I do not even understand how the new CPT and the sidebars are related with each other (cause I did not user the new CPT in any Sidebar or Widget yet).

Any ideas anybody?

http://wordpress.org/extend/plugins/content-aware-sidebars/


Viewing all articles
Browse latest Browse all 1462

Trending Articles