How do i remove Business feeds Shortcode fatal error
This is probably the issue: $currency = wp_remote_get($current_ping); if($currency){ $currency will either be a WP_Error object or an array. Checking if($currency) will be true in both cases. Instead, you should check if it’s an array and not an error object: if ( is_array( $currency ) && ! is_wp_error( $currency ) ) { of course, that … Read more