Support » Theme: Customizr » Error code

  • Resolved Moira.Akerman



    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:

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    I switched to Polylang and now it works!

    Thank you for your time and help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error code’ is closed to new replies.