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

PHP 7.0 - Fatal error: 'continue' not in the 'loop' or 'switch' #149

Closed
Daneel87 opened this issue Dec 7, 2015 · 4 comments
Closed

PHP 7.0 - Fatal error: 'continue' not in the 'loop' or 'switch' #149

Daneel87 opened this issue Dec 7, 2015 · 4 comments
Labels
Milestone

Comments

@Daneel87
Copy link

Daneel87 commented Dec 7, 2015

Fatal error: 'continue' not in the 'loop' or 'switch' context in italy-cookie-choices/admin/class-italy-cookie-choices-admin.php on line 1390

@overclokk
Copy link
Contributor

@Daneel87 sostituisci continue; con return; e dimmi se risolvi.

@Daneel87
Copy link
Author

Daneel87 commented Dec 9, 2015

risolto

@Daneel87 Daneel87 closed this as completed Dec 9, 2015
@overclokk overclokk added the bug label Dec 9, 2015
@overclokk overclokk added this to the Version 2.4.x milestone Dec 9, 2015
overclokk added a commit that referenced this issue Dec 29, 2015
@Lob516
Copy link

Lob516 commented Feb 17, 2017

Same fault found in editablefields.module:
PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in ./sites/all/modules/editablefields/editablefields.module on line 186.
Simple solution replacing 'continue' by 'return'.
Who can implement this solution in the Drupal-sourcecode ?

@overclokk
Copy link
Contributor

Hi @Lob516
I don't know drupal but you can try here https://www.drupal.org/contribute/development

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

No branches or pull requests

3 participants