WordPress.org

Support

Support » Plugins and Hacks » Background Manager » [Resolved] …disabled for security reasons….

[Resolved] …disabled for security reasons….

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author myatu

    @myatu

    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.

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

    define('WP_DEBUG', false);

    Please advise. Thank you!

    Plugin Author myatu

    @myatu

    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');

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

    Plugin Author myatu

    @myatu

    Glad to hear it has been resolved.

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