We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Fatal Error

News and General

DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Tried to upgrade from v4.x to the new 5.x.

I get the admin log-in screen. But when I put in my username and password, I get the following error:

Fatal error: Uncaught Error: Class ‘EllisLab\ExpressionEngine\Service\Model\Association\Diff’ not found in /…/…/public_html/system/ee/EllisLab/ExpressionEngine/Service/Model/Association/Association.php

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Were you already on the latest v4? Did you use the in-app update or attempt a manual update?

       
DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Derek,

Yes. I was on whatever the last 4.x version was and I was doing a manual update.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

I’d double check that system/ee files are there and intact. Could be an FTP error and a truncated or missing file perhaps. If you find that to be the case, it’s probably best to re-deploy that folder to make sure other files weren’t also affected.

       
DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Derek,

I replaced the system/ee directory and was able to log in to the control panel. However, now there are further oddities:

1 - When I go to my blog, I receive the following message - Error: Non-existent class: Throttling

2 - I am unable to click on any dropdown menu in the control panel. Well… I can click on them but nothing happens…the control panel just reloads.

3 - If I click on any blog entry link in the entry manager, I receive the following message - Error: Unable to load requested publish tab file: tab.user.php.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

I think you’re having some file deployment issues. Lack of the Throttling class indicates a missing or corrupt native file. Failing menus in the control panel is likely a JavaScript error, and could also be caused by missing / corrupted files in themes/ee. And the last error looks like a missing or corrupt add-on file in the User module (system/user/addons/user).

       
DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Derek,

I have everything working except error #1. What would be the missing or corrupt native file(s)? What do you mean?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

system/ee/legacy/libraries/Throttling.php. But if you just replaced all of system/ee and then got that error, that gives me low confidence in the integrity of all of the files in system/ee, as it would have been added in that deployment.

       
DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Derek,

I did, indeed, replace all of system/ee. But when I looked at the Throttling.php file, it was size 0.

I replaced just that file and all is working now.

Thank you so much.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Glad to help! Hope that’s the only straggler. If you run into others and are using FTP, you might try a different FTP app.

       
DougH's avatar
DougH
205 posts
6 years ago
DougH's avatar DougH

Actually I’m now trying to one-click update from 5.0.1 to 5.1.1.

When I click “upgrade now”, it tells me it can’t find the themes folder.

The path is correct in settings. And it seems to be using a path from a few years ago (a previous host).

Is there anywhere else a themes path is set?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Are you using some sort of dynamic config (e.g. “Master” Config)? It sounds like you have a config override somewhere (via custom PHP) that’s detecting the wrong environment or similar. Or perhaps the old setting is still in the database, but your custom config is overriding it for normal requests perhaps. If you need a hand, please put in a support ticket and we’d be happy to troubleshoot and resolve it for you.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.