• Hi,

    For info: when using this plugin with Nextcellent Gallery Legacy plugin (instead of NextGen Gallery), a PHP warning is generated when using a gallery shortcode.

    The warning is generated by the following line in ngg_uploader.php:

    add_action(‘ngg_render_template’ , ‘ngg_test’ );//get rid of this, useless.

    The warning is:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ngg_test’ not found or invalid function name in /Users/XXXX/Sites/XXXX/wp-includes/plugin.php on line 192

    Commenting out or removing this line makes the warning go away.

    https://wordpress.org/plugins/nextgen-public-image-uploader/

  • The topic ‘PHP warning when using with Nextcellent Gallery’ is closed to new replies.