New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

statamic broke on update

Frederic Bouin March 13, 2021 by Frederic Bouin

Statamic threw an error when trying to update to latest version. After exiting the updater in the cp suddenly my whole site broke.

I get this message on my browser when trying to load the site, I also tried clearing cache I got the same message in terminal.

Warning: require(/Users/username/Sites/sitename/vendor/composer/../statamic/cms/src/helpers.php): Failed to open stream: No such file or directory in /Users/username/Sites/sitename/vendor/composer/autoload_real.php on line 71

Can I somehow reinstall Statamic without loosing my files? I tried simply updating again via terminal but got the same message.

Answered by Duncan McClean!
>>>>>>> Answered <<<<<<<
2 Replies