Supewinner
Forum Replies Created
-
1) installed the Sphinx (“OK – Sphinx Search Server is running”);
2) database indexed;
3) put a tag on the page – appeared in the search field;
4) click on “Search”;
5) “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”.
6) 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”.
Forum: Fixing WordPress
In reply to: sphinx search errorJan 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…
Forum: Fixing WordPress
In reply to: sphinx search errorvarunms, 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…
Forum: Fixing WordPress
In reply to: sphinx search errorThe same problem! What to do?
I have the same problem! The solution is found?