Active
Project:
Commerce Stock
Version:
8.x-1.0-alpha6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2019 at 15:57 UTC
Updated:
21 Jun 2025 at 09:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
guy_schneerson commentedDid you click the "Remove Field values" on screen1.jpg ?
Comment #3
guy_schneerson commentedalso, test on the latest dev version
Comment #4
olafkarsten commentedClosing this due to inactivity
Comment #5
sahilgidwani commentedComment #6
sahilgidwani commented@guy_schneerson When I click on "Remove field values" it gives me the following error.
Comment #7
sahilgidwani commentedComment #8
guy_schneerson commentedJust tested and uninstalled with no problems.
This may be an issue with another module you have installed. If you have easy breadcrumbs this may be the issue: https://www.drupal.org/project/easy_breadcrumb/issues/3164758#comment-13...
If not look at other modules you have installed.
Hope you figure it out and let me know how you get one.
Comment #9
guy_schneerson commentedClosing as no activity and can not recreate.
Comment #10
niki v commentedI 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.
Comment #11
andrey.troeglazov commentedI have faced the same issue, attaching the patch to fix.
Comment #12
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
Comment #13
dkosbob commentedisSubclassOf()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/3416637Comment #14
mydot commentedThe same error still consists for the version 3.0.0-beta1