I have just moved my site onto the live server and imported my local db. It is a multi-site setup.

In the Entries section of the CP, when I click on an entry to edit it I get the following error page:

Unknown Class – yii\base\UnknownClassException Unable to find 'craft\services\EntryRevisions' in file: /home/careacas/vendor/craftcms/cms/src/services/EntryRevisions.php. Namespace missing?

Any ideas?

  • 1
    How did you deploy to the live site? It sounds like some files didn't get deployed properly. – Brad Bell Apr 23 '19 at 20:23
  • FTP. I will try again, and install Craft with composer and see what happens. Thanks for the response :) – jack4000 Apr 24 '19 at 6:36
  • 1
    Be sure and answer back if that solves it! :) – Brad Bell Apr 25 '19 at 22:57
  • It did solve it - thank you. – jack4000 Apr 26 '19 at 12:34

Try to replace or upload all the files again. A file is not fully uploaded and the reason of this error is that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.