craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.22k stars 627 forks source link

[3.x]: An internal server error occurred. #12133

Closed handplant closed 1 year ago

handplant commented 1 year ago

What happened?

Description

After I updated Craft CMS 3, I get the following PHP error in CP

The file or directory to be published does not exist:
/vendor/craftcms/cms/src/web/assets/focusvisible/dist in vendor/yiisoft/yii2/web/AssetManager.php:467

Craft CMS version

3.7.56

PHP version

7.4.29

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

handplant commented 1 year ago

Downgrade to version 3.7.55.3 and it works again.

brandonkelly commented 1 year ago

Thanks for reporting that. I’m not able to reproduce but suspect it has something to do with CP resource caching. Should be fixed for the next release.

If you’d like to test, change your craftcms/cms requirement in composer.json to v3.x-dev as 3.7.56 and run composer update.

brandonkelly commented 1 year ago

Craft 3.7.57 and 4.2.8 are out now with that fix.