Fatal error: Uncaught TypeError: Argument 1 passed to get_yoast_title() must be an instance of WP_Post, null given, called in /srv/users/cjlaw/apps/cjlaw/public/wp-content/themes/cj-law/functions.php on line 219 and defined in /srv/users/cjlaw/apps/cjlaw/public/wp-content/themes/cj-law/functions.php:193
Stack trace:
#0 /srv/users/cjlaw/apps/cjlaw/public/wp-content/themes/cj-law/functions.php(219): get_yoast_title(NULL)
#1 /srv/users/cjlaw/apps/cjlaw/public/wp-includes/class-wp-hook.php(324): add_custom_schema('')
#2 /srv/users/cjlaw/apps/cjlaw/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /srv/users/cjlaw/apps/cjlaw/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /srv/users/cjlaw/apps/cjlaw/public/wp-includes/general-template.php(3065): do_action('wp_head')
#5 /srv/users/cjlaw/apps/cjlaw/public/wp-content/themes/cj-law/header.php(9): wp_head()
#6 /srv/users/cjlaw/apps/cjlaw/public/wp-includes/template.php(810): require_once('/srv/users/cjla...')
#7 /srv/users/cjlaw/apps in /srv/users/cjlaw/apps/cjlaw/public/wp-content/themes/cj-law/functions.php on line 193