User login

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.

Resolution

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.