Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 4048828

    (@anonymized-4048828)

    Hi,

    This is due to the function “ini_set()” being disabled on your web server (or by your web hosting provider). You can safely ignore this warning, which should not show if WP_DEBUG is set to false in the wp_config.php file.

    Thread Starter csborgman

    (@csborgman)

    Looks like it is set to false in wp_config.php file:

    define('WP_DEBUG', false);

    Please advise. Thank you!

    Anonymous User 4048828

    (@anonymized-4048828)

    Hi,

    If you are allowed to set your own php.ini settings by your web host, then you’d need to set display_errors = 0.

    This is normally taken care of by WordPress using the WP_DEBUG directive , but is also dependent on the ability to use ini_set() so in your case does not work.

    The alternative is to manually modify the file wp-content/plugins/background-manager/vendor/Twig/lib/Twig/Autoloader.php and on line 25, add an @ sign before ini_set as following:

    @ini_set('unserialize_callback_func', 'spl_autoload_call');
    Thread Starter csborgman

    (@csborgman)

    OK, works perfect! I do have access to the php.ini file and made the change. Thank you!

    Anonymous User 4048828

    (@anonymized-4048828)

    Glad to hear it has been resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘…disabled for security reasons….’ is closed to new replies.