WordPress.org

Ready to get started?Download WordPress

Forums

Stella plugin
[Plugin: stella plugin] Error (4 posts)

  1. nairox
    Member
    Posted 1 year ago #

    Hi... I'm getting this error

    Warning: Missing argument 2 for Post_Localizer::localize_title() in /home/hacerdin/public_html/catalizadores.info/wp-content/plugins/stella-free/classes/class-post-localizer.php on line 186

    Am i missing something on the configuration?

    Thanks

    http://wordpress.org/extend/plugins/stella-free/

  2. Ruslan.Khakimov
    Member
    Plugin Author

    Posted 1 year ago #

    nairox, can you tell more detail how you get this message?

  3. nairox
    Member
    Posted 1 year ago #

    Hi... it appears in the main menu of the site.. no idea why

  4. Ruslan.Khakimov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    It looks like your slider or theme don't send post ID to the
    the_title() function correctly. It need to research this problem.As a
    quick solution change function loclize title to this:

    function localize_title( $title, $id = ''){
    if( '' == $id) return '';
    if ( STELLA_CURRENT_LANG != STELLA_DEFAULT_LANG ){
    $title_new = get_post_meta( $id, '_title-' . STELLA_CURRENT_LANG, true );
    if ( '' != $title_new || ! $this->use_default_lang_values )
    return $title_new;
    }
    return $title;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.