WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] Error code (3 posts)

  1. Moira.Akerman
    Member
    Posted 2 months ago #

    Hi!

    I´m trying to do a multilanguage site with finnish and english. I tried mqtranslate and it worked fine, except that the slider captions didn´t translate. Now I changed to Polylang, because it seemed like a better choice for this, but now I get this error code on the front page and it gets rid of all sliders etc:

    Notice: Trying to get property of non-object in /home/aegroupf/public_html/wp-includes/post-template.php on line 29

    on that line is this code: function get_the_ID() {
    return get_post()->ID;

    Very grateful for all help!
    my site: http://www.aegroup.fi

  2. ElectricFeet
    Member
    Posted 2 months ago #

    Moira, could you confirm you've followed the instructions for Polylang & Customizr here?

    p.s. If you're using m/qTranslate, you need to add:

    .qtrans_language_chooser {
        z-index: 250;
    }

    to make your flags clickable.

  3. Moira.Akerman
    Member
    Posted 1 month ago #

    I switched to Polylang and now it works!

    Thank you for your time and help!

Reply

You must log in to post.

About this Theme

About this Topic