Support » Plugin: Clicky by Yoast » [Plugin: Clicky by Yoast] Help: Invalid argument supplied

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am getting the same error….

    This looks like it is happening in conjunction with their admin bar implementation. I fixed it by adding a conditional just before the foreach loop. My guess is that the remote get does not return anything.

    Line 272 in the clicky.php file found in /wp-content/plugins/clicky/ directory.

    	foreach($xml->type->date as $value)
    	   foreach($xml->type->date[$i]->item->value as $art)//nested loop for multiple values in tag
    									$data=(int)($xml->type->date[$i]->item->value[$j]);//$i and $j is used to iterate multiples of both tags respectively
    									if ($k == 48)
    										break 2;
    							$j=0; //so that in next item it starts from 0(zero)

    Thanks styks1987

    I have, made the edits like you have at Line 272 and i will see what happens over the next few days.
    Touch wood, i will get not more errors in the error log.

    Thanks for looking into it, i did as on the official clicky forums and i never got a reply back from there support team 🙁

    Thanks once again.

    I’m getting the same error message too… thanks for the tip 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Clicky by Yoast] Help: Invalid argument supplied’ is closed to new replies.