Hi,
I have a crash on 2.x with PHP8.
Problem/Motivation
TypeError: str_replace(): Argument #2 ($replace) must be of type array|string, int given in str_replace() (line 708 of (...)/modules/contrib/entity_share/modules/entity_share_client/src/Service/JsonapiHelper.php)
Steps to reproduce
Go to the "Pull entities" page, select a remote server then select a channel.
Proposed resolution
Force the $remote_entity_id value to string.
Patch comming right up.
Seb
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entity_share-php8_stricttype-3315305-2.patch | 912 bytes | seb_r |
Comments
Comment #2
seb_r commentedComment #3
seb_r commentedComment #4
erikaagp commentedIt seems good to me.
Comment #5
grimreaperComment #7
grimreaperHi,
This is now merged.
I will create a last release for 8.x-2.x and then mark it as unsupported.