Views and likes NULL in wp_postmeta
Thanks for this plugin, nice job!
I noticed that “Views” and “Likes” always return “0” after a manual import.
In includes/libs/custom-post-type.class.php, you get the infos with the following request:
$video = cvm_format_video_entry( $data )
But there are no statistics there… so your
$video['stats']array used to insert them in wp_postmeta table is NULL:
update_post_meta($post_id, '__cvm_video_data' , $video);
Can’t you get those infos from the import list? Views and likes are OK
on that page.
Hope you can fix this, thank you!
- The topic ‘Views and likes NULL in wp_postmeta’ is closed to new replies.