WordPress.org

Ready to get started?Download WordPress

Forums

sphinx search error (7 posts)

  1. varunms
    Member
    Posted 2 years ago #

    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

  2. Supewinner
    Member
    Posted 1 year ago #

    The same problem! What to do?

  3. varunms
    Member
    Posted 1 year ago #

    Hi Supewinner

    The Latest WordPress Version Has Got The FIX For Error

  4. Supewinner
    Member
    Posted 1 year ago #

    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...

  5. varunms
    Member
    Posted 1 year ago #

    wait i will try and tell u

  6. Supewinner
    Member
    Posted 1 year ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.