Event views module calls views_invalidate_cache too often
I don't think this should be called on what seemed like most every page load. This is a significant problem with a lot of locale/i18n languages.
array(13) {
[0]=>
array(4) {
["file"]=>
string(95) "/var/www/d53/modules/contributed/event-5.x-1.0.tar/event/contrib/event_views/event_views.module"
["line"]=>
int(325)
["function"]=>
string(22) "views_invalidate_cache"
["args"]=>
array(0) {
}
}
[1]=>
array(2) {
["function"]=>
string(31) "event_views_views_default_views"
["args"]=>
array(0) {
}
}
[2]=>
array(4) {
["file"]=>
string(32) "/var/www/d53/includes/module.inc"
["line"]=>
int(406)
["function"]=>
string(20) "call_user_func_array"
["args"]=>
array(2) {
[0]=>
&string(31) "event_views_views_default_views"
[1]=>
&array(0) {
}
}
}
[3]=>
array(4) {
["file"]=>
string(68) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views_cache.inc"
["line"]=>
int(236)
["function"]=>
string(17) "module_invoke_all"
["args"]=>
array(1) {
[0]=>
&string(19) "views_default_views"
}
}
[4]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(195)
["function"]=>
string(24) "_views_get_default_views"
["args"]=>
array(0) {
}
}
[5]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(84)
["function"]=>
string(18) "views_get_all_urls"
["args"]=>
array(0) {
}
}
[6]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(34)
["function"]=>
string(23) "views_menu_inline_items"
["args"]=>
array(1) {
[0]=>
&array(0) {
}
}
}
[7]=>
array(2) {
["function"]=>
string(10) "views_menu"
["args"]=>
array(1) {
[0]=>
&bool(false)
}
}
[8]=>
array(4) {
["file"]=>
string(32) "/var/www/d53/includes/module.inc"
["line"]=>
int(406)
["function"]=>
string(20) "call_user_func_array"
["args"]=>
array(2) {
[0]=>
&string(10) "views_menu"
[1]=>
&array(1) {
[0]=>
bool(false)
}
}
}
[9]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(1221)
["function"]=>
string(17) "module_invoke_all"
["args"]=>
array(2) {
[0]=>
&string(4) "menu"
[1]=>
&bool(false)
}
}
[10]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(220)
["function"]=>
string(29) "_menu_append_contextual_items"
["args"]=>
array(0) {
}
}
[11]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(391)
["function"]=>
string(13) "menu_get_menu"
["args"]=>
array(0) {
}
}
[12]=>
array(4) {
["file"]=>
string(22) "/var/www/d53/index.php"
["line"]=>
int(15)
["function"]=>
string(27) "menu_execute_active_handler"
["args"]=>
array(0) {
}
}
}array(9) {
[0]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(195)
["function"]=>
string(24) "_views_get_default_views"
["args"]=>
array(0) {
}
}
[1]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(84)
["function"]=>
string(18) "views_get_all_urls"
["args"]=>
array(0) {
}
}
[2]=>
array(4) {
["file"]=>
string(65) "/var/www/d53/modules/contributed/views-5.x-1.6/views/views.module"
["line"]=>
int(34)
["function"]=>
string(23) "views_menu_inline_items"
["args"]=>
array(1) {
[0]=>
&array(0) {
}
}
}
[3]=>
array(2) {
["function"]=>
string(10) "views_menu"
["args"]=>
array(1) {
[0]=>
&bool(false)
}
}
[4]=>
array(4) {
["file"]=>
string(32) "/var/www/d53/includes/module.inc"
["line"]=>
int(406)
["function"]=>
string(20) "call_user_func_array"
["args"]=>
array(2) {
[0]=>
&string(10) "views_menu"
[1]=>
&array(1) {
[0]=>
bool(false)
}
}
}
[5]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(1221)
["function"]=>
string(17) "module_invoke_all"
["args"]=>
array(2) {
[0]=>
&string(4) "menu"
[1]=>
&bool(false)
}
}
[6]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(220)
["function"]=>
string(29) "_menu_append_contextual_items"
["args"]=>
array(0) {
}
}
[7]=>
array(4) {
["file"]=>
string(30) "/var/www/d53/includes/menu.inc"
["line"]=>
int(391)
["function"]=>
string(13) "menu_get_menu"
["args"]=>
array(0) {
}
}
[8]=>
array(4) {
["file"]=>
string(22) "/var/www/d53/index.php"
["line"]=>
int(15)
["function"]=>
string(27) "menu_execute_active_handler"
["args"]=>
array(0) {
}
}
}
We disabled event.module and will have to use Calendar + Date API + Date CCK.
Comments
Post new comment