[Resolved] WordPress : Custom Fields not working and not getting updated issue

By | 08/11/2010

Time solves your problems

I’ve had a problem with WordPress last 3 months, and at last, I found the solution. Here is the story:


WordPress Custom Fields

WordPress posts have meta data (Custom Fields) where additional information on the post are stored. For example the featured image, number of views, comments count, keywords, SEO description and so on…

When posting new posts, the Custom fields where not getting stored on WordPress, so basically nothing was “tracked” and optimized. I looked everywhere on forums and internet resources for a solution to this issue, no luck!

Today I was rechecking Gibni’s data base and in the “post_meta” table, I found that “meta_id” was not set to “auto_increment”. You can see this in the “extras” column in phpMyAdmin while you see the “post_meta” table’s structure. Once setting this parameter to the “auto_increment” value, everything got back in order.

Problem Solved!

Now all the “custom fields” get stored and updated as they should. If you have the same issue, check your database!

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge