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??
Site URL: hidden Theme version: 2.9.1 WooCommerce version: 2.4.7
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!