Title: plugin errors on WP v5.
Last modified: February 25, 2019

---

# plugin errors on WP v5.

 *  Resolved [callender](https://wordpress.org/support/users/jimcallender/)
 * (@jimcallender)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-errors-on-wp-v5/)
 * Hi there,
 * I have installed this plugin on wp v5.0.3, and getting the following errors below.
 * The feature (related posts) show, with these errors above it.
 * Can you advise on best solution to fix these? thank you. appreciate it.
 *     ```
       Notice: Undefined index: job in /sites/sifted/sifted-wp/web/app/plugins/same-category-posts/same-category-posts.php on line 381
   
       Notice: Undefined variable: term_query_in in /sites/sifted/sifted-wp/web/app/plugins/same-category-posts/same-category-posts.php on line 461
   
       Warning: Invalid argument supplied for foreach() in /sites/sifted/sifted-wp/web/app/plugins/same-category-posts/same-category-posts.php on line 505
       ```
   

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

 *  Thread Starter [callender](https://wordpress.org/support/users/jimcallender/)
 * (@jimcallender)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-errors-on-wp-v5/#post-11246637)
 * I am also seeing these errors in wp-admin for the widget-
 * Show job with:
    Notice: Undefined index: job in /sites/sifted/sifted-wp/web/app/
   plugins/same-category-posts/same-category-posts.php on line 753 />
 * Same “Tags” and exclude:
 * Notice: Undefined index: job in /sites/sifted/sifted-wp/web/app/plugins/same-
   category-posts/same-category-posts.php on line 765
 * Show article with:
 * (CTRL+Click: Multiselection and clear)
 * Notice: Undefined index: person_functional_expertise in /sites/sifted/sifted-
   wp/web/app/plugins/same-category-posts/same-category-posts.php on line 741
 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-errors-on-wp-v5/#post-11306506)
 * Sorry for the late reply.
    But now, we test with an actual WordPress version 
   5.1 and all works well for us. Can you update your used WordPress version to 
   5.1 and try it again?

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

The topic ‘plugin errors on WP v5.’ is closed to new replies.

 * ![](https://ps.w.org/same-category-posts/assets/icon-256x256.png?rev=1419009)
 * [Same Category Posts](https://wordpress.org/plugins/same-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/same-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/same-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/same-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/same-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/same-category-posts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-errors-on-wp-v5/#post-11306506)
 * Status: resolved