Title: Attributes now show Array, not data
Last modified: August 31, 2016

---

# Attributes now show Array, not data

 *  Resolved [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/)
 * I created some custom attributes as below:
 * #_ATT{Group1}{A|A-|B+|B|B-|C} #_ATT{Leader1} #_ATT{Miles1}  #_ATT{Description1}
   #
   _ATT{Group2}{A|A-|B+|B|B-|C} #_ATT{Leader2} #_ATT{Miles2} #_ATT{Description2}#
   _ATT{Group3}{A|A-|B+|B|B-|C} #_ATT{Leader3} #_ATT{Miles3} #_ATT{Description3}#
   _ATT{Group4}{A|A-|B+|B|B-|C} #_ATT{Leader4} #_ATT{Miles4} #_ATT{Description4}#
   _ATT{Group5}{A|A-|B+|B|B-|C} #_ATT{Leader5} #_ATT{Miles5} #_ATT{Description5}
 * I created a number of events using these attributes and all was working well.
   Suddenly, and not sure exactly when, instead of the attributes showing on the
   event page, I see “Array” everywhere. No data, just “Array”. Have I overflowed
   something? Or ???
 * You can see the problem here:
    [http://sfsob.cosine-santafe.com/events/599-madrid-bonanza-creek-la-cienega/](http://sfsob.cosine-santafe.com/events/599-madrid-bonanza-creek-la-cienega/)
 * Any help appreciated.
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  Thread Starter [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6935959)
 * I looked in the database. Here is what appears in the database for one of the
   events.
 * a:20:{s:6:”Group1″;s:1:”A”;s:6:”Miles1″;s:2:”52″;s:12:”Description1″;s:13:”Galisteo
   Loop”;s:6:”Group2″;s:2:”B+”;s:6:”Miles2″;s:2:”40″;s:12:”Description2″;s:29:”to
   Galisteo to 14 and reverse”;s:6:”Group3″;s:1:”B”;s:6:”Miles3″;s:2:”26″;s:12:”
   Description3″;s:34:”Galisteo, 42 to RR tracks, reverse”;s:6:”Group4″;s:2:”B-“;
   s:6:”Miles4″;s:2:”26″;s:12:”Description4″;s:17:”same as B, slower”;s:6:”Group5″;
   s:1:”C”;s:6:”Miles5″;s:2:”22″;s:12:”Description5″;s:17:”Galisteo and back”;s:
   7:”Leader1″;s:0:””;s:7:”Leader2″;s:0:””;s:7:”Leader3″;s:0:””;s:7:”Leader4″;s:
   0:””;s:7:”Leader5″;s:0:””;}
 * And this is what the display of said event looks like:
    Group Leader Miles Description
   Array (blank)Array Array Array (blank)Array Array Array (blank)Array Array Array(
   blank)Array Array Array (blank)Array Array
 *  Thread Starter [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6935963)
 * So I set up a test site and deleted all but 4 of the events. Now the information
   shows up properly. I will restore the events from a backup and try to see where
   it broke.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936091)
 * Have you tried to edit custom fields / attributes in some way outside Events 
   Manager?
 * Have you installed another plugin / or code that relates to custom fields / attributes?
 *  Thread Starter [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936092)
 * Have not tried to edit outside Event Manager. I don’t believe I have installed
   any new plugins that relate to the custom field or attributes. In looking at 
   the database with phpMyAdmin, the information for the field is correct. It just
   does not display properly. And not all of the events are affected. I am trying
   to figure out what makes some of them work and some not work, but not there yet.
 *  Thread Starter [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936105)
 * I cannot see any difference between an event that displays Array and an event
   that shows up properly in the database. I have looked at all the fields. When
   you look at the bad event in the event editor, the attribute fields show Array.
   If you edit them to correct the information, and update the event, it shows that
   it updates correctly but the data does not change and it still shows Array in
   both the event editor and in the event post page.
    I have manually created a 
   new event that is a duplicate of an event that does not work and it shows up 
   fine.
 * Other steps I have tried so far to no avail.
    1. Copied a bad event into database.
   Event does not show up in the event list. 2. created new event normal way, then
   copied the attributes from a “bad” event into the new event. Attributes do not
   show Array, they do not show up at all. I edited this event to create new attributes
   and they show up fine.
 * Other than recreating all the bad events, which will be painful, I’d appreciate
   any thoughts on how to resolve the problem.
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936152)
 * hi,
 * I tried this one and wasn’t able to replicate this issue either. does it happen
   when you updated EM or WP or not sure as you said above?
 *  Thread Starter [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * (@cosinebob)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936180)
 * I cannot say for sure what changed. I don’t look at these events every day. I
   checked each one when it was entered. A couple weeks later they were trashed.
   Is there someway i can manipulate the database so EM recognizes changed data.
   It would be easier for me to copy paste data rather than reenter it from scratch.
   Thanks.

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

The topic ‘Attributes now show Array, not data’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [cosinebob](https://wordpress.org/support/users/cosinebob/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/attributes-now-show-array-not-data/#post-6936180)
 * Status: resolved