Each time we update our theme a warning message appears at the top of our website and we’re required to manually edit code to remove it. For example, we updated to WordPress 5.9 and are running Pro-Child Theme.
The warning message that appeared was…
“PHP Warning: ini_set() has been disabled for security reasons in /home/fritz17/public_html/wp-content/themes/pro/cornerstone/includes/classes/Tss/StyleParser.php on line 203.”
The fix is to change line 203 in StyleParser.php FROM
ini_set(‘xdebug.max_nesting_level’, 500);
TO
@ini_set(‘xdebug.max_nesting_level’, 500);
The “@” is the PHP code operator meaning to suppress any warning message. That fix would be simple and riskless for the theme maker to make to their code.