Hello, I need help solving this problem.
I have the following code snippet (I put the line number to facilitate):
**186** if ( function_exists( self::$function_val() ) === TRUE ){
**187** call_user_func( self::$function_val() );
**188** }
But the following error appears on the screen:
Fatal error: Call to undefined method Widgets :: contacts () in /var/www/html/ui/includes/class_widgets.php on line 186
The function Widgets :: contacts () does not really exist, but the purpose of function_exists is not to verify this and only return TRUE or FALSE ??