after i upgrade y surce code of my plugin i get this error
in local plugin work fine but when i install it on my server in nop ver 4.5 iget this issue
so i test the the build of nopcomerce of Plugin 'Cash On Delivery (COD) plugin and I get the same issue
any idea ?
here is the full log file
Unhandled exception. System.Exception: Plugin 'Cash On Delivery (COD)'. Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
---> System.Exception: Plugin 'Cash On Delivery (COD)'. Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.<>c__DisplayClass14_4.<InitializePlugins>b__11(ValueTuple`2 pluginInfo)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig)
--- End of inner exception stack trace ---
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig)
--- End of inner exception stack trace ---
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig)
at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, WebApplicationBuilder builder)
at Program.<Main>$(String[] args)