Reviewed & tested by the community
Project:
BlogBuzz
Version:
7.x-1.0-rc2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2012 at 09:12 UTC
Updated:
21 Jul 2013 at 18:57 UTC
Jump to comment: Most recent
Comments
Comment #1
SeeSchloss commentedAre you sure this only happens on tribune nodes?
As far as I know this function (
l(), apparently called somewhere with the option 'class' => 'some string' when 'class' should be an array of strings) is not used from the tribune module, so I believe this could come from another active module on your installation (and the incompatibility might be the tribune module's fault, too).Can you tell me which non-core modules are enabled on your site so I can check this?
Comment #2
ottos commentedHi,
I have enabled the following core and additional modules. My first guess is Pathauto 7.x-1.2, but you are the expert:
Core modules:
-------------------
Block 7.15
Blog 7.15
Color 7.15
Comment 7.15
Contextual links 7.15
Dashboard 7.15
Database logging 7.15
Field 7.15
Field SQL storage 7.15
Field UI 7.15
File 7.15
Filter 7.15
Image 7.15
List 7.15
Locale 7.15
Menu 7.15
Node 7.15
Number 7.15
Options 7.15
Overlay 7.15
Path 7.15
Poll 7.15
Search 7.15
Shortcut 7.15
System 7.15
Taxonomy 7.15
Text 7.15
Toolbar 7.15
Tracker 7.15
Update manager 7.15
User 7.15
Additional modules:
-------------------------
Chaos tools 7.x-1.2
Display Suite 7.x-2.0-beta2
Feeds 7.x-2.0-alpha5
Feeds Admin UI 7.x-2.0-alpha5
Feeds Comment Processor 7.x-1.x-dev
Feeds XPath Parser 7.x-1.0-beta3
Gallery Formatter 7.x-1.2
File (Field) Paths 7.x-1.0-beta3
File Field Sources 7.x-1.4
FileField Sources Plupload 7.x-1.x-dev
Plupload integration module 7.x-1.0
Video 7.x-2.7
Video UI 7.x-2.7
Video.js 7.x-2.2
Zencoder API 7.x-2.7
Backup and Migrate 7.x-2.4
Colorbox 7.x-1.3
Image Matrix 7.x-1.x-dev
Job Scheduler 7.x-2.0-alpha3
Libraries 7.x-2.0
Pathauto 7.x-1.2
Persistent Login 7.x-1.0-beta1
Plupload widget 7.x-1.0-alpha1
Redirect 403 to User Login 7.x-1.5
Token 7.x-1.2
Transliteration 7.x-3.1
Printer, email and PDF versions
Printer-friendly pages 7.x-1.1
Local tribune 7.x-3.0-alpha2
Tribune 7.x-3.0-alpha2
Menu Views 7.x-1.3
Views 7.x-3.5
Views Galleriffic 7.x-1.1
Views Slideshow 7.x-3.0
Views Slideshow: Cycle 7.x-3.0
Views UI 7.x-3.5
Comment #3
SeeSchloss commentedWould you happen to be using the Marinelli theme, by chance?
I see that it seems to have this bug in
node--teaser.tpl.php, though I can't test it right now myself.In case you are using Marinelli, could you try replacing on line 41:
'class' => t('node-readmore-link')with:
'class' => array(t('node-readmore-link'))and tell me if it fixed your problem?
Comment #4
SeeSchloss commentedOh well, I just found this bug on the marinelli project:
#1237020: Fatal error: [] operator not supported for strings in example.com\includes\common.inc on line 2319
Although if you're not using this theme, it might still be another module's fault.
Comment #5
ottos commentedYes, you are on the right way, but I have Antsin - BlogBuzz II 7.x-1.0-rc2 theme on my site. I tested it, and if I switch to the core Bartik 7.15 theme, my tribune is working fine!
Comment #6
SeeSchloss commentedOK, I looked at their code and it seems they have the exact same bug, in
node.tpl.php.From http://drupalcode.org/project/blogbuzz.git/blob/refs/heads/7.x-1.x:/temp...
I can tell you to replace
'class' => t('node-readmore-link')with:
'class' => array(t('node-readmore-link'))on line 46 of node.tpl.php
Please tell me if it solves the error (though I'm pretty sure this is it, so I'm changing the project of this issue to BlogBuzz).
Comment #7
ottos commentedYes, it solved the issue! Thank you for your help!
Comment #8
SeeSchloss commentedYou're welcome, I like it when the bug doesn't come from my module ;-)
Comment #9
chandra.drupal commentedoh grt its working dude for both marinelli and blog buzz
Comment #10
lakimy2k commentedI face thesame issue on my website that whenever i click on login, or signup link it throws the error : Fatal error: [] operator not supported for strings in common.inc on line 2426. Pls i need help
Comment #11
devin carlson commentedcommon.incis the name of a file included with Drupal core. It isn't related to Drupal Commons. ;)Comment #12
devin carlson commentedMarked #2046893: Fatal error: [] operator not supported for strings in /home/public_html/includes/common.inc on line 2426 as a duplicate.
Comment #13
harsh111 commentedThank you This worked for me.