Title: PHP Deprecated: category_link
Last modified: April 1, 2020

---

# PHP Deprecated: category_link

 *  Resolved [tanerozturk](https://wordpress.org/support/users/tanerozturk/)
 * (@tanerozturk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/)
 * Hello Yoast,
 * Can you please update plugin and change:
    add_filter( ‘category_link’, array(
   $this, ‘no_category_base’ ) ); to add_filter( ‘term_link’, array( $this, ‘no_category_base’));
 * Info: ‘category_link’ has been deprecated. Use ‘term_link’ instead.
 * File path is: /inc/class-rewrite.php
 * Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [speedyp](https://wordpress.org/support/users/speedyp/)
 * (@speedyp)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12611986)
 * +1 Good call!
 *  [djennez](https://wordpress.org/support/users/djennez/)
 * (@djennez)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12613220)
 * Today’s hotfix of 13.4.1 fixes this issue.
 *  Thread Starter [tanerozturk](https://wordpress.org/support/users/tanerozturk/)
 * (@tanerozturk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12615603)
 * Thanks for hotfix!
 * Cheers
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12615995)
 * Hi [@tanerozturk](https://wordpress.org/support/users/tanerozturk/),
 * Thanks for the topic, we can indeed confirm the hotfix should fix the warning.
   
   I’ll set this topic to resolved.
 * Thanks again.
 *  [nobacherie](https://wordpress.org/support/users/nobacherie/)
 * (@nobacherie)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12618268)
 * On my divi site the problem still occurs even after the hotfix.
 * – Theme is not working anymore –
    -  This reply was modified 6 years, 2 months ago by [nobacherie](https://wordpress.org/support/users/nobacherie/).
    -  This reply was modified 6 years, 2 months ago by [nobacherie](https://wordpress.org/support/users/nobacherie/).
 *  [nobacherie](https://wordpress.org/support/users/nobacherie/)
 * (@nobacherie)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12621673)
 * It was another plugin that caused the error.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Deprecated: category_link’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [nobacherie](https://wordpress.org/support/users/nobacherie/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-category_link/#post-12621673)
 * Status: resolved