I just started to get Fatal error: Unsupported operand types in /mnt/w0505/d00/s02/b03045de/www/anesthesiaexam.com/includes/common.inc on line 1551

after i installed the theme

CommentFileSizeAuthor
#1 joker_498266.patch1.01 KBScheepers de Bruin

Comments

Scheepers de Bruin’s picture

Assigned: Unassigned » Scheepers de Bruin
Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new1.01 KB

That error is thrown within the l() method where a class attribute is set...

Haven't been able to duplicate the error - so I've created a patch to try make the only calls to the l() method a bit more safe by ensuring an array value is passed to it as options.

Do you have primary links defined? Do you have secondary links defined?
What version of drupal are you running?

thanks,
scheepers

uberellis-dupe’s picture

Title: Fatal Error » Fatal Error - can replicate the problem

Can replicate the problem. The patch fixes it tho

Running Drupal 6.12
Primary links set: Yes
Secondary links set: Yes

Scheepers de Bruin’s picture

Thank you mr uberEllis

Scheepers de Bruin’s picture

Status: Postponed (maintainer needs more info) » Patch (to be ported)