Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cron errors after php7.0 -> 7.3 update #7

Closed
adelphi-company opened this issue Jul 25, 2019 · 2 comments
Closed

cron errors after php7.0 -> 7.3 update #7

adelphi-company opened this issue Jul 25, 2019 · 2 comments

Comments

@adelphi-company
Copy link

After upgrade from Debian 9 with php7.0 to Debian 10 with php7.3, the cron job
cd /var/www/wpkg2/app/ && Console/cake Queue.Queue runworker -q
generates following errors:

Warning Error: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [/var/www/wpkg2/app/Model/Behavior/GroupActionBehavior.php, line 145]

2019-07-25 10:50:01 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [/var/www/wpkg2/app/Model/Behavior/GroupActionBehavior.php, line 145] Warning Error: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [/var/www/wpkg2/app/Plugin/CakeSettingsApp/Model/SettingBase.php, line 627]

2019-07-25 10:50:01 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [/var/www/wpkg2/app/Plugin/CakeSettingsApp/Model/SettingBase.php, line 627]

Any ideas?

@adelphi-company
Copy link
Author

Possible solution:

Replace "continue;" by "break;" in
/var/www/wpkg2/app/Model/Behavior/GroupActionBehavior.php, line 145
/var/www/wpkg2/app/Plugin/CakeSettingsApp/Model/SettingBase.php, line 627
?

@anklimsk
Copy link
Owner

anklimsk commented Dec 8, 2019

Good day. Fixed in a new release: v1.0.10-rc.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants