Hi there,
I'm not sure why i started to getting this error but i tracked it down. The error is in attributes for parameter for l() function.

Documentation of l() function states that "'attributes': An associative array of HTML attributes to apply to the anchor tag. If element 'class' is included, it must be an array; " in code it is as string not as an array. to correct this

in imageblock.module in function template_preprocess_imageblock_content(&$variables)

replace

$attributes = array('class' => 'imageblock-image');

with

$attributes = array('class' => array('imageblock-image'));

and

 $attributes = array('class' => 'imageblock-link');

with

 $attributes = array('class' => array('imageblock-link'));

Comments

emosbaugh’s picture

Status: Active » Fixed

Thank you. I have fixed the issue and created a new release 7.x-1.2

Status: Fixed » Closed (fixed)

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