• hi

    while using sphinx search in website i get this error

    Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/workspace/vaahost/wp-includes/query.php on line 2746

    Warning: Cannot modify header information – headers already sent by (output started at /opt/lampp/htdocs/workspace/vaahost/wp-includes/query.php:2746) in /opt/lampp/htdocs/workspace/vaahost/wp-includes/pluggable.php on line 866

Viewing 6 replies - 1 through 6 (of 6 total)
  • The same problem! What to do?

    Thread Starter Varun Sridharan

    (@varunms)

    Hi Supewinner

    The Latest WordPress Version Has Got The FIX For Error

    varunms, my version of wordpress – 3.4.1 (the latest version), nevertheless:

    “Warning: Invalid argument supplied for foreach() in …/wp-includes/query.php on line 2762”
    and
    “Warning: Cannot modify header information – headers already sent by (output started at …/wp-includes/query.php:2762) in …/wp-includes/pluggable.php on line 881”.

    If you delete a line 2762 – no error message appears, but the search does not work: “Sorry, but nothing matched your search criteria. Please try again with some different keywords”.

    I do not know what to do…

    Thread Starter Varun Sridharan

    (@varunms)

    wait i will try and tell u

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Jan Dembowski, thanks for the link, but I have another situation.

    “query.php” and “pluggable.php” do not have any spaces, new lines, or other stuff before an opening <?php tag or after a closing ?> tag. These files from the base set.

    The phrase “Cannot modify header information” is a consequence of the previous sentence ” Invalid argument supplied for foreach()”.

    The problem is related to the Sphinx…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘sphinx search error’ is closed to new replies.