With views 3, I notices an issue:
Missing argument 3 for views_include_handler(), called in /var/www/vhosts/123.com/httpdocs/sites/all/modules/contrib/views_periodic_execution/views_periodic_execution.report.inc on line 30 and defined in /var/www/vhosts/123.com/httpdocs/sites/all/modules/contrib/views/includes/handlers.inc on line 48.
I went into that file, and changed:
if (views_include_handler($display_plugin['handler'], 'display', 'handler') && is_subclass_of($display_plugin['handler'], $display_type)) {
into
if ($display_plugin['handler'] == 'views_build_menu_plugin_display') {
Which fixed it.
Comments
Comment #1
steven jones commentedNeeds a patch, and a views 3 version of this module.
Comment #2
dm66 commentedTo work Views periodic execution in Views 3 need:
replace string in views_periodic_execution.module in line 87
if (views_include_handler($display_plugin, 'display') && is_subclass_of($display_plugin['handler'], $display_type)) {if (views_include_handler($display_plugin['handler'], $display_plugin, 'display') && is_subclass_of($display_plugin['handler'], $display_type)) {
and replace string in views_periodic_execution.module in line 150
$view->execute_display();$view->execute_display($view_data['display']);
and replace string in views_periodic_execution.report.inc in line 30
if (views_include_handler($display_plugin, 'display') && is_subclass_of($display_plugin['handler'], $display_type)) {if (views_include_handler($display_plugin['handler'], $display_plugin, 'display') && is_subclass_of($display_plugin['handler'], $display_type)) {
Work fine in Views 3.
Comment #3
brycesenz commentedSubscribing. The comments in #3 seem to work for me, though I've only just started using this module.
Comment #4
udvranto commentedsubscribing
Comment #5
udvranto commented#2 works.
Comment #6
danny englanderI've rolled a patch based on #2 and tested locally, it seemed to be fine. However, I have never rolled a patch that does more than one file before so I hope it's ok. (BTW, these fixes solved my issue as well and I was able to send email out via rules which was previously being stopped becuase of this error.)
Comment #7
steven jones commentedViews 3 support will be in the 7.x-1.x branch.
Comment #8
steven jones commentedWorking with views 3 in the 7.x branch now.
Comment #10
heyyo commentedAny chance to have a views 3 version for Drupal 6.x ?