Error during import using feeds 8.x-3.x on Drupal core 8.2

Fatal error:  Call to undefined method Drupal\Core\Entity\ContentEntityType::entityClassImplements() in /var/www/html/scca/app/modules/contrib/feeds/src/Feeds/Target/EntityReference.php on line 89

I created a patch file for, and should in the future maybe should have a release candidate tag to simplify the instal of it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aluzzardi created an issue. See original summary.

aluzzardi’s picture

FileSize
742 bytes
MegaChriz’s picture

Status: Active » Closed (duplicate)

This has been reported before in #2897213: Mark latest version as requiring core 8.3+, so closing this as a duplicate.

I'm not so sure if older versions of core should remain to be supported. Should they?

aluzzardi’s picture

hi @MegaChriz

No, this is different, I'm making a patch to make the feeds work with the version 8.2 of the core.
Hi makes a patch to force the feeds to only work with the version 8.3 or higher.
Pleas check both.

MegaChriz’s picture

But it is originating from the same issue: error on 8.2.
There are just two ways to fix it: either adding a deprecated method back and keep supporting 8.2 or explicitly remove 8.2 support.

aluzzardi’s picture

So basically you decide to explicitly remove the support to 8.2?
Well, at least the patch is arelady here if you anyone needs to use it.

MegaChriz’s picture

I have not decided yet, though I'm more leaning towards to remove 8.2 support because 8.2 is officially no longer supported and because in order to support 8.2 we have to use deprecated code.

MegaChriz’s picture

Okay, I have asked someone from the Drupal core team and the advice for module maintainers is to officially only support the latest stable Drupal core release. I think it makes sense to do that. This way we are free to use the latest API's during development.

People that cannot upgrade to 8.3 yet, can then indeed use your patch. So thanks for posting!

aluzzardi’s picture

@MegaChriz thanks for your complete answers!

Kind regards