Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress 3.9 - 4.1 and qTranslate issue

I have found a bug after the upgrading the Wordpress to the last version of the software 3.9.

I get this error:

Thu Apr 17 17:21:52 2014] [warn] mod_fcgid: stderr: PHP Catchable fatal error: Object of class WP_Post could not be converted to string in /wp-content/plugins/qtranslate/qtranslate_core.php on line 455, referer: http://www.mywebsite.com/

Why do this happen?

like image 323
Michelangelo Avatar asked Apr 17 '14 15:04

Michelangelo


1 Answers

Solved!!

You have to remove the "$before." in qtranslate_core.php file from the last line, qtranslate works here with WP 3.9 !

so the result must be:

return strftime($format, $date).$after;

We will wait the qTranslate upgrade!

thanks

like image 127
Michelangelo Avatar answered Sep 22 '22 23:09

Michelangelo