@Alain
Your fix works good. Thank you.
I had this issue after I moved whole site to another server.
Both differ in PHP version. Old one runs PHP 5.3.27 and new one 5.4.24. Maybe this is a source of problems?
Recently I have a lot off new issues of this kind when upgrading PHP on my sites.
BTW Thank you Chuby for this great plugin :)