Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @zetoun17 – Have you tried removing that section of code noted in the file around line 372?

    Although this is likely rooted in a conflict with either another active plugin and/or your current theme, it may be easier/faster to remove the add_ngg_pro_page_parameter() function from that file instead.

    – Cais.

    Thread Starter zetoun17

    (@zetoun17)

    i use these plugins :
    nextgen custom fields v1.2.4
    WPML 3.3.7
    WPML String Translation 2.3.7

    i have modified the function

    add_ngg_pro_page_parameter() {
    return;
    }

    but i have got this now :
    Undefined index: import_singular in /mysite/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_addgallery_page/templates/import_media_library.php on line 16

    Plugin Contributor photocrati

    (@photocrati)

    @zetoun17 – Your modification does not actually “remove” it from the processes.

    Try something like this if you want to retain the reference:

    /** add_ngg_pro_page_parameter() {
    return;
    } */

    Thanks!

    – Cais.

    Thread Starter zetoun17

    (@zetoun17)

    i cant remove this function because it generate another error :

    call_user_func_array() expects parameter 1 to be a valid callback, class 'M_Third_Party_Compat' does not have a method 'add_ngg_pro_page_parameter' in /mysite/wp-includes/plugin.php on line 601

    i tried this, but it didn’t work

    add_action ('plugins_loaded','remove_ngg_errors');
    function remove_ngg_errors()
    { remove_action('the_post',array('M_Third_Party_Compat','add_ngg_pro_page_parameter'));
    }

    finally i commented the line 133 in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/third_party_compat/module.third_party_compat.php

    /*add_action('the_post', array(&$this, 'add_ngg_pro_page_parameter'));*/

    its ugly but it works

    Plugin Contributor photocrati

    (@photocrati)

    @zetoun17 – Thanks for the update!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined property: stdClass::$content’ is closed to new replies.