Block refresh is not working in IE8 , please let me know what is the issue. I am getting the following error.

Message: 'Drupal.settings.block_refresh.settings' is null or not an object
Line: 5
Char: 1
Code: 0

Any help ?

CommentFileSizeAuthor
JavaScript Error.png24.97 KBNagella
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nagella’s picture

Issue summary: View changes

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Timestamp: Thu, 27 Dec 2012 11:32:28 UTC

Message: 'Drupal.settings.block_refresh.settings' is null or not an object
Line: 5
Char: 1
Code: 0
URI: http://localhost/TechTime/sites/all/modules/block_refresh/js/block_refre...

arrubiu’s picture

On Firefox I have the same problem.
I've a page with tabs created with jquery from core, and after the installation of block_refresh, tabs are broken and I've this error:

Timestamp: 01/04/2013 11:03:05
Error: TypeError: Drupal.settings.block_refresh is undefined
Source File: http://local.dev/sites/all/modules/contrib/block_refresh/js/block_refres...
Line: 5

jhelou’s picture

same problem on Chrome, console error:
Uncaught TypeError: Cannot read property 'settings' of undefined <---> block_refresh.js:5

from block_refresh.js:5
$.each(Drupal.settings.block_refresh.settings, function(element, settings) {

any solutions?

foxfabi’s picture

check your permissions.. let anonymous user access block refresh content

foxfabi’s picture

Issue summary: View changes

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Timestamp: Thu, 27 Dec 2012 11:32:28 UTC

Message: 'Drupal.settings.block_refresh.settings' is null or not an object
Line: 5
Char: 1
Code: 0
URI: http://localhost/TechTime/sites/all/modules/block_refresh/js/block_refre...

tripper54’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Please update to the 2.x branch and let me know if you still have a problem.

tripper54’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing after 2 weeks with no reply. Feel free to re-open if you need to.