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;

CommentFileSizeAuthor
#2 entityconnect-issues-3261707.patch578 bytesurashima82

Comments

urashima82 created an issue. See original summary.

urashima82’s picture

StatusFileSize
new578 bytes
urashima82’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: entityconnect-issues-3261707.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

astonvictor’s picture

Status: Needs work » Closed (outdated)

D7 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.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.