Hello,

I updated bootstrap 3.0 to bootstrap 3.1 beta 2.

When I browse a page, I have some error now :

Notice : Undefined index: responsive in bootstrap_table() (line 106 in /sites/all/themes/bootstrap/templates/system/table.func.php).
Notice : Undefined variable: responsive in include() (line 25 in /sites/all/themes/bootstrap/templates/views/views-view-table.tpl.php).
Notice : Undefined variable: responsive in include() (line 55 in /sites/all/themes/bootstrap/templates/views/views-view-table.tpl.php).

To reproduce :

  • Install fresh Drupal
  • Install bootstrap 3.0
  • Update bootstrap to 3.1 beta 2
  • Admire error messages

Regards

Alex

Comments

zmove’s picture

Issue summary: View changes
markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)

Did you clear your cache?

zmove’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Finally found. I installed bootstrap 3.1 beta by copying the new bootstrap folder into the older one, replacing the already existing files.

You have to completely remove the old bootstrap folder, and then, upload the new one, and the error disappears.

xaris.tsimpouris’s picture

Status: Closed (fixed) » Active

Problem still exists. Version Bootstrap 7.x-3.4 with a CDN based sub-theme.

Notice: Undefined variable: responsive in include() (line 23 of /var/www/vhosts/artivity.gr/httpdocs/sites/all/themes/bootstrap/templates/views/views-view-table.tpl.php).
Notice: Undefined variable: responsive in include() (line 53 of /var/www/vhosts/artivity.gr/httpdocs/sites/all/themes/bootstrap/templates/views/views-view-table.tpl.php).
Notice: Undefined index: responsive in bootstrap_table() (line 111 of /var/www/vhosts/artivity.gr/httpdocs/sites/all/themes/bootstrap/templates/system/table.func.php).
xaris.tsimpouris’s picture

Version: 7.x-3.1-beta2 » 7.x-3.4
Status: Active » Needs review
StatusFileSize
new1.36 KB

And here is also a patch.

markhalliwell’s picture

Status: Needs review » Closed (fixed)
atanaspuskulev’s picture

Hello guys,

i just want to ask, why this "patch" suggested here was never released?

I just have got the very same notice in the very same file as the original author reported it.
The version of current Bootstrap is: 7.x-3.14 (not the latest one as suggested as an update).