Hi.,
Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.
Thanks
Rajan V
Thank you Rajan for your answer. Its fixed alone without change anything. I think it was something from WordPress server.
This error is likely being caused by the localhost PHP installation not being able to use SSL/https when downloading remote files. If your local system is Windows 7 or 8, it’s also possible the error is due to an old root certificate bundle.
To the OP: check your localhost PHP installation. Is the PHP curl extension installed? If so, does it have SSL/https support? If you’re using Windows 7 or 8, you’ll probably need to download a new root certificate bundle and then edit php.ini so PHP knows where to find the new bundle.
Hi DionDesgins,
I have macOS high sierra and I am using MAMP Pro 4.2 with PHP 7.1.6
Its back working fine just without doning any changes.