Error after WordPress update

0

Yesterday I did Update to all Plugins and WordPress core (4.0) of my site.

I even did some posts, so everything was ok.

Today, give me this error:

  

Fatal error: Call to undefined function get_category_id () in   /home/vertical/public_html/wp/wp-content/themes/VideoTheme/VideoThemeRes/index.php   online 6

I have tried to run the backup through UpdraftPlus Backup, but it is failing!

    
asked by anonymous 21.11.2014 / 11:40

1 answer

1

I have already solved this problem a few months ago, but I leave here the answer in case this problem arises for anyone else.

It seems that the names of the functions have changed in this update, and something will have gone wrong in the update that did not change them.

In this case:

get_category_id () - > get_cat_ID ()

I also leave another function where this happened to me:

ds_get_excerpt () - > get_the_excerpt ()

    
25.08.2015 / 15:39