Title: Code errors on installing
Last modified: November 25, 2018

---

# Code errors on installing

 *  Resolved anonymized-14934761
 * (@anonymized-14934761)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/)
 * Hi,
 * I use PHP 7.3.
 * When I install the plugin, I get these:
 * Ling switch is equivalent to “break”. Did you mean to use “continue 2”? in /home/
   XXX/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/
   wpml.php on line 646
 * Warning: “continue” targeting switch is equivalent to “break”. Did you mean to
   use “continue 2”? in /home/XXX/public_html/wp-content/plugins/types/vendor/toolset/
   types/embedded/includes/wpml.php on line 663
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/XXX/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/
   includes/wpml.php:646) in /home/XXX/public_html/wp-admin/includes/misc.php on
   line 1126
 * The plugin looks functionable, but still don’t know what these exactly do, so
   I hope it is not breaking anything else.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter anonymized-14934761
 * (@anonymized-14934761)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10914781)
 * Also when I click on Post Type > Pages, I get that on top:
 * Warning: “continue” targeting switch is equivalent to “break”. Did you mean to
   use “continue 2”? in /home/XXX/public_html/wp-content/plugins/types/vendor/toolset/
   types/includes/classes/class.types.admin.fields.php on line 601
 *  Thread Starter anonymized-14934761
 * (@anonymized-14934761)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10914802)
 * I reverted to PHP 7.2. It’s not the PHP.
 * The Pages > Categories do display, but when you try to preview the category page–
   it won’t show anything.
 * Previously I was using “Add Category to Pages 1.0”, v1.1 break functionality 
   for some reason.
 * Now the list of WP Admin > Pages > Categories show correctly each category and
   the number of posts, but the preview doesn’t display anything.
    -  This reply was modified 7 years, 6 months ago by anonymized-14934761.
    -  This reply was modified 7 years, 6 months ago by anonymized-14934761.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10924968)
 * I understand that the issue was due to a conflict with another plugin?
    In that
   case, we cannot solve this in Types because this free version is about to be 
   removed from the WordPress Repositories: [https://wordpress.org/support/topic/types-plugin-will-go-away-at-the-end-of-2018/](https://wordpress.org/support/topic/types-plugin-will-go-away-at-the-end-of-2018/)
 * However, related to PHP versions, Types Free works fine with it, I tested this
   on a fresh install.
 * Several people use it, as well, successfully on PHP 7.x
    There are some warnings
   when you run a PHP Check, [https://wordpress.org/support/topic/toolset-types-3-1-2-compatibility-with-php-7-2/](https://wordpress.org/support/topic/toolset-types-3-1-2-compatibility-with-php-7-2/),
   but we have no plans to adjust them [https://wordpress.org/support/topic/types-2-3-4-compatibility-with-php-7-2/#post-10878661](https://wordpress.org/support/topic/types-2-3-4-compatibility-with-php-7-2/#post-10878661)
 * This because the plugin is about to be removed, and I cannot recommend building
   new sites with it, instead, I’d recommend to look out for other options, as Amir
   elaborates in the post I shared above.
 *  Thread Starter anonymized-14934761
 * (@anonymized-14934761)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10925708)
 * The issue has not association with any other plugins, just checked the PHP, looks
   like it is not the problem.
 * I am seeing these errors on install and on edits.
 * I have deleted the plugin as I have not time to debug this more. Maybe take a
   look at the exact lines and think what can cause these issues, so it can help
   your other customers.
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10929008)
 * I just saw you use PHP 7.3 and that is Beta, not stable as far I know.
    Hence,
   Types will not be compatible with it, likely, since we retire the plugin soon.
 * I apologise that I wrongly understood you use the latest stable PHP version, 
   which is 7.2 (at least, 6 days ago it still was, and I see no changes to a stable
   release).
 *  Thread Starter anonymized-14934761
 * (@anonymized-14934761)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10929059)
 * As already said, it is not the PHP version the problem, I tried with stable 5
   and 7.2 and it is not the problem.
 * I get the error anyway, but because of that and because you will remove it from
   WP Plugins repository, I am deleting it and moving to an alternative.
 * Wish you good luck!
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10932900)
 * OK.
 * I could not see that error, and I agree with you, it’s better to look for a tool
   that substitutes Types since this version here is soon to be removed.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Code errors on installing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

 * [PHP 7.3](https://wordpress.org/support/topic-tag/php-7-3/)

 * 7 replies
 * 2 participants
 * Last reply from: Anonymous User 14808221
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/code-errors-on-installing/#post-10932900)
 * Status: resolved