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 |
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!
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...
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...
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.
To re-open this issue, reply to this message.
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.