[Plugin: WP-Trader] 0 seeds and leechs solution
-
Hello folks, I think I found why latest version is showing 0 seeds and leeches in last version.
The bug lays in announce.php, where $torrentfields, the variable that determines which fields are returned in from the torrents table, is missing post_id column:
in l.198 should be
$torrentfields = "id, info_hash, post_id";
Therefore
$torrent_post_id .= $torrent[“post_id”];
will be unset when setting all post custom fields, for example seeders
update_post_meta($torrent_post_id, “seeders”, $torrent_seeders_add);
Adding the columns solved the problem for me.
Hope it helps out there.
- The topic ‘[Plugin: WP-Trader] 0 seeds and leechs solution’ is closed to new replies.