Error trying to access admin session in wordpress

2

My site is working normally, but when I go to the admin session this error starts, until the 29th was working normally, I stayed these days without going in.

The error shown below follows:

  

Fatal error: Uncaught Error: Class 'WP_Http_Cookie' not found in /home/steakvillecom/public_html/prod/wp-includes/class-wp-http-requests-response.php:165 Stack trace: # 0 / home / steakvillecom / public_html / prod / wp-includes / class-wp-http-requests-response.php (192): WP_HTTP_Requests_Response -

    
asked by anonymous 04.01.2018 / 17:30

1 answer

0

Probably at the moment of uploading via FTP the wp-includes/class-wp-http-cookie.php has been truncated (broke during upload), then try uploading only class-wp-http-cookie.php back to the /public_html/prod/wp-includes/ folder.

If it does not work try sending as BINARY, if you are using Filezilla, click Transfer > Transfer type > and switch Auto with Binary

As in the image:

    
04.01.2018 / 20:11