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.
Problem/Motivation
module_load_include()
tries to load a file which does not exist.
Steps to reproduce
ls
Proposed resolution
Fix the call.
Remaining tasks
Review, commit
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#2 | Screenshot from 2021-09-27 15-36-45.png | 36.89 KB | paulocs |
webform-incorrect-call-to-module_load_include.patch | 562 bytes | jacob.embree | |
Comments
Comment #2
paulocsIndeed the file is properly loaded only if
.inc
is removed from the file name. Otherwise themodule_load_include
returns FALSE and it means that the file was not loaded successfully.Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House for Memorial Sloan Kettering Cancer Center commented