Support » Plugin: Q2W3 Post Order » [Plugin: Q2W3 Post Order] Q2W3

  • Resolved AITpro


    First off AWESOME Job!

    I am seeing a nuisance php error in my php error log

    [04-Jan-2012 15:49:05] PHP Warning: Invalid argument supplied for foreach() in /home/content/xx/xxxxx/html/aitpro-blog/wp-content/plugins/q2w3-post-order/q2w3-post-order.php on line 753

    So i am taking a stab at this solution. Code lines 750 – 766 in q2w3-post-order.php.

    And this does appears to do have done the trick so far. 😉

    $sorted_posts = self::get_sorted_posts($term_id, $taxonomy);
    			$sorted_ids = array();
    			if (is_array($sorted_posts)) {
    			foreach ($sorted_posts as $sorted_post) {
    				$sorted_ids[] = $sorted_post['ID'];
    			if (!empty($sorted_ids) && count($sorted_ids) > 1) {

Viewing 1 replies (of 1 total)
  • Plugin Author Max Bond


    AITpro, thank you very much! )
    In version 1.2.2 I have cleaned up php warnings and notices

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Q2W3 Post Order] Q2W3’ is closed to new replies.