• I am now getting the following notices on the e-commerce section of my website:

    Warning: ini_set() has been disabled for security reasons in /home/lpphotos/public_html/wp-content/themes/photocrati-theme/template-cart.php on line 6
    Warning: ini_set() has been disabled for security reasons in /home/lpphotos/public_html/wp-content/themes/photocrati-theme/template-cart.php on line 7

    Don’t know how to get rid of this or if my e-commerce platform is working at all.
    thanks for your help

Viewing 1 replies (of 1 total)
  • wpismypuppet

    (@wordpressismypuppet)

    ini_set() is a PHP function, not a WordPress feature. One of your files, /home/lpphotos/public_html/wp-content/themes/photocrati-theme/template-cart.php, is using the function to attempt to change the php.ini default settings. Your hosting company has disabled that feature for security reasons, and for good reason… it is a security problem 🙂

    Find out from your hosting company the appropriate way to change the default php.ini file and make the ini_set() functions work there instead. Here is a link in case it helps:

    http://php.net/manual/en/function.ini-set.php

Viewing 1 replies (of 1 total)
  • The topic ‘Warning message from wordpress’ is closed to new replies.