Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I know a quick temporary fix for you. Of course, make a backup of any file you change before you change it.

    In your Relevanssi files, find the common.php file in the lib folder. Look for the function relevanssi_remove_punct. In that section, you will see a list of all the punctation that is either replaced by a space, or stripped out (by not being replaced with anything.)

    Find the line with the apostrophe that your site uses. The code will look something like this:

    $a = str_replace(“‘”, ‘ ‘, $a);

    In the array, the punctation inside the quotations is the punctuation that is being replaced. Whatever is in between the second set of single quotes is what the punctuation is being replaced with. If you don’t want the space, take it out but leave the single quotes.

    $a = str_replace(“‘”, ”, $a);

    If you don’t want the punctuation to change at all, simple remove the line.

    Save your changes, replace the online file with your modified file, and test it. This is not a change that affects the search index, so you should be able to see it immediately.

    Remember, this is a temporary fix because doing it this way means you have to change this file everytime you update the plugin.

    I had a whole set of problems, and the FAQ above helped me solve a lot of them, plus some other threads gave good advice to completely delete the wp-admin folder and the wp-includes folder (after backing EVERYTHING up first, of course). Reinstall both from a clean, fresh download of WordPress (whatever version you just upgraded to).

    Those solutions solved all my problems but one. I got the same errors referencing the pluggable.php file.

    If you have access to your php.ini file, BACK IT UP, then simply change the output buffering to “on”. Here is the default:

    output_buffering = off

    Here is what you change it to:

    output_buffering = on

    If you don’t have access to your php.ini file, call your hosting company. They may have it under a different name, or have a different way you can set that.

    One last note, if you download your php.ini file to edit it on your own computer, use a plain text editor (like Notepad) that can save it in UTF-8 format. This is very important.

Viewing 2 replies - 1 through 2 (of 2 total)