• Resolved osqui666

    (@osqui666)


    I have NextGEN v 3.26, PHP 7.4 and WordPress 6. Since last night I get the following message:
    Warning: ini_set() has been disabled for security reasons in /home/XXXXXXXX/public_html/GAbierta/wp-content/plugins/nextgen-gallery/vendor/imagely/pope-framework/lib/class.component_registry.php on line 60

    I tried uninstall, delete, reinstall, reinstall by hand, compare class.component_registry.php file with old versions of BK (can’t find any errors), but it still doesn’t work.

    Can somebody help me?

    • This topic was modified 2 years, 4 months ago by osqui666.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @osqui666,

    Our plugin extensively uses ini_set() function for the various reasons ( in this particular instance it is being used for the error logging ) and it appears that your server’s configuration doesn’t like that.

    Since this is only a non functionally affecting warning, you can either simply disable WP Debug by editing your site’s wp_config.php file by FTP and replacing the following constant:

    define('WP_DEBUG', true);

    with these:

    
    ini_set('display_errors','Off');
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    

    Alternately, if you have edit access to php.ini file from your server, you can simply exclude ini_set from the disable_functions list then restart your server.

    Hope this helps

    • This reply was modified 2 years, 4 months ago by Imagely.
    • This reply was modified 2 years, 4 months ago by Imagely.
    Thread Starter osqui666

    (@osqui666)

    @imagely thank you very much for your answer and help! Problem solved, thank you very much!!!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ini_set() has been disabled for security reasons’ is closed to new replies.