Title: Custom Fields Error in Admin
Last modified: August 21, 2016

---

# Custom Fields Error in Admin

 *  Resolved [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * (@harbormark)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-fields-error-in-admin/)
 * I’m having a problem with a theme I’m creating where I’ve created custom fields,
   but an error is displayed in the WordPress admin interface the first time I attempt
   to edit the record.
 * [See screenshot](https://dl.dropboxusercontent.com/u/4898592/custom-field-error.png)
 * Can someone tell me where I may be going wrong in the corresponding code please?
 *     ```
       function designer_meta_info (){
   
           global $post;
       	if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
           {
               return;
           }
           $custom = get_post_custom($post->ID);
           $designer_meta_url = $custom["designer_meta_url"][0];
           $designer_meta_phone = $custom["designer_meta_phone"][0];
       	$designer_meta_twitter = $custom["designer_meta_twitter"][0];
       	$designer_meta_facebook = $custom["designer_meta_facebook"][0];
       	$designer_meta_instagram = $custom["designer_meta_instagram"][0];
       	$designer_meta_flickr = $custom["designer_meta_flickr"][0];
       	$designer_meta_pinterest = $custom["designer_meta_pinterest"][0];
           ?>
       ```
   
 * The full code can be found at [http://pastebin.com/xKnQ6tLe](http://pastebin.com/xKnQ6tLe)(
   error starts and refers to line 12)
 * Thanks in advance.

The topic ‘Custom Fields Error in Admin’ is closed to new replies.

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)

 * 0 replies
 * 1 participant
 * Last reply from: [Hudson Phillips](https://wordpress.org/support/users/harbormark/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/custom-fields-error-in-admin/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
