WordPress.org

Ready to get started?Download WordPress

Forums

WP Easy Post Types
Numerous warnings when WP_DEBUG is true (1 post)

  1. daymobrew
    Member
    Posted 3 years ago #

    Using Easy Post Types 1.0.1 on WP3.1.

    I have WP_DEBUG set to true in wp-config.php as I am developing a theme.

    When I use EPT I see numerous warnings and the PHP error messages are breaking the plugin.
    The one that is always shown:
    Notice: Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' in /wp-content/plugins/easy-post-types/classes/custom-checkbox/custom-checkbox.php on line 33

    In Add New Field modal dialog:
    Notice: Undefined variable: content_type in /wp-content/plugins/easy-post-types/templates/field-form.php on line 89
    Notice: Undefined index: menu_position in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 96
    Notice: Undefined index: menu_position in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 97
    Notice: Undefined index: menu_position in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 98
    Notice: Undefined index: menu_icon in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 106
    Notice: Undefined index: menu_icon in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 107
    Notice: Undefined index: updatedby in /wp-content/plugins/easy-post-types/boxes/save.php on line 3
    Notice: Undefined index: updated in /wp-content/plugins/easy-post-types/boxes/save.php on line 3
    Notice: Undefined index: show_list in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 5
    Notice: Undefined variable: field_to_show in /wp-content/plugins/easy-post-types/boxes/admin-interface.php on line 12

    I will turn off WP_DEBUG for the moment.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic