spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Unable to locate a class or view for component [icon-label] #275

Closed MianSaleem closed 3 years ago

MianSaleem commented 3 years ago

I tried to update mailcoach to v3 from v2 and getting the following error

InvalidArgumentException
Unable to locate a class or view for component [icon-label].
http://be-tec-net.test/lm/campaigns

Stack trace: https://flareapp.io/share/95J8ea0P

Can you please help me resolve this. Thank you

freekmurze commented 3 years ago

Did you run this command?

php artisan clear:views

MianSaleem commented 3 years ago

Yes, I did clear the views, cache and config too :(

freekmurze commented 3 years ago

Did you remove the cache in the bootstrap dorectory?

MianSaleem commented 3 years ago

yes, the cache were cleared too. I did again but still same error.

freekmurze commented 3 years ago

Then it's probably caused by something specific to your setup. Several users were able to upgrade.

When you find out what the problem was, please post it here to help others.

riasvdv commented 3 years ago

Did you republish the views? Make sure the views in resources/views/vendor/mailcoach are the latest

MianSaleem commented 3 years ago

@riasvdv Yes, it was the views. I was keep publishing the assets of thinking that these are views. Thank you very much @riasvdv & @freekmurze