wpfolio icon indicating copy to clipboard operation
wpfolio copied to clipboard

WP 3.0.2 / WPML 2.0.1 / WPFolio 1.6.5 beta - throwing exception at the category views

Open YogieAnamCara opened this issue 14 years ago • 4 comments

I’m using WP 3.0.2 and WPML 2.0.1 for multi language support, I have added a language switcher in my footer (this can be set up in the settings of WMPL) the footer works very well so far until I will have a category overview of my articles, it throws an exception:

http://test.yogie.de/index.php/category/videografie/

YogieAnamCara avatar Dec 07 '10 05:12 YogieAnamCara

Hi,

with 1.6.53 the errors are still there when I switch to any category view:

http://test.yogie.de/index.php/category/fotografie/landschaft/

Catchable fatal error: Object of class stdClass could not be converted to string in /is/htdocs/.../www/joerg/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 3450

I know this is a bug caused with another plugin I use, but on all other pages or at posts this error does not occur and WPFolio works fine.

Can you please fix this as otherwise WPFolio is not usable to me or other users who wish to use WPFolio and WPML.

Cheers and many thanks! Yogie

YogieAnamCara avatar Dec 14 '10 08:12 YogieAnamCara

this is the line 3450 which causes the problem:

$cat_id = $wpdb->get_var("SELECT term_taxonomy_id FROM {$wpdb->term_taxonomy} WHERE term_id={$cat} AND taxonomy='category'");

YogieAnamCara avatar Dec 14 '10 13:12 YogieAnamCara

Is this still an issue?

slambert avatar Jun 12 '11 21:06 slambert

I have exactly the same problem... error shows only up on category pages Somebody found out how to fix this?

shnifti avatar Feb 23 '12 09:02 shnifti