Fatal error in SWP_Requests.php on line 66
-
The plugin causes a fatal error.
Here the logs
[01-Feb-2023 12:02:08 UTC] PHP Warning: Undefined variable $response in /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Requests.php on line 66 [01-Feb-2023 12:02:08 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Requests.php:66 Stack trace: #0 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Requests.php(66): array_merge(NULL, Array) #1 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_CURL.php(34): SWP_Requests::fetch_shares_via_wordpress_multi(Array) #2 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php(665): SWP_CURL::fetch_shares_via_curl_multi(Array) #3 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php(526): SWP_Post_Cache->fetch_api_responses() #4 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php(293): SWP_Post_Cache->rebuild_share_counts() #5 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache.php(99): SWP_Post_Cache->rebuild_cached_data() #6 /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Post_Cache_Loader.php(72): SWP_Post_Cache->__construct(12215) #7 /home/public_html/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php(365): SWP_Post_Cache_Loader->get_post_cache(12215) #8 /home/public_html/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel.php(235): SWP_Buttons_Panel->establish_share_data() #9 /home/public_html/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel_Loader.php(293): SWP_Buttons_Panel->__construct(Array, true) #10 /home/public_html/wp-content/plugins/social-warfare/lib/buttons-panel/SWP_Buttons_Panel_Loader.php(241): SWP_Buttons_panel_Loader->generate_static_panel_fallback('\t\t<div data-ele...') #11 /home/public_html/wp-includes/class-wp-hook.php(308): SWP_Buttons_panel_Loader->add_static_panel_fallback_content('\t\t<div data-ele...') #12 /home/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('\t\t<div data-ele...', Array) #13 /home/public_html/wp-includes/post-template.php(255): apply_filters('the_content', '<h1><small>Stru...') #14 /home/public_html/wp-content/themes/hello-elementor/template-parts/single.php(23): the_content() #15 /home/public_html/wp-includes/template.php(785): require('/home...') #16 /home/public_html/wp-includes/template.php(718): load_template('/home...', false, Array) #17 /home/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #18 /home/public_html/wp-content/themes/hello-elementor/index.php(21): get_template_part('template-parts/...') #19 /home/public_html/wp-includes/template-loader.php(106): include('/home...') #20 /home/public_html/wp-blog-header.php(19): require_once('/home...') #21 /home/public_html/index.php(17): require('/home...') #22 {main} thrown in /home/public_html/wp-content/plugins/social-warfare/lib/utilities/SWP_Requests.php on line 66
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error in SWP_Requests.php on line 66’ is closed to new replies.