I found this solution for 4.7 i,posted by omegatron is it solve mine too?
in adm-db.php find this
if ( $cleanup == "yes" ) {
$dquery = "SELECT id,user,userid,cat,bigimage FROM {$Globals['pp_db_prefix']}photos ORDER BY userid,bigimage,id";
$dqueryv = ppmysql_query($dquery, $link);
change to this
if ( $cleanup == "yes" ) {
$dquery = "SELECT id,user,userid,cat,bigimage FROM {$Globals['pp_db_prefix']}photos WHERE storecat = '0' ORDER BY userid,bigimage,id";
$dqueryv = ppmysql_query($dquery, $link);
http://www.photopost.com/members/for...anned+database