Morning all.
I uploaded magento to my vps yesterday. but didnt get further. I got stuck with this error message.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/events/public_html/vendor/zendframework/zend-stdlib/src/ArrayObject.php on line 426
The site is located on a vps running PHP-versjon: 7.2.7
Please help me.
Best regards
Christian
On which version of Magento you are on? Seems like there is compatibility issue of PHP with Magento. Just make sure you have the compatible version of PHP with your Magento.
If you have a localhost setup of Magento then try to keep the same configuration on VPS.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
@christian_eriksCan you confirm the PHP version. Seems like you are on 7.3. Assuming you know coding in PHP, put a file in the root directory of your server and have phpinfo() function in it to see on what version of PHP you are. Other way to find the same is from the command line.
Definitely you are not having compatible version due to which you are seeing the issue.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
Morning.
You are correct. I am on php version 7.3.4
What version do i need for it to be supported? Ill ask my host to update for me.
Christian
Assuming you are installing Magento 2.3 below URL will help you on what all configuration you need.
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
I managed to change the php version for the domain in cpanel.
But after trying magento i found out its to heavy and techy to work with for my little webshop.
Thx for the help anyway.