How to fix the incompatible issue of the M2 Seo Core on M2.4.2?

Created by Rosa Truong, Modified on Thu, 18 Feb, 2021 at 2:58 PM by Rosa Truong

Issue:

We've updated to Magento 2.4.2; M2 Seo Core v1.0.0

 We get the following error when trying to access the catalog/category/index page in the Magento backend. 

Please could you create a patch for the extension and give it to us? 

 

Error: Call to a member function create() on null in /vendor/magento/module-catalog/Model/Category/DataProvider.php:663 Stack trace: #0 /app/code/Bss/SeoCore/Plugin/Model/Category/DataProvider.php(82): Magento\Catalog\Model\Category\DataProvider->getFieldsMap() #1 /generated/code/Bss/SeoCore/Plugin/Model/Category/DataProvider/Interceptor.php(41): Bss\SeoCore\Plugin\Model\Category\DataProvider->_getFieldsMap() #2 /app/code/Bss/SeoCore/Plugin/Model/Category/DataProvider.php(50): 


Solution:


The issue is caused due to the module Seo Core is not compatible with M2.4.2 at this time.

Hence, to fix it, please edit this file app/code/Bss/SeoCore/Plugin/Model/Category/DataProvider.php

Please check and replace the attachment file on your site.


If you have any issues, please feel free to contact us.

We're more than happy to support you.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article