reseni pro qtranslate slug - delalo to bordel s mysql errorem a proste sem se nespokojil s pouhym nezobrazovanim erroru a warningu... zde je reseni kdyby to nekoho potkalo:
typ warningu: Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /vase-cesta/wp-includes/wp-db.php on line 789
reseni:
v souboru qtranslate-slug-with-widget.php najdete nasleduji tri radky:
function qTranslateSlug_category_link($link, $id){
//TODO: implement it!
global $wpdb, $q_config, $qts_use_language, $wp_query;
a nahradte timto:
function qTranslateSlug_category_link($link, $id){
//TODO: implement it!
if ( is_object($id) ) {
$id = $id->id;
}
global $wpdb, $q_config, $qts_use_language, $wp_query;