Closed muranod closed 2 years ago
This looks suspiciously like a problem generated by PHP 8. What version of PHP are you using? We'll probably need to investigate a fix by looking at any PHP 8 fixes in D7 Entity API.
As a quick and dirty fix, see if you can set your site to use PHP 7.4?
Confirmed. See D7 Entity API issue https://www.drupal.org/project/entity/issues/3249556.
I'll work on a patch.
@muranod can you please test the PR I just provided and confirm that it removes these deprecation notices? PR #128.
Thanks, for the messages. Yes, it’s php 8.1.2 because I’m setting both backdrop and drupal 9, was hoping I’d have fewer issues transitioning to d10.
My skill level is not all that high – do I need to patch the current module (if I can figure that out – haven’t done that in years) or download the tar/zip file and install. Tried the latter, but update now cites unresolved dependencies and won’t run.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Alejandro @.> Sent: Wednesday, April 6, 2022 6:38 PM To: @.> Cc: @.>; @.> Subject: Re: [backdrop-contrib/entity_plus] Deprecated functions - Can't run site update.php because of entity_plus (Issue #127)
@muranodhttps://github.com/muranod can you please test the PR I just provided and confirm that it removes these deprecation notices? PR #128https://github.com/backdrop-contrib/entity_plus/pull/128.
— Reply to this email directly, view it on GitHubhttps://github.com/backdrop-contrib/entity_plus/issues/127#issuecomment-1090882546, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUVECEQ26FWBIKK5GHYHQTVDYG6PANCNFSM5SXM7BSA. You are receiving this because you were mentioned.Message ID: @.***>
Thanks for the quick responses. Yes, it is php 8.1.2 – setting up the same site in both Backdrop and Drupal 9 – was hoping using v8 would ease the transition to D10.
Do I need to patch the module with the code or can I dl and install the tar/zip file? I tried that and it installed, but I get “unresolved dependency” errors re: needing EP v. 1.0.5 and the update won’t run.
Apologies for my lack of skills in this area.
Error Unresolved dependency
Entity Plus (Version =1.0.5 required) more Error Unresolved dependency
Entity Plus (Version =1.0.5 required) more Error Unresolved dependency
Entity Plus (Version =1.0.5 required) more Error Unresolved dependency
Entity Plus (Version =1.0.5 required) more
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Alejandro @.> Sent: Wednesday, April 6, 2022 6:38 PM To: @.> Cc: @.>; @.> Subject: Re: [backdrop-contrib/entity_plus] Deprecated functions - Can't run site update.php because of entity_plus (Issue #127)
@muranodhttps://github.com/muranod can you please test the PR I just provided and confirm that it removes these deprecation notices? PR #128https://github.com/backdrop-contrib/entity_plus/pull/128.
— Reply to this email directly, view it on GitHubhttps://github.com/backdrop-contrib/entity_plus/issues/127#issuecomment-1090882546, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUVECEQ26FWBIKK5GHYHQTVDYG6PANCNFSM5SXM7BSA. You are receiving this because you were mentioned.Message ID: @.***>
@muranod thanks for the reply. The "Unresolved dependency" error is unrelated to this fix. It means that you probably downloaded the "dev" version of Entity Plus and a module that depends on it (Rules? Entity Tokens?) is complaining. The way to fix this new error is to be sure you actually patch the latest release of Entity Plus, not the dev version. You can find the latest release here: https://github.com/backdrop-contrib/entity_plus/releases/download/1.x-1.0.15/entity_plus.zip
You'll need to download that, patch it, and then manually move it to your modules
folder. Remove the old Entity Plus folder from there.
It looks like the issue you reported has been fixed, though.
If you need further help please ping me on the Backdrop Zulip channel. https://backdrop.zulipchat.com/
Awesome. Thanks, Alejandro!
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Alejandro @.> Sent: Thursday, April 7, 2022 8:58 AM To: @.> Cc: @.>; @.> Subject: Re: [backdrop-contrib/entity_plus] Deprecated functions - Can't run site update.php because of entity_plus (Issue #127)
@muranodhttps://github.com/muranod thanks for the reply. The "Unresolved dependency" error is unrelated to this fix. It means that you probably downloaded the "dev" version of Entity Plus and a module that depends on it (Rules? Entity Tokens?) is complaining. The way to fix this new error is to be sure you actually patch the latest release of Entity Plus, not the dev version. You can find the latest release here: https://github.com/backdrop-contrib/entity_plus/releases/download/1.x-1.0.15/entity_plus.zip
You'll need to download that, patch it, and then manually move it to your modules folder. Remove the old Entity Plus folder from there.
It looks like the issue you reported has been fixed, though.
If you need further help please ping me on the Backdrop Zulip channel. https://backdrop.zulipchat.com/
— Reply to this email directly, view it on GitHubhttps://github.com/backdrop-contrib/entity_plus/issues/127#issuecomment-1091704771, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUVECDJMC453DIEFSXMYJLVD3LYFANCNFSM5SXM7BSA. You are receiving this because you were mentioned.Message ID: @.***>
Thanks much for this, Alejandro.
Sorry I didn’t respond sooner - I have a houseguest staying in the room with the dev computer, so I haven’t been able to work on this over the weekend.
I did try many times last week, but couldn’t get the patch to apply – my lack of skills are at fault.
I will return to trying it this week.
Cheers!
Dan Murano
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Alejandro @.> Sent: Thursday, April 7, 2022 8:58 AM To: @.> Cc: @.>; @.> Subject: Re: [backdrop-contrib/entity_plus] Deprecated functions - Can't run site update.php because of entity_plus (Issue #127)
@muranodhttps://github.com/muranod thanks for the reply. The "Unresolved dependency" error is unrelated to this fix. It means that you probably downloaded the "dev" version of Entity Plus and a module that depends on it (Rules? Entity Tokens?) is complaining. The way to fix this new error is to be sure you actually patch the latest release of Entity Plus, not the dev version. You can find the latest release here: https://github.com/backdrop-contrib/entity_plus/releases/download/1.x-1.0.15/entity_plus.zip
You'll need to download that, patch it, and then manually move it to your modules folder. Remove the old Entity Plus folder from there.
It looks like the issue you reported has been fixed, though.
If you need further help please ping me on the Backdrop Zulip channel. https://backdrop.zulipchat.com/
— Reply to this email directly, view it on GitHubhttps://github.com/backdrop-contrib/entity_plus/issues/127#issuecomment-1091704771, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUVECDJMC453DIEFSXMYJLVD3LYFANCNFSM5SXM7BSA. You are receiving this because you were mentioned.Message ID: @.***>
1.x-1.0.15
I think all was fine when I worked on the site five or six days ago.
Noticed this right after updating core to latest version and then running update.php, both automatically and from the address bar.