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.