PHP Fatal error: Call to undefined function et_get_primary_category()

1 reply2 participantsUpdated by Jack Richardson

  • Avatar: danghaitrieu91
    danghaitrieu91
    Participant

    I just update the theme Legenda to Version 2.9.1 .
    The blog section of the website has the error message.
    I checked and get series the following error in the php-fpm-error.log on the server:

    PHP Fatal error: Call to undefined function et_get_primary_category () in ../wp-content/themes/legenda/single.php on line 113.
    PHP Fatal error: Call to undefined function et_get_primary_category () in ../wp-content/themes/legenda/single.php on line 113.
    ….

    -I have replaced temporary the file single.php using file single.php in the old version. Everything was back to normal.

    How can I fix it??

    1 Answer

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please download Legenda version 2.9.2 and update the theme. This problem is fixed there.

    Sorry for inconveniences.

    Best regards,
    Jack Richardson.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register