Problem/Motivation
When I used entityconnect on a Drupal 7 with PHP 7.3, I cannot used the entityconnect edit form.
It returns a gray screen with an error 500 send by headers.
Proposed resolution
The problems comes from PHP 7.3 wich do not allow multiple implicite conversion after a variable initialization.
In the function entityconnect_add_edit_button_submit the variable $target_id is initialized as text but can be used as an array.
Changing initialization solved the problem.
From : $target_id = '';
To : $target_id = NULL;
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entityconnect-issues-3261707.patch | 578 bytes | urashima82 |
Comments
Comment #2
urashima82 commentedComment #3
urashima82 commentedComment #5
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.