Plugin development, cannot cast A model to model B

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
I developed a plugin, in local it works perfectly and it do not throw any errors,  but after installation on live server i got error where it says
[A]ProductBreadcrumbModel cannot be cast to [B]ProductBreadcrumbModel. Type A originates from 'Nop.Web, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'Nop.Web.dll'. Type B originates from 'Nop.Plugin.Misc.ModularProduct, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'Plugins\bin\Nop.Plugin.Misc.ModularProduct.dll'.

Could you guys tell me how to fix this issue?
4 years ago
Edit name of ProductBreadcrumbModel class of your plugin.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.