Most of the time downgrading PHP is not feasible. So until we get fix from Magento here is a work around
As of PHP 7.3, a warning will be thrown when continue is used within a
switch without a numeric argument. Ref: php/php-src@04e3523
So changing core files solve the issue.
- Change
continue
to continue 2
in vendor/zendframework/zend-stdlib/src/ArrayObject.php @ line 426.
- Change
continue
to continue 2
in vendor/magento/zendframework1/library/Zend/Pdf/FileParser/Font/OpenType.php @ line 901.
- Change
continue
to continue 2
in vendor/magento/zendframework1/library/Zend/Pdf/FileParser/Font/OpenType.php @ line 920.
- Change
continue
to continue 2
in vendor/magento/zendframework1/library/Zend/Pdf/FileParser/Font/OpenType.php @ line 932.
Now try doing bin/magento setup:upgrade
.
It will work ..!!