Q2W3 Post Order
[resolved] Q2W3 (2 posts)

  1. AITpro
    Posted 4 years ago #

    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) {


  2. Max Bond
    Plugin Author

    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic