• Resolved khaleds

    (@khaleds)


    I’ve enabled meta keys for my custom post type (WordPress Download Manager), but it’s not getting any data, it shows null values instead.
    for example activating keys “__wpdm_version, __wpdm_link_label” and pass it as a custom key “version, label”.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @khaleds,

    Are you working on this locally by chance? If you’re not you could copy the site using a plugin like All In One Migration and use something like Local By Flywheel to quickly replicate for testing.

    Either way, you should try to turn on debugging so we can see if there are any errors being thrown by the code when its attempting to get those meta values.

    You can turn on debugging by using this reference:

    Debugging in WordPress

    Let me know if that helps turn anything up!

    Cheers,
    Freddie

    Hi

    I’m facing the same issue. When calling the CPT with e.g. /wp-json/wp/v2/worship_speaker/?per_page=1&page=6 then I see e.g. a custom field ‘area’ with the correct value, but when I instead call /wp-json/wp/v2/worship_speaker/?per_page=1&page=6&_fields=area, then I see the field, but the value is always NULL.

    Suggestions?

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hello @khaleds,

    We haven’t heard back from you in a while so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Null value with activated meta keys’ is closed to new replies.