Skip Navigation

PHP 7.3 shows warnings about “continue” statement in Types

Resolved

Reported for: Toolset Types 3.2.4

Resolved in: 3.3

Topic Tags: Types plugin

Symptoms

When Types is active and the server is running PHP 7.3, the following warning is being triggered:

Warning: "continue" targeting switch is equivalent to "break".

Workaround

This is already fixed in Types 3.3.
For now, To fix the issue, replace the file wpml.php, found in the types/vendor/toolset/types/embedded/includes/ directory, with the one contained in the following ZIP file.

Click here to download the patch

2 thought on PHP 7.3 shows warnings about “continue” statement in Types

  • What about for vendor/toolset/types/includes/classes/class.types.admin.fields.php line 601?

  • Hi Rebecca,
    In the latest Types version (3.2.4), file class.types.admin.fields.php, line 601 is a comment. So, it shouldn’t trigger the warning mentioned in this errata.

    Please make sure that you are using the latest Types version and check if you can see the issue.
    You can always post a new ticket in the support forum if your issue is different from the one being mentioned in this errata.

Comments are closed