Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1470910

    Hi guys,
    I’ve followed Josue’s replies and install his code in my function.php.
    Unfortunately I got 4 warnings in my page where i put the short code: [sc_post_meta]
    Warning: Undefined variable $the_id in /home/clients/ca7e2af87e8817d7beea16693c3493d9/sites/esprit_colo/wp-content/themes/enfold-child/functions.php on line 46
    Warning: Undefined variable $the_id in /home/clients/ca7e2af87e8817d7beea16693c3493d9/sites/esprit_colo/wp-content/themes/enfold-child/functions.php on line 48
    Warning: Undefined variable $the_id in /home/clients/ca7e2af87e8817d7beea16693c3493d9/sites/esprit_colo/wp-content/themes/enfold-child/functions.php on line 48
    Warning: Undefined variable $the_id in /home/clients/ca7e2af87e8817d7beea16693c3493d9/sites/esprit_colo/wp-content/themes/enfold-child/functions.php on line 56
    Where am I wrong?
    I don’t know how to fix that.
    Any help will be appreciated.
    Thx

    P.S I’m currently with an old version 4.8.8 (I will upgrade it later) maybe it is an explanation…

    • This topic was modified 1 month, 1 week ago by rvga.
    #1470935

    Hey rvga,

    The version of the theme that you are running is very old, the first thing that you should do is to update it to the latest version. https://kriesi.at/documentation/enfold/theme-update/

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.