CherryFramework / cherry-plugin

Сompatibility: Cherry Framework v.3
8 stars 17 forks source link

PHP 7.0.21 #25

Open manovraresoft opened 7 years ago

manovraresoft commented 7 years ago

widgets-manager.php line #563:

if ( !isset($wp_registered_widgets[$id]) ) continue;

Will raise the error : Fatal error: 'break' not in the 'loop' or 'switch' context in

This will happen in PHP >= 7. Please resolve, I will not be able to update Cherry again until it is fixed.

prodevcon commented 7 years ago

Hi,

Similar error on version 1.2.7 and PHP 7.0.21

Fatal error: 'continue' not in the 'loop' or 'switch' context in #########/wp-content/plugins/cherry-plugin/includes/widgets/widgets-manager.php on line 563

Can you resolve the issue in new version so we can update the server back to php7, please?

Best regards

cheh commented 7 years ago

Hi,

https://github.com/CherryFramework/cherry-plugin/issues/13

You may just replaced plugin on master branch version

prodevcon commented 7 years ago

Working now. Thank you!