Hi,

My hosting company changed from PHP 5.1 to PHP 5.3.
Now I got a full screen of warnings when going to [website]/weblinks :

warning: strpos() expects parameter 1 to be string, array given in /httpdocs/includes/common.inc on line 1608.

I got this warning for every weblinks node.
Can you help me please? I updated to latest .dev. Warning is still there.

Thanks a lot for your reply in advance.
greetings,
Martijn

Comments

summit’s picture

Hi,
I get even more warnings. These all for the overview page of weblinks (/weblinks).
The warnings are:

warning: strpos() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1608.
warning: strip_tags() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1609.
warning: strpos() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1608.
warning: strip_tags() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1609.
warning: strpos() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1608.
warning: strip_tags() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1609.
warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/toscane-camping.nl/httpdocs/includes/common.inc on line 1608.
warning: strip_tags() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1609.
warning: strpos() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1608.
warning: strip_tags() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1609.
warning: strpos() expects parameter 1 to be string, array given in httpdocs/includes/common.inc on line 1608.

Am I the only one with these warnings on php 5.3 please?

greetings,
Martijn

summit’s picture

Hi,
Having still this problem on Weblinks 2.5. Anyone else have these problems please?
Is it may be related to: http://drupal.org/node/1366628?

Greetings, Martijn

summit’s picture

Hi,

It was theme related! My custom theme gave these warnings, and regular themes did not. So I think I set this issue to fixed, right?
greetings, Martijn

summit’s picture

Status: Active » Fixed

Set issue to fixed. Greetings, Martijn

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.