Closed cjg89 closed 5 years ago
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'UCF_Resource_Link_PostType' does not have a method 'add_resource_link_types_fields' in /wordpress/wp-includes/class-wp-hook.php on line 286
Looks like these actions are getting registered referencing the wrong class name (should be add_action( '...', array( 'UCF_Resource_Link_Type', '...' ) instead of add_action( '...', array( 'UCF_Resource_Link_PostType', '...' ): https://github.com/UCF/UCF-Resource-Search-Plugin/blob/master/includes/ucf-resource-link-tax.php#L14-L17
add_action( '...', array( 'UCF_Resource_Link_Type', '...' )
add_action( '...', array( 'UCF_Resource_Link_PostType', '...' )
Closing since it looks like this will be resolved in v1.0.4.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'UCF_Resource_Link_PostType' does not have a method 'add_resource_link_types_fields' in /wordpress/wp-includes/class-wp-hook.php on line 286
Looks like these actions are getting registered referencing the wrong class name (should be
add_action( '...', array( 'UCF_Resource_Link_Type', '...' )
instead ofadd_action( '...', array( 'UCF_Resource_Link_PostType', '...' )
: https://github.com/UCF/UCF-Resource-Search-Plugin/blob/master/includes/ucf-resource-link-tax.php#L14-L17