WordPress.org

Support

Support » Plugins and Hacks » [Plugin: stella plugin] Error

[Plugin: stella plugin] Error

  • nairox
    Member

    @nairox

    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ruslan.Khakimov
    Member

    @ruslankhakimov

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

    nairox
    Member

    @nairox

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

    Plugin Author Ruslan.Khakimov
    Member

    @ruslankhakimov

    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;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: stella plugin] Error’ is closed to new replies.