Notice: Undefined index: profession_id in /var/www/wordpress/wp-content/plugins/afford-directory/inc/functions.php on line 490

Fatal error: Uncaught TypeError: Argument 1 passed to afford_get_profession_name() must be of the type string, null given, called in /var/www/wordpress/wp-content/plugins/afford-directory/inc/functions.php on line 491 and defined in /var/www/wordpress/wp-content/plugins/afford-directory/inc/professionals_functions.php:348 Stack trace: #0 /var/www/wordpress/wp-content/plugins/afford-directory/inc/functions.php(491): afford_get_profession_name(NULL) #1 /var/www/wordpress/wp-content/plugins/afford-directory/inc/functions.php(169): get_afford_dir_url_vars() #2 /var/www/wordpress/wp-content/plugins/afford-directory/front/templates/pagination-template.php(14): pagination() #3 /var/www/wordpress/wp-includes/template-loader.php(106): include('/var/www/wordpr...') #4 /var/www/wordpress/wp-blog-header.php(19): require_once('/var/www/wordpr...') #5 /var/www/wordpress/index.php(17): require('/var/www/wordpr...') #6 {main} thrown in /var/www/wordpress/wp-content/plugins/afford-directory/inc/professionals_functions.php on line 348