WordPress.org

Support

Support » Themes and Templates » Widget problems

Widget problems

  • [moderator note: topic title moderated – http://codex.wordpress.org/Forum_Welcome ]

    Hello,

    Wondered if anyone could help me here, i am having an issue with the latest review widget and i cant seem to find a resolution to my problem:

    – The theme developer is referring to issues which don’t exist and files & paths which aren’t referenced (I guess English may not be his first language, but making sure cookie.js is moot) and the issue with this theme appears to be two fold;

    1) The ‘latest reviews’ widget, when switched on, generates an error pointing to the following lines of code, (in misc.php);

    if ($ratingType == ‘star’) {
    $features = get_post_meta($id, ‘post_ratings’, TRUE); $count = count($features); $total = ‘0’;
    foreach($features as $feature) {
    $total += $feature[‘feature_rating’];
    }
    I can’t see from the above why the invalid argument error is being given,

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget problems’ is closed to new replies.