An unexpected error occurred.

Permalink Browser Info Environment
After trying to update to the most recent version, my website will no longer load. I'm getting the following error: Class 'Concrete\Core\Package\ContentSwapper' not found

Type: Ticket
Status: Archived
izdesign
View Replies:
strike17 replied on at Permalink Reply
strike17
I ran into this too. Looks like if you are running the Concrete 5.7.x version with the updated Anitya 2.2 you'll get this since that CLASS isn't there in 5.7.x
Beware though, if you upgrade to Concrete 8.1 I ran into a ton of issues... Heck, i ran into issues installing both on a clean no content website. Not to happy with both Concrete and Anitya at the moment when I needed this website done this weekend.
izdesign replied on at Permalink Reply
izdesign
So how did you fix this? Did you restore a backup? I am small business with ZERO IT budget. I have to do all this myself. Any feedback would help. Thanks!
strike17 replied on at Permalink Reply
strike17
I'm guessing your running a version of concrete that isn't 5.8 yet? You may be able to comment out some stuff in the packages/theme_anitya/controller.php

If you have the Anitya package 2.2 while running 5.7, the controller.php tries to create MclContentSwapper which extends ContentSwapper, right in the controller... Which if it wants to be 5.7 compliant, it shouldn't be. I haven't tried this, since I'm running 5.8.1 now, but since 5.7 won't autmatically call the conentSwapper, I would try commenting out the whole class MclConentSwapper extends ContentSwapper {...} and also in that file the method function getContentSwapper(). Maybe put a # in front of "use Concrete\Core\Package\ContentSwapper" as well.

That should get you going if there isn't anything else i'm missing...
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

I cannot access this anymore since the update crashed my website.

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; EIE10;ENUSMSE; rv:11.0) like Gecko

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.