Error: Call to a member function get_template() on boolean
-
Hi Brecht,
I’m receiving the following error message:
‘CRITICAL Uncaught Error: Call to a member function get_template() on boolean ( wp-ultimate-recipe.php:263 )’
I have looked thru the plugin files, and I see where this method is defined on the WPUltimateRecipe class, but I have had no luck determining where it’s getting called from. The declaration is this line:
public function template( $type, $template ) { return $this->addon( 'custom-templates' )->get_template( $type, $template ); }
I’ve also not been able to locate any place in the files that ‘custom-templates’ is defined. I believe it may not be defined at all, causing addon() to evaluate to ‘false’ and throwing the error. Could this be the case?
The error does not seem to be effecting site performance, however I would like to resolve it as it will better allow me to address some other plugins that are adversely effecting my site.
Any help is greatly appreciated
Regards,
Kevin
The page I need help with: [log in to see the link]
- The topic ‘Error: Call to a member function get_template() on boolean’ is closed to new replies.