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.
I tried it with PHP 7.2 and I get the follwing:
Fatal error: Declaration of RedhenOrgEntityController::save($org) must be compatible with EntityAPIController::save($entity, ?DatabaseTransaction $transaction = NULL) in /www/htdocs/example.com/sites/all/modules/redhen/modules/redhen_org/lib/redhen_org.controller.inc on line 88
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-2937481-3-6.txt | 536 bytes | samuel.mortenson |
#6 | 2937481-6.patch | 1.22 KB | samuel.mortenson |
Comments
Comment #2
sahaj CreditAttribution: sahaj commentedAny idea how to solve this?
Comment #3
mnordstrom CreditAttribution: mnordstrom for Mediamaisteri Oy commentedError solved with the patch attached.
Comment #4
gcbComment #5
johnhanley CreditAttribution: johnhanley as a volunteer commentedThe same is true for redhen_relation_role.controller.inc:
Fatal error: Declaration of RedhenRelationRoleEntityController::save($relation_role) must be compatible with EntityAPIControllerExportable::save($entity, ?DatabaseTransaction $transaction = NULL) in /www/htdocsl/example.com/sites/all/modules/redhen/modules/redhen_relation/lib/redhen_relation_role.controller.inc on line 27
Line 22 Before:
public function save($relation_role) {
Line 22 After:
public function save($relation_role, DatabaseTransaction $transaction = NULL) {
Comment #6
samuel.mortensonAddressed #5
Comment #7
fenstratComment #9
gcbthanks all! This is committed and will be in the next release.