apatan Posted September 16, 2017 Share Posted September 16, 2017 I have been trying to upgrade my website built on Prestashop 1.5.6 to 1.6 through the 1-Click-Upgrade module. Both my back office and front office are not working now and I am getting the following error. Fatal error: Class 'Collection' not found in /public_html/classes/ObjectModel.php on line 1519 I have also deleted the cache/class_index.php but it didn't seem to work. Please advice, what could be wrong. Thank you so much!! Link to comment Share on other sites More sharing options...
bellini13 Posted September 17, 2017 Share Posted September 17, 2017 This is the line of code from the error. The problem is that this line of code comes from PS v1.5.6 $definition['associations'][Collection::LANG_ALIAS] = array( In PS v1.6, the Collection class no longer exists. If I had to guess, you have some sort of server caching active. And the old class objects are in the cache. You will need to find some way of clearing whatever cache is being used. Link to comment Share on other sites More sharing options...
apatan Posted September 18, 2017 Author Share Posted September 18, 2017 (edited) I cleared the cache manually by clearing the content of the following folders cache/smarty/compile cache/smarty/cache img/tmp But still am getting the same error. Is there any change which I need to make in ObjectModel.php? Sending the ObjectModel.php file for your reference. My technical knowledge is limited hence I need a little handholding. Thanks so much Edited September 18, 2017 by apatan (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 19, 2017 Share Posted September 19, 2017 As I said... If I had to guess, you have some sort of server caching active. And the old class objects are in the cache. You will need to find some way of clearing whatever cache is being used. Try contacting your hosting provider for support. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now