• Using WordPress 3.05 with default twenty ten theme and the Custom Field Template plugin, WP_DEBUG lists a series of undefined index errors below.

    Notice: Undefined index: custom_field_template_widget_shortcode in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 125

    Notice: Undefined index: custom_field_template_disable_default_custom_fields in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 147

    Notice: Undefined index: custom_field_template_disable_default_custom_fields in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 163

    Notice: Undefined variable: post in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 520

    Notice: Trying to get property of non-object in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 520

    and even more…

    Notice: Undefined index: custom_field_template_set_options_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 735

    Notice: Undefined index: custom_field_template_global_settings_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 757

    Notice: Undefined index: custom_field_template_css_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 777

    Notice: Undefined index: custom_field_template_shortcode_format_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 781

    Notice: Undefined index: custom_field_template_php_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 793

    Notice: Undefined index: custom_field_template_hook_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 801

    Notice: Undefined index: custom_field_template_rebuild_value_counts_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 818

    Notice: Undefined index: custom_field_template_rebuild_tags_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 822

    Notice: Undefined index: custom_field_template_import_options_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 825

    Notice: Undefined index: custom_field_template_reset_options_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 836

    Notice: Undefined index: custom_field_template_delete_options_submit in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 841

    Notice: Undefined variable: message in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 872

    Notice: Undefined variable: errormessage in F:\Server\xampp\htdocs\edwinbradford\wordpress\wp-content\plugins\custom-field-template\custom-field-template.php on line 875

    …and the template content is…

    [Video]
    type = text
    size = 50

    [Thumbnail]
    type = textarea
    rows = 8
    cols = 60

    [Color]
    type = text
    size = 50

    [Cat-no]
    type = text
    size = 50

    [Description]
    type = textarea
    rows = 8
    cols = 60

    [Project]
    type = text
    size = 50

    [Genre]
    type = text
    size = 50

    [Company]
    type = text
    size = 50

    [Date]
    type = text
    size = 50

    [Platform]
    type = textarea
    rows = 8
    cols = 60

    All other options are defaults I believe except for the Admin CSS.

  • The topic ‘WP_DEBUG gives many undefined index errors in Custom Field Template plugin’ is closed to new replies.