cancel
Showing results for 
Search instead for 
Did you mean: 

Warning Facebook for magento 2

SOLVED

Warning Facebook for magento 2

Hello everyone,

 

on magento I have a problem when installing facebook for magento 2 or when I insert the facebook pixelsc code in the head.

 

The problem occurs when I save a product and it is as follows:

 

Warning: file_put_contents (/var/wwww/vhosts/mysites.com/httpdocs/var/cache//mage-tags/mage--295_REFLECTION): failed to open stream:
denied in /var/www/vhosts/mysites.com/httpdocs/vendor/colinmollenhour/cache-backend-file/File.php on line 691.

 

How can I solve?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Warning Facebook for magento 2

Hi @nipiol 

 

Please check if proper permissions are assigned to the folders and also try to flush cache once using the below command and then check the results.

php bin/magento cache:flush

Hope it helps!

 

Thank you.

View solution in original post

1 REPLY 1

Re: Warning Facebook for magento 2

Hi @nipiol 

 

Please check if proper permissions are assigned to the folders and also try to flush cache once using the below command and then check the results.

php bin/magento cache:flush

Hope it helps!

 

Thank you.