Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4738

Search ErrorException: Warning: Invalid argument supplied for foreach()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.29
    • 2
    • Code Refactoring, Search
    • Sprint #130

      Sentry Issue: PLANET4-2J

      ErrorException: Warning: Invalid argument supplied for foreach()
        File "/app/source/public/wp-content/themes/planet4-master-theme/classes/class-p4-search.php", line 198, in P4_Search::get_paged_posts
          foreach ( $filter_type as $name => $id ) {
        File "/app/source/public/wp-includes/class-wp-hook.php", line 288, in WP_Hook::apply_filters
          $value = call_user_func_array( $the_['function'], $args );
        File "/app/source/public/wp-includes/class-wp-hook.php", line 312, in WP_Hook::do_action
          $this->apply_filters( '', $args );
        File "/app/source/public/wp-includes/plugin.php", line 478, in do_action
          $wp_filter[ $tag ]->do_action( $arg );
        File "/admin-ajax.php", line 190
          do_action( "wp_ajax_nopriv_{$action}" );
      

            sdeshmuk Sagar Deshmukh
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: