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.
We should probably use module_load_include instead of require_once as indicated here:
http://mediatribe.net/en/node/78
http://buildamodule.com/blog/the-correct-way-to-include-files-in-your-dr...
https://api.drupal.org/api/drupal/includes%21module.inc/function/module_...
Patch is coming. Hope that helps.
Comment | File | Size | Author |
---|---|---|---|
#1 | use-module-load-include-2141269.patch | 1.23 KB | gmclelland |
Comments
Comment #1
gmclelland CreditAttribution: gmclelland commentedHere is an untested but a very simple patch.
Comment #2
xiukun.zhou CreditAttribution: xiukun.zhou commentedFixed it #2091257: Use module_load_include() instead of require/include to avoid registry problems for the views_slideshow module