cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

SOLVED

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

I was trying to update a product, but Magento gave me this warning and I can't update a product: "

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/magentof/public_html/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 274

".

 

The version of Magento I'm using is 2.2.

 

Here is a screenshot of my admin panel when I try to update a product.

Screen Shot 2021-09-02 at 4.25.26 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Warning: "continue" targeting switch is equivalent to "break". Did you mean

@kluofusionacbf 

 

1) Please pass the below command:
composer self-update
2) Please check your PHP version and check whether it supports Zend framework or not.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

1 REPLY 1

Re: Warning: "continue" targeting switch is equivalent to "break". Did you mean

@kluofusionacbf 

 

1) Please pass the below command:
composer self-update
2) Please check your PHP version and check whether it supports Zend framework or not.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post