Delete Issue
-
Delete action is not working once an endpoint is created.
An error of type E_ERROR was caused in line 96 of the file /public_html/wp-content/plugins/custom-wp-rest-api/includes/functions.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in /public_html/wp-content/plugins/custom-wp-rest-api/includes/functions.php:96
Stack trace:
#0 /public_html/wp-content/plugins/custom-wp-rest-api/admin/wpr_api_endpoints.php(10): wcra_get_base_by_id()
#1 /public_html/wp-content/plugins/custom-wp-rest-api/admin/settings.php(29): require_once(‘…’)
#2 /public_html/wp-includes/class-wp-hook.php(308): wcra_menu_callback()
#3 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /public_html/wp-admin/admin.php(259): do_action()
#6 {main}
? thrown
- The topic ‘Delete Issue’ is closed to new replies.