Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
views_plugin_display::construct() tries to pass $this->view, but it doesn't exist until views_plugin_display::init() is run.
Related: http://drupalcode.org/project/views.git/commit/1fe618f6
Possible solution: use views_get_plugin().
Comment | File | Size | Author |
---|---|---|---|
#1 | views-1460272-1.patch | 2.37 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettThis seems to work out alright. Might need #1281698: PHP strict warning: Declaration of views_plugins_display_extender::option_definition() does not match its parent class first.
Comment #2
dawehnerThanks the patch looks perfect, the code is just executed a bit later.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue