-
Notifications
You must be signed in to change notification settings - Fork 120
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 Fatal error: 'continue' not in the 'loop' or 'switch' context #89
Comments
Thank you for your report, @yamlfd. It would help a lot if you could provide the exact code you are running, because I don't see any |
See http://cgit.drupalcode.org/httprl/tree/httprl.module?h=7.x-1.x I have tested against the latest release, but this is dev and it is full of continue's. |
Check for
Please feel free to reopen if you can provide a failing test case. |
I tried your PHP 7 Compatibility Checker version 1.1.0 agains the last release https://ftp.drupal.org/files/projects/httprl-7.x-1.14.zip and it complained. |
Ah, sorry - confusend myself... your checker does NOT complain. That is the bug. PHP itself complains if it includes the httprl module in Drupal.
This also gives me no info, but if the module is enabled in Drupal - PHP stops with an exception. |
PHP 7 compatibility checks are not working well, see https://www.drupal.org/node/2760025
[Sun Jul 03 22:59:57.311158 2016] [:error] [pid 3168:tid 1844] [client ::1:54149] PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in httprl\httprl.module on line 1418
Drupal 7 code can be found at https://www.drupal.org/project/httprl.
The text was updated successfully, but these errors were encountered: