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.
When calling: views_include_default_views(TRUE), TRUE ($reset) is not passed into views_get_module_apis()
See backtrace for details:
-> views_include_default_views($reset = TRUE) views/tests/views_exposed_form.test:19
-> views_include_handlers($reset = TRUE) views/views.module:751
-> views_include($file = 'base') views/views.module:730
=> $used['base'] = TRUE views/views.module:653
-> views_include($file = 'handlers') views/views.module:731
=> $used['handlers'] = TRUE views/views.module:653
-> views_include($file = 'cache') views/views.module:732
=> $used['cache'] = TRUE views/views.module:653
-> views_include($file = 'plugins') views/views.module:733
=> $used['plugins'] = TRUE views/views.module:653
-> _views_include_handlers() views/views.module:734
-> views_module_include($file = 'views.inc', $reset = ???) views/includes/cache.inc:13
-> views_get_module_apis($reset = FALSE) views/views.module:660
Comment | File | Size | Author |
---|---|---|---|
#1 | views-1107912.patch | 767 bytes | kenorb |
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedSee attached patch.
It's depended by: #1101332: Call to a member function set_display() on a non-object in tests/views_exposed_form.test on line 34
Comment #2
dawehnerLooks fine.
Commited to 6.x-3.x, but needs porting to 7.x-3.x
Comment #3
kenorb CreditAttribution: kenorb commentedAnd the function in patch should have as well default value:
instead of:
Because by default is called without arguments. Sorry for confusion.
Comment #4
dawehnerCan you please create a patch ?
Comment #5
MustangGB CreditAttribution: MustangGB commentedComment #6
kenorb CreditAttribution: kenorb commentedFixed in 6.x as per #2, there is no fix needed for 7.x