Warning: Undefined property: WP_Post_Type::$term_id in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/taxonomy.php on line 1709 Warning: Undefined property: WP_Post_Type::$taxonomy in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/taxonomy.php on line 4652 Warning: Undefined property: WP_Post_Type::$slug in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/taxonomy.php on line 4666 Warning: Attempt to read property "query_var" on bool in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/taxonomy.php on line 4672 Fatal error: Uncaught TypeError: TUTOR\Course_Filter::filter_course_category_term_link(): Argument #2 ($term) must be of type WP_Term, WP_Post_Type given, called in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/class-wp-hook.php on line 324 and defined in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/tutor/classes/Course_Filter.php:336 Stack trace: #0 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/class-wp-hook.php(324): TUTOR\Course_Filter::filter_course_category_term_link('https://patmact...', Object(WP_Post_Type), NULL) #1 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters('https://patmact...', Array) #2 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/taxonomy.php(4733): apply_filters('term_link', 'https://patmact...', Object(WP_Post_Type), NULL) #3 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/WpUri.php(115): get_term_link(Object(WP_Post_Type), NULL) #4 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/meta.php(19): AIOSEO\Plugin\Common\Utils\Helpers->canonicalUrl() #5 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(168): require('/customers/0/4/...') #6 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(126): AIOSEO\Plugin\Common\Main\Head->output() #7 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/class-wp-hook.php(324): AIOSEO\Plugin\Common\Main\Head->wpHead('') #8 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/general-template.php(3064): do_action('wp_head') #11 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/template-canvas.php(17): wp_head() #12 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-includes/template-loader.php(106): include('/customers/0/4/...') #13 /customers/0/4/d/patmactech.co.uk/httpd.www/wp-blog-header.php(19): require_once('/customers/0/4/...') #14 /customers/0/4/d/patmactech.co.uk/httpd.www/index.php(17): require('/customers/0/4/...') #15 {main} thrown in /customers/0/4/d/patmactech.co.uk/httpd.www/wp-content/plugins/tutor/classes/Course_Filter.php on line 336