Natalya
Natalya

Reputation: 123

Prestashop PHP Fatal error: Uncaught Error: Class 'Tools'

Having this error on latest prestashop version:

PHP Fatal error: Uncaught Error: Class 'Tools' not found in /home/domain_name/config/config.inc.php:86 thrown in /home/domain_name/config/config.inc.php on line 86

Prestashop version is 1.7.1.2. I tried to download this version again and replaced config/folder.

This didnt work. Have no clue what to do

Upvotes: 1

Views: 3467

Answers (2)

Sahin S.
Sahin S.

Reputation: 51

Try to delete /var/cache (for 1.7)

And/or check please:

File owner and permissions,
Is there classes/Tools.php?
Replace all files with the same version.

Upvotes: 0

MAC
MAC

Reputation: 378

First, you have to install the Prestashop 1.7.1.2 by giving permission 0755 to folder. Then try to replace the config folder.

Note: Make sure that you are replaced the folder from Prestashop 1.7.x.x not from Prestashop 1.6 or 1.5.

Upvotes: 1

Related Questions