Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Devel Error
( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/user/public_html/sites/all/modules/contrib/slick/slick_ui/plugins/export_ui/SlickUi.class.php on line 336
Seems this is an issue with PHP 7.3. I don't see any regressions, just a warning from Devel.
Comment | File | Size | Author |
---|---|---|---|
#7 | 3128140-7.patch | 582 bytes | Jacqui.Tenderwolf |
Comments
Comment #2
gausarts CreditAttribution: gausarts commentedYou are right. Thank you.
I remembered I had fixed it, but not all branches.
What is yours? That class is not 8.x.
Comment #3
philsward CreditAttribution: philsward commentedChanging line 336 from continue; to continue 2; made the errors go away. Dunno if this is right or not, but it makes devel shut up.
On a side note, I was getting the errors on a "views" page that had nothing to do with actually using slick. Is the Slick code being called on in places where it shouldn't be? Over my head.
Comment #4
philsward CreditAttribution: philsward commented7.x-2.1
Did I seriously set that to 8.x-2.x?? If I did, go ahead and change it if you need to. I could have sworn I changed it to 7.x-2.x
Comment #5
gausarts CreditAttribution: gausarts commentedSpooky. If you didn't, who did? Check out your room for any astral intruder.
Patches are welcome.
Comment #6
gausarts CreditAttribution: gausarts commentedComment #7
Jacqui.Tenderwolf CreditAttribution: Jacqui.Tenderwolf at Interpersonal Frequency commentedIt looks like this has already been fixed in 7.x-2.x (thank you), but for those who want to keep running the 7.x-2.1 release, here is a patch. Marking issue as fixed.