Problem sa qTranslate slug with Widget

Javlja vam se donja poruka na dnu svakoga posta bili vi prijavljeni kao admin ili ne na site koji drajva WordPress 3.3.2.

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/user/public_html/site.com/wp-includes/wp-db.php on line 787

Ukoliko uklju?ite DEBUG u wp_config.php dobivate ove dvije poruku nakon svakog posta:

Notice: Object of class stdClass could not be converted to int in /home/user/public_html/site.com/wp-content/plugins/qtranslate-slug-with-widget/qtranslate-slug-with-widget.php on line 632

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/user/public_html/site.com/wp-includes/wp-db.php on line 787

Uzrok problemu je nadogradnja plugina “qTranslate slug with Widget” na verziju 0.6. Naime spomenuti plugin ima problema sa tuma?enjem id_category koji želi koristiti kao INT, ali se spomenuti unos nemože spustiti u bazu kao INT. Barem sam to tako protuma?io.

Privremeni workaround je u “qTranslate slug with Widget” vratiti na verziji 0.5.

Leave a Reply