motley6 Posted January 25 Share Posted January 25 I have a little online shop which has been running for about 10 years. Currently: Prestashop ver: 1.7.8.11, PHP: 7.1, no updates or changes in at least 6 months now - I work on the notion "if it ain't broke, don't fix it". The shop appears to be working fine, but out of the blue, as of Thursday (I think?) last week, I can't access the dashboard/backend, and get the following error messages when I try: Compile Error: Declaration of PrestaShop\Module\PsAccounts\Vendor\GuzzleHttp\Psr7\Request::withRequestTarget($requestTarget) must be compatible with Psr\Http\Message\RequestInterface::withRequestTarget(string $requestTarget) CRITICAL22:21:22phpFatal Compile Error: Declaration of PrestaShop\Module\PsAccounts\Vendor\GuzzleHttp\Psr7\Request::withRequestTarget($requestTarget) must be compatible with Psr\Http\Message\RequestInterface::withRequestTarget(string $requestTarget) CRITICAL22:21:22requestUncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of PrestaShop\Module\PsAccounts\Vendor\GuzzleHttp\Psr7\Request::withRequestTarget($requestTarget) must be compatible with Psr\Http\Message\RequestInterface::withRequestTarget(string $requestTarget)" at /home/ebkcgbpqi0g3/public_html/modules/ps_accounts/vendor/guzzlehttp/psr7/src/Request.php line 12 FatalErrorException Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: Declaration of PrestaShop\Module\PsAccounts\Vendor\GuzzleHttp\Psr7\Request::withRequestTarget($requestTarget) must be compatible with Psr\Http\Message\RequestInterface::withRequestTarget(string $requestTarget) at modules/ps_accounts/vendor/guzzlehttp/psr7/src/Request.php:12 Any ideas on fixes please? I'm a businessman, not a coder, and suspect it is probably something simple which I'm just missing. Thanks in advance. 1 Link to comment Share on other sites More sharing options...
Ewonta Posted January 26 Share Posted January 26 Hello, first try renaming the ps_accounts folder to ps_accounts_tmp, as this module returns this error. There are probably some changes on your server. Maybe they updated php Folder path: /modules/ps_accounts 1 Link to comment Share on other sites More sharing options...
Nickz Posted January 26 Share Posted January 26 14 hours ago, motley6 said: The shop appears to be working fine, but out of the blue, as of Thursday (I think?) last week, I can't access the dashboard/backend, and get the following error messages when I try: Check if the hosting has not outsourced PHP 7.1. Some hostings get rid of the older versions, that forces you to update with errors or move. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now