1. media does uploads but the attachment to the post is lost.
2. The meta field get the notice like:
Notice: Undefined index: price in /home/content/c/h/r/chrisrobi/html/robitaillepaintings/wp-content/themes/paint-shop/functions.php on line 153
Hi, I have done some research which might help. I am saving the post type meta fields via this:
update_post_meta($post_id, "price", $_POST["price"]);
So you see the the field ‘price’ i am saving from $_POST[“price”] and it is getting unset when the plugin trying to saving the meta field. It try to run the
save_painting_options()functions when it tries to update the meta field.
So, is the problem is associated with my code? i suppose so, but all the resources i get form the net is using the same method to insert the meta field value to database.
And another problem is the attachments are uploading successfully but not attaching to posts.
- The topic ‘[Plugin: WordPress Importer] The attachement and the meta fields are not importing’ is closed to new replies.