I installed Magento 2.4.2 on XAMPP server on my localhost by
- downloading using Composer and
- running php bin/magento setup:install
- after the installation I run php bin/magento setup:static-content:deploy -f
Now when I try to run Magento from localhost/magento242/pub directory I get this error related to laminas plugin
Laminas\Http\Header\Exception\InvalidArgumentException: Invalid header value detected in C:\xampp\htdocs\magento242\vendor\laminas\laminas-http\src\Header\GenericHeader.php:54
I have no idea what's causing the error. any help?