( ! ) Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in C:\wamp64\kb-dl\wp-includes\formatting.php on line 4496
( ! ) TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in C:\wamp64\kb-dl\wp-includes\formatting.php on line 4496
Call Stack
#TimeMemoryFunctionLocation
10.0003377392{main}( )...\index.php:0
20.0004377752require( 'C:\wamp64\kb-dl\wp-blog-header.php )...\index.php:17
37.20479624856require_once( 'C:\wamp64\kb-dl\wp-includes\template-loader.php )...\wp-blog-header.php:19
47.20489624856do_action( $hook_name = 'template_redirect' )...\template-loader.php:23
57.20499625232WP_Hook->do_action( $args = [0 => ''] )...\plugin.php:522
67.20499625232WP_Hook->apply_filters( $value = '', $args = [0 => ''] )...\class-wp-hook.php:365
77.21149626456manual_doc_redirect_post( '' )...\class-wp-hook.php:341
87.21809629584esc_url( $url = class WP_Error { public $errors = ['invalid_term' => [...]]; public $error_data = []; protected $additional_data = [] }, $protocols = ???, $_context = ??? )...\hook.php:717
97.21809629584ltrim( $string = class WP_Error { public $errors = ['invalid_term' => [...]]; public $error_data = []; protected $additional_data = [] } )...\formatting.php:4496