Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Action links do not get printed properly. For instance, here in the pic Action link should say "Add a fee type" but instead it says "Array". This happens everywhere for action links. Attached is a screenshot.
Comment | File | Size | Author |
---|---|---|---|
not-rendered-properly-screenshot.png | 17.72 KB | xaris.tsimpouris |
Comments
Comment #2
xaris.tsimpouris CreditAttribution: xaris.tsimpouris as a volunteer commentedComment #3
xaris.tsimpouris CreditAttribution: xaris.tsimpouris as a volunteer commentedI found the problem according to my installation which theme settings indeed say I have Bootstrap 7.x-3.4 and tried to create a patch, but the whole folder theme is missing when cloning from git! Am I missing something? This is where I got:
File: theme/system/item-list.func.php line 31 (the whole for loop)...
Comment #4
xaris.tsimpouris CreditAttribution: xaris.tsimpouris as a volunteer commentedAny comments, are welcome.
Comment #5
markhalliwellComment #6
iancawthorne CreditAttribution: iancawthorne commentedI'm having this issue. I updated Bootstrap from 3.0 to 3.10 and am now getting "Array" where the $action_links variable is in page.tpl.php as per the screenshot in the original post.
I can see the "theme" folder in the Bootstrap module no longer exists as of 3.1.
I'm not sure what is required here to resolve this? There are no updates to run in update.php.
Comment #7
iancawthorne CreditAttribution: iancawthorne commentedThe markup for the action links renders as:
If I comment out bootstrap_menu_local_tasks_alter() in includes/alter.inc, the link then renders as a plain link, as it would in Bartik.
Is it possible this is a php version issue? I'm looking at a site which is stuck on php 5.3 that I cannot upgrade to 5.4 or higher.
Comment #8
markhalliwell@iancawthorne, delete the whole
bootstrap
base theme folder and then reinstall it.Comment #9
iancawthorne CreditAttribution: iancawthorne commented@markcarver I'm seeing the problem having comepletely deleted the bootstrap theme folder and replacing it with the new one. I've also tried disabling and enabling via the ui. When you say to re-install, are you expecting any other steps?