Recently I installed DrupalChat. When this module is turned on, all content sites are down with the message below (adm sites are still up working):
Error: [] operator not supported for strings in zeropoint_image() (line 471 of /var/www/html/sites/all/themes/zeropoint/template.php)
Here are a few trying results:
- If I turn the module off, sites are back to normal;
- If I switch to other themes, DrupalChat works fine;
- When I set the DrupalChat's option to integrating with iFlyChat within Zero Point, it seems working fine. But I need the setting of Normal.
Really appreciate if someone could help out.
Regards,
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | add_class-3176138.patch | 1.31 KB | jgreep |
Comments
Comment #2
sdsc commentedComment #3
avpadernoComment #5
florian commentedNo more issues now.
Please use version 7.x-4.16 or the updated 7.x-4.x-dev.
Comment #6
jgreep commentedThe problem is really with DrupalChat. They are calling the image theme function with the class attribute as a string instead of the expected array, as is normal with Drupal.
This fix reverts and breaks issue #3027414.
Suggested fix would be to check if the class is not an array and then convert it.
Comment #7
jgreep commentedI've created a patch file to address the issue.
Comment #8
jgreep commentedComment #9
sdsc commentedThank you, jgreep! I'll have my team dig into it and report back if this works. Thanks again!
Comment #10
sdsc commentedFlorian, I just noticed that there is a new version posted yesterday (7.x-4.16). However I tried to download 7.x-4.16 and 7.x-4.x-dev, both failed to download. The version I have is 7.x-4.15.
I'll have my team try fix with patch to see whether I have any luck. Thank you!!
Comment #11
sdsc commentedI apologize to Florian. I realized I used the module install link to download zeropoint earlier. Now I have successfully updated my zeropoint to the newest version, and it WORKs!!!!! Thank all of you very much!!!!!!
Now this issue can be closed.
Comment #12
florian commented