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.
The "rdf_schema_alter" hook is not implemented correctly, thus the third-party modules integration (in my case the "file" module) breaks the module.
In short: https://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook... states that the $schema variable have to be passes by reference, while the signature of the RDF module hook is not correct.
Patch attached (for 6.x-dev version)
Comment | File | Size | Author |
---|---|---|---|
#1 | rdf-2403259-bug-in-schema-alter-hook.diff | 510 bytes | thePanz |
Comments
Comment #1
thePanz CreditAttribution: thePanz commentedComment #2
thePanz CreditAttribution: thePanz commentedComment #3
srees CreditAttribution: srees commentedThis causes issues only when upgrading PHP beyond 5.3 based on our server setups. The attached patch corrected our inability to upload files with the fileframework module on a PHP 5.5.9 server.
Comment #4
apadernoI am closing this issue, which is for a Drupal version not supported.