Skip Navigation

[Gelöst] I see this error repeated continue“ targeting switch is equivalent to „break“.

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The user was getting the error below.
[10-Sep-2019 08:49:30 UTC] PHP Warning: "continue" targeting switch is equivalent to "break"

Solution:

Upon checking the user's site I found that they were using types 2. In order for you to get the latest software patches you will need to update to the latest available version of Types.

This support ticket is created vor 4 Jahre, 7 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 Antworten, has 2 Stimmen.

Last updated by marcov-3 vor 4 Jahre, 7 Monate.

Assisted by: Shane.

Author
Artikel
#1342259

[10-Sep-2019 08:49:30 UTC] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/hanshagen/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/wpml.php on line 663
I migrated this site from the plugin from pippin Easy Content Types. Can you explain the error?

Sorry but the site is online but not yet registered. I have to move on :-). It is busy.

#1342367

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Thank you for getting in touch.

This is a warning, not sure exactly what it is referring to, however I would need to take a look at the site.

Could you put this up on a live server where I can have a look ?

Perhaps I can see exactly what is wrong when I have a look.

Thanks,
Shane

#1342781

Can you make the next message privat? Or is it privat already 🙂

#1343309

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Here are the private fields.

Thanks,
Shane

#1344199

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Still not sure what this warning means but it shouldn't remove any functionality.

Also the version of Types you are using is pretty old, version 2 so I would recommend updating to the latest version of Types as this could also be the cause of the warning.

Thanks,
Shane

#1344209

You are so right! Did that just now. I forgot to registrer the site. Thanks for that Shane!

#1344555

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Happy I was able to assist you.

Is this issue now resolved ? If so then you can go ahead and mark this ticket as resolved.

Thanks,
Shane

#1344739

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.