- πΏπ¦South Africa niki v
I have the same issue, attempting to remove field values gives "The website encountered an unexpected error. Please try again later." wsod although it doesn't break the site.
log message is
Error: Call to undefined method Drupal\Core\Config\Entity\ConfigEntityType::isSubclassOf() in Drupal\commerce_stock_local\Form\PrepareUninstallForm->submitForm() (line 90 of C:\wamp64\www\D10ck\kickstart\web\modules\contrib\commerce_stock\modules\local_storage\src\Form\PrepareUninstallForm.php)Is this a core problem or some other conflict?
I'm using Commerce Kickstart 3 locally, product imports are failing and I was testing to see whether the stock module is implicated.
- π·πΊRussia andrey.troeglazov
I have faced the same issue, attaching the patch to fix.
- π·πΈSerbia darko_antunovic
@andrey.troeglazov
I can confirm that the patch works for me. I am using commerce_stock:1.3 , drupal 10.2.2 with PHP 8.1.17
isSubclassOf()
is deprecated as of Drupal 10. This patch works, and there is also a merge request over on https://www.drupal.org/project/commerce_stock/issues/3416637 π Can't uninstall - WSOD - commerce_stock_always_in_stock field values don't delete Needs review