PHP Warning: ini_set() has been disabled for security reasons

Hi. Our website and dashboard are displaying an error message:
PHP Warning: ini_set() has been disabled for security reasons in /home/mojeauxb/public_html/wp-content/themes/pro/cornerstone/includes/classes/Tss/StyleParser.php on line 203.

We are using the latest version of WP, Pro, and php 7.4.23. We don’t have direct access to the php.ini file and our host is asking us to contact you to report the issue. Is there another possible solution besides updating the php.ini file?

Thank you in advance!!

Hi @jquinn33,

Thank you for writing in, please contact your hosting provider and ask how you can modify the site php.ini, disable_functions item and remove ini_set from the list.

Cheers,

Thank you, Friech! Will do! :slight_smile:

Hi @jquinn33,

You’re welcome! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.