Closed lukastransom closed 2 years ago
This ended up being because there was a custom module with the handle of app
that was being bootstrapped:
'modules' => [
'app' => \modules\Module::class,
],
Which, with the way controller routing works, meant that any requests that needed to use Craft's AppController (like the Plugin Store) were getting sent to the custom module.
Renaming the module handle resolved it.
For posterity, probably worth mentioning that there would be a similar naming conflict issue with any of Craft's other controllers as well. https://github.com/craftcms/cms/tree/develop/src/controllers
What happened?
Description
After a Craft 3 → Craft 4 migration, my site can no longer access the Craft Plugin Store from the control panel. I receive the following error:
Looking at the browser console, I also see the following errors (though they appear on every page, not just the Plugin Store):
Steps to reproduce
Expected behavior
Be able to load, view, purchase plugins from the Plugin Store
Actual behavior
Error:
The Plugin Store is not available, please try again later.
I've sent all the project files to support@craftcms.com. Any help in understanding this would be greatly appreciated. Thanks!
Craft CMS version
4.2.1.1
PHP version
8.1.8
Operating system and version
Ubuntu 20.04.4 LTS
Database type and version
MySQL 8.0.30
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.10-23)
Installed plugins and versions