Custom Fields
Re-Envisioned
Support MB Custom Table Meta value not stored in the custom table and postmeta, but displaying content

  • Creator
    Topic
  • #28922
    Resolved Prabakaran Shankar
    Participant

    Hello,

    I have created custom fields for CPT and assigned them to store in a custom table. The CPT posts are working fine but the metadata was not stored in a custom table and post meta.

    Help me to solve this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #28934
    Long Nguyen
    Moderator

    Hi,

    Can you please share the code that creates the custom table and custom fields? Please make sure that the column keys have to match your custom fields’ IDs.

    #28937
    Prabakaran Shankar
    Participant

    Hello,

    I have custom fields from the meta box builder and point to the custom table.
    Pastebin link for the custom fields https://pastebin.com/m8hA9zvQ

    Based on the custom fields and using MB Views, I have created a post "https://nviewscareer.com/job/assistant-professor-in-political-science-aarhus-uni-denmark/", which is populated all the data. (post ID 237)

    For your reference, I herewith enclose the DB table (custom table, postmeta for the post id 237)
    https://1drv.ms/u/s!AjW7znckfYbzg9I6EiKyD-ReYHftxw?e=rgBZHN
    https://1drv.ms/u/s!AjW7znckfYbzg9I7KKjArUAGol6HuQ?e=sTryG5
    https://1drv.ms/u/s!AjW7znckfYbzg9I8v_vIU6bVCZVb0g?e=WG937F

    #28938
    Prabakaran Shankar
    Participant

    Hello,
    For your kind notification, the custom field is not loading in the admin place. i get error notification like page unresponsive for this field group alone and the error code "Result code hung"
    is this because of the too many (30+ custom fields)?

    #28944
    Long Nguyen
    Moderator

    Hi,

    It is possible that the PHP settings on your host/server are low so the custom field values are not saved. Please follow this article to know how to fix it https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    Let me know how it goes.

    #28945
    Prabakaran Shankar
    Participant

    Hello,

    The Values are stored and recovered, but it is not displayed in the DB table.
    I will check the PHP info and get back soon.
    Please bear be online, I am in need to complete the project soon. Thank you.

    #28950
    Prabakaran Shankar
    Participant

    Hello,

    I have increased the max_input_vars, but still no data displayed in the table. However, the post displays all the data loaded in the custom fields.

    #28965
    Long Nguyen
    Moderator

    Hi,

    Please share your site credentials via this contact form https://metabox.io/contact/, I will help you to check the issue on your site.

    #29135
    Prabakaran Shankar
    Participant

    Hi,

    I have created a new table instead of debugging the old one.
    The new table is working fine.
    Please close this thicket.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.