How to fix an error related to Zend parameters?

Viewed 3638

I have a fatal error:
Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (ArrayAccess::offsetUnset) in
E:\xampp\htdocs\mage221\vendor\zendframework\zend-stdlib\src\Parameters.php on line 14

How to fix this error? Thanks

4 Answers

Just Restart xampp/wammp OR sudo service apache2 restart

I take some step and it solved.

  1. reset your server like xampp, wamp. give command to magento.
  2. php bin/Magento setup:upgrade
  3. php bin/Magento setup:static-content:deploy
  4. php bin/Magento cache:clean
  5. php bin/Magento cache:flush

thanks.

@Pratik Kamani what if site in production and so many users on site if you do apche2 retart? Wan't they logged out?

Related