What can we help you with?
Home › Forums › Themes Support › How to fix Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in
Response time up to 1 business day.
Tagged: php 7.3, warning
Hi all customer,
When you use WordPress and update to PHP 7.3 version, maybe you will get this warning:
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in
In this case the solution is reinstall composer on ubuntu.
So you can run following command to reinstall composer and solution of continue targeting switch is equivalent to break WordPress php issue.
sudo apt-get remove composer
sudo apt autoremove
sudo curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Hope this help you all!
You must be logged in to reply to this topic.