• Resolved stefiza

    (@stefiza)


    Hi,
    after updating the last version of plugin, if we insert a new event with custom attributes, the field event_attributes in em_events table has null value.
    Instead the previous events (inserted before updating) are correctly valued (with for example:a:3:{s:16:"Evento nazionale";s:2:"No";s:14:"Sede referente";s:5:"Monza";s:11:"Tipo evento";s:8:"Convegno";})

    Thank you
    Stefania

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Stefania,

    I haven’t been able to replicate this. What attribute name and value are you using?

    Do you see the saved value when you load the page?

    It’s possible this is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Thanks.

    Thread Starter stefiza

    (@stefiza)

    Hi,
    the problem is just into the table “em_events”.
    EM plugin works fine, but I have a function (inside my plugin) that needs to read the field “event_attributes” in “em_events” table.
    The events created before the update have this field valued, the events created now have this field null.
    The question is just about this field, valued or not.
    Thanks
    Stefania

    Custom fields and custom attribute data is stored in the wp_postmeta table, rather than em_events.

    Thread Starter stefiza

    (@stefiza)

    This was changed in the latest versions because before this data was stored in the “em_events” table in the field em_event_attributes.
    This caused a bug in our plugin that took the data from the em_events table.

    Then at this point the event_attributes field for what is used?
    Thanks!
    Stefania

    • This reply was modified 8 years, 9 months ago by stefiza.

    I’m guessing the Dev team left it there for some kind of legacy support.

    • This reply was modified 8 years, 9 months ago by caimin_nwl.

    Some more information: The Dev team have confirmed that the column in wp_em_events is a legacy feature that will eventually be removed, which is why there was a recent change.

    Thread Starter stefiza

    (@stefiza)

    ok, Thanks!

    No problem 🙂

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

The topic ‘event_attributes field null value after new release’ is closed to new replies.