WordPress – wp_remote_get() not working after replacing file_get_contents() function
I'm trying to replace file_get_contents() function by wp_remote_get() function, so my program works perfectly with file_get_contents(), but when I replace it with wp_remote_get() it's not working any longer, and I get this error : Fatal error: Uncaught TypeError: base64_encode(): Argument…