cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Cache Name Space Error And Other Errors

Highlighted

Magento 2 Cache Name Space Error And Other Errors

Hi all, having issues with my Magento 2.1.7 store.  I was updating some of the categories, but when I went to delete a category, a string of errors broke out.  I can't even log into the admin.  Every time I try to compile the code in the Ubunto terminal, I get this error:

 

We're sorry, an error occurred. Try clearing the cache and code generation directories. By default, they are: var/cache, var/di, var/generation, and var/page_cache.



[Zend_Db_Adapter_Exception]
SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, r
eport to the developers

 



[PDOException]
SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, r
eport to the developers

 



[Exception]
Warning: PDO::__construct(): Server sent charset (255) unknown to the clien
t. Please, report to the developers in /var/www/html/free-parking/vendor/ma
gento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 129

 

And every time I try to clear the cache in the terminal, I get this error,

 

[InvalidArgumentException]
There are no commands defined in the "cache" namespace.

 

I tried deleting the cache folders in the var folder, but the same result. I am at a complete loss.