Closed lushkant closed 1 year ago
Looks like in some post types where the doc returns a bool our get_settings call is throwing an error, let's add a conditional and return early if it is not a valid object.
https://github.com/analogwp/analogwp-templates/blob/d0cdfb1782f2d63f1cda0def5f318ad6512bcf07/inc/Utils.php#L720
Looks like in some post types where the doc returns a bool our get_settings call is throwing an error, let's add a conditional and return early if it is not a valid object.
https://github.com/analogwp/analogwp-templates/blob/d0cdfb1782f2d63f1cda0def5f318ad6512bcf07/inc/Utils.php#L720