WP HTTP Error: A valid URL was not provided

I am receiving “WP HTTP Error: A valid URL was not provided” & “An unexpected error occurred” messages when I go to RSS feed, at the time of updating of Plugin, uploading of Plugin, updating of WordPress newer version etc. and everything was failed. This is happened in my live site. Error log checked & the following log found:-
{main} thrown in /home/my site/wp-includes/formatting.php on line 3507
[07-Jul-2024 00:13:25 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/my site/wp-includes/formatting.php:3507
Stack trace:
0 /home/my site/wp-includes/class-wp-hook.php(324): convert_smilies(‘<div id=”storyM…’)
1 /home/my site/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<div id=”storyM…’, Array)
2 /home/my site/wp-includes/formatting.php(3992): apply_filters(‘the_content’, ‘<div id=”storyM…’)
3 /home/my site/wp-includes/class-wp-hook.php(324): wp_trim_excerpt(‘<div id=”storyM…’, Object(WP_Post))
4 /home/my site/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array)
5 /home/my site/wp-includes/post-template.php(434): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post))
6 /home/my site/wp-content/themes/skt-magazine-pro/functions.php(14): get_the_excerpt()
7 /home/my site/wp-content/themes/skt-magazine-pro/content.php(31): content(’80’)
8 /home/my site/wp-includes/template.php(812): require(‘/home/proshakh/…’)
9 /home/my site/wp-includes/template.php(745): load_template(‘/home/proshakh/…’, false, Array)
10 /home/my site/wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
11 /home/my site/wp-content/themes/skt-magazine-pro/archive.php(98): get_template_part(‘content’, ”)
12 /home/my site/wp-includes/template-loader.php(106): include(‘/home/proshakh/…’)
13 /home/my site/wp-blog-header.php(19): require_once(‘/home/proshakh/…’)
14 /home/my site/index.php(17): require(‘/home/proshakh/…’)
15 {main}
thrown in /home/my site/wp-includes/formatting.php on line 3507

The page I need help with: [log in to see the link]


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer