Jump to content
ZAJDAN

Warning: Function hookExec() is deprecated

Recommended Posts

Ahoj,

na veřejném hostingu běží vše v pořádku

udělal jsem kopii shopu k sobě na lokalní server

po spuštění linku localhost:84 shop naběhne, ale ukáže hlášení:

Warning: Function hookExec() is deprecated /mnt/www/..../classes/Tools.php on line 1777
Warning: Function addCSS() is deprecated /mnt/www/..../modules/ogoogleplusone/ogoogleplusone.php on line 590

Prestashop version: 1.5.3.1

Server version: Apache/2.4.10 (Debian)

PHP 5.6.7-1 (cli)

 

 

I have made a copy of webshop from public server to my local server, on public server all run correctly

when I launch the webshop on my local, browser shows me:

Warning: Function hookExec() is deprecated /mnt/www/..../classes/Tools.php on line 1777
Warning: Function addCSS() /mnt/www/..../modules/ogoogleplusone/ogoogleplusone.php on line 590

Prestashop version: 1.5.3.1

Server version: Apache/2.4.10 (Debian)

PHP 5.6.7-1 (cli)

Edited by ZAJDAN

Share this post


Link to post
Share on other sites

probably I have solved this case via set permissions for directory cache:
chmod -R 777 /mnt/www/....cache/

chown -R www-data:www-data /mnt/www/....cache/

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More