Php version - 7.2
magento - 2
server - apache (localhost)
Os - Ubuntu(18.04)
I am getting error when installing Magento in my system. I have attached the screenshot. Please do help.
ERROR -
Fatal error: Uncaught Exception: Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/ArrayObject.php on line 426 in /var/www/html/magento2/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento2/vendor/composer/ClassLoader.php(444): Magento\Framework\App\ErrorHandler->handler(2, '"continue" targ...', '/var/www/html/m...', 426, Array) #1 /var/www/html/magento2/vendor/composer/ClassLoader.php(444): include() #2 /var/www/html/magento2/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/html/m...') #3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Zend\\Stdlib\\Arr...') #4 /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/Parameters.php(29): spl_autoload_call('Zend\\Stdlib\\Arr...') #5 /var/www/html/magento2/vendor/zendframework/zend-http/src/PhpEnvironment/Request.php(67): Zend\Stdlib\Parameters->__construct(Array) #6 /var/www/html/mage in /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 941