Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Franck on November 25, 2014, 02:37:18 AM

Title: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: Franck on November 25, 2014, 02:37:18 AM
Hello,
Under Roundcube 0.9.8 my errors.log his full of this PHP Warning:
PHP Warning:  strlen() expects parameter 1 to be string, array given in .../Roundcube/rcube_mime.php on line 410

Please have you an idea how to solve this issue on the PHP side or Roundcube side.

Tnx for help and best regards
Title: Re: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: SKaero on November 25, 2014, 02:50:40 AM
I'd recommend that you update to Roundcube 1.0.3.
Title: Re: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: Franck on November 25, 2014, 03:35:24 AM
Tnx for your response SKaero,
but I am a little frightened in the idea to upgrade to Roundcube 1.0.3 because it is in service.
I'm afraid of the crash...
For the time being, i'll prefer to find an issue about the warning with my release 0.9.8 an update during summer holidays.

Pse, tnx for help.
Regards
Title: Re: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: JohnDoh on November 25, 2014, 09:02:25 AM
there is no such version as 0.9.8

are you running any plugins? if you are then you should try disabling them to see if error goes away. I suggest this because 0.9.5 is old now and no one else has reported that particular error that I can see, so may be its caused by a plugin you are running rather than the core.
Title: Re: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: Franck on November 25, 2014, 09:45:33 AM
Yes John, it's true... The release is 0.9.5, i'm sorry.
I use only these four plugins 'password', 'markasjunk', 'emoticons', 'virtuser_file'.
Do you think one of them could be responsable of the error.

Regards,
Franck
Title: Re: strlen() expects parameter 1 to be string, array given in .../rcube_mime.php
Post by: JohnDoh on November 25, 2014, 01:40:34 PM
i dont use any of those myself but no i dont think they could have. so it must be something in the core but i dont know what or which change you'd need to fix it. an upgrade is probably the easiest way like SKaero said.