Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in /data/web/virtuals/154172/virtual/www/wp-includes/formatting.php:4467
Stack trace:
#0 /data/web/virtuals/154172/virtual/www/wp-includes/formatting.php(4467): ltrim(Object(WP_Error))
#1 /data/web/virtuals/154172/virtual/www/wp-content/themes/diveit/fw/core/core.wp.php(999): esc_url(Object(WP_Error))
#2 /data/web/virtuals/154172/virtual/www/wp-content/themes/diveit/fw/core/core.options/core.options.php(209): diveit_get_terms_by_post_id(Array)
#3 /data/web/virtuals/154172/virtual/www/wp-content/themes/diveit/fw/core/core.theme.php(101): diveit_load_custom_options()
#4 /data/web/virtuals/154172/virtual/www/wp-includes/class-wp-hook.php(324): diveit_core_init_theme(Object(WP))
#5 /data/web/virtuals/154172/virtual/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#6 /data/web/virtuals/154172/virtual/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#7 /data/web/virtuals/154172/virtual/www/wp-includes/class-wp.php(830): do_action_ref_array('wp', Array)
#8 /data/web/virtuals/154172/virtual/www/wp-includes/functions.php(1336): WP->main('')
#9 /data/web/virtuals/154172/virtual/www/wp-blog-header.php(16): wp()
#10 /data/web/virtuals/154172/virtual/www/index.php(17): require('/data/web/virtu...')
#11 {main}
thrown in /data/web/virtuals/154172/virtual/www/wp-includes/formatting.php on line 4467