This didn't work for me… i had to write my own function in the end…
-
I don’t know why but this didn’t fix the problems I had with my own posts which had no meta entries at all in the wp_postmeta table.
My final solution that gets around this by extracting the image files from the wp_posts table and then checking if they exist on the local system before adding the required meta data can be found at: https://www.adam-makes-websites.com/discoveries/fixing_messed_up_image_attachments_in_wordpress_that_have_no_postmeta_values
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘This didn't work for me… i had to write my own function in the end…’ is closed to new replies.