How to fix PictureService method not found error ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
I am trying to updating a plugin about watermark, but getting this error :(

Error SS : http://prnt.sc/av76pl

Sorry, if i had missing any same topic here btw.

Thanks
8 years ago
What version of NopCommerce are you on, and what plugin are you using? Does the error go away when you disable the plugin? Are you building the plugin from source or using a precompiled DLL? Also try cleaning and rebuilding the entire solution.

It looks like Autofac is trying to call a non-existent constructor of the PictureService class. Looking at Nop v3.7, it is missing the IDbContext parameter. Going through the git history, this parameter was added in Nop v3.6. So depending on your version of Nop and the plugin you are using, perhaps there are some DLLs that were built against older/different versions of Nop.
8 years ago
Its 3.60 NopCommerce version that i am using.

I have source code of plugin, its about watermark for product pictures but plugin's version 3.40 and i want to upgrade as far as I know.

I tried cleaning and building entire solution as you said but doesn't help :(

Actually PictureService has 2 constructor method and i am using second ctor with same parameters in base but still dont get it why cant find this constructor.

Thanks in advance
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.