• Resolved walkenppc

    (@walkenppc)


    Hey, when I upgraded to 2.7 today I also upgraded my NextGen Gallery plugin. Everything works fine except I get this error whenever I try to save a post that I’m working on:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘searchnggallerytags’ was given in /public_html/wp-includes/plugin.php on line 166

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘searchnggallerytags’ was given in /public_html/wp-includes/plugin.php on line 166

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/plugin.php:166) in /public_html/wp-includes/pluggable.php on line 850

    Right now I have to deactivate the plugin to save anything! My theme only calls the nextgen gallery header for those pages that are in my “gallery” category, fyi.
    Please help!

Viewing 15 replies - 1 through 15 (of 23 total)
  • Please delete the plugin folder and reload all files again

    Thread Starter walkenppc

    (@walkenppc)

    Same problem with the same error messages, even after upgrading to 1.01. Any other ideas?

    Thread Starter walkenppc

    (@walkenppc)

    btw I know things are probably crazy right now, thanks for taking the time to quickly get back to me.

    The filter “searchnggallerytags” is not longer a part of NextGEN-Gallery. I feel you have not proper updated all files or some other older with old files. Please recheck via FTP if you have only on plugin folder (nextgen-gallery)

    I have same problem. I have deactivated and removed directory from plugin directory and downloaded latest version (1.0.1) and installed and activated.

    Am I missing something?

    normally not, deactivate all other plugins for a test

    Thread Starter walkenppc

    (@walkenppc)

    Hey! I believe I may have a clue. I deactivated every plugin except NextGen, and then one by one reactivated them. The plugin that caused the error seems to be Search Unleashed, if I deactivate it it works fine! I’m sure you don’t know how to fix it since it’s their plugin, but maybe this helps.

    Ahhh, that’s the problem. Try to reset Search Unleashed to default settings, I belive it still remind the old filter settings…

    Well, I have that plug in as well, so maybe you are on to something there. Odd that it would complain about one plugin, but really be another plugin that caused the problem. I will test it out.

    So, why would Search Unleashed have a problem when NextGen was active? If I deactivate NextGen, I can reindex, etc. with Search Unleashed. However, if I active NextGen, Search Unleashed errors when I try to reindex posts.

    Because Search Unleashed recognize that Nextgen added some filter hook (v0.99) and added the gallery to the post afterwards. Now you update NextGEN Gallery and I have changed the filter name, so Search Unleashed needs to be reset or reinit now…

    Ok. So, how do you reset or reinit Search Unleashed?

    BTW, thanks for the quick responses on the questions!

    Please ask the author of this plugin, I’ve currently no time to analyse this deeper, as my plugin still needs some rework.

    Thread Starter walkenppc

    (@walkenppc)

    Hey, I’ve uninstalled and then reinstalled the Search Unleashed plugin, and there is still an error. Looks like something we’ll have to take up with Search Unleashed.

    I’ll tag this as “Search Unleashed” and hopefully their developer will take a look. Thanks a lot Alex! The plugin is great!

    in search-unleashed/modules/nextgen_gallery.php lies the reference to the nextgen searchnggallerytags hook.

    // Action calls for all functions
    add_filter ('the_content', 'searchnggallerytags');
    add_filter ('the_excerpt', 'searchnggallerytags');

    simple workaround until the author fixes the plugin dependencies is to comment the lines.

    // Action calls for all functions
    //add_filter ('the_content', 'searchnggallerytags');
    //add_filter ('the_excerpt', 'searchnggallerytags');
Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Post Saving Error with NextGen Gallery’ is closed to new replies.