Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Problem/Motivation
When installing Drupal 9.0.1 with the minimal profile, changing the Gin theme settings results in a PHP error.
The error is: Call to undefined function _file_save_upload_from_form()
.
Proposed resolution
Only call the _file_save_upload_from_form()
function if the file module is enabled.
Remaining tasks
The patch will be uploaded soon, afterwards some reviews are needed.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
-
Comment | File | Size | Author |
---|---|---|---|
#2 | php_error_on_saving-3153670-2.patch | 576 bytes | dpacassi |
Comments
Comment #2
dpacassiSee attached patch for a fix.
Comment #3
dpacassiComment #5
saschaeggiThanks for providing a patch. Tested with D 9.0.0 and 9.0.1 with minimal Profile.
Comment #6
saschaeggiIncluded in Alpha20
Comment #7
saschaeggi