Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter acurran

    (@acurran)

    Also it looks like the indexing is failing – when I click Build The Index it reloads the options page but the page is blank after the ‘Relevanssi Search Options’ heading. And there are only 10 documents in the index but there are definately way more posts than that on the website.

    Thread Starter acurran

    (@acurran)

    A further update on this issue: it looks like it is crashing when it is indexing pages that have a certain shortcode. The shortcode function included a require and each time I attempt to run the indexing I get a error in the server’s error log ike: PHP Fatal error: require(): Failed opening required ‘path/filenam.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/www.sitename.com/wp-content/themes/themename/functions.php on line 78, referer: https://www.sitename.com/wp-admin/options-general.php?page=relevanssi/relevanssi.php

    So it must be something to do with the path for the required field being different from the perspective of relevanssi than it is when the short code is used on an actual page.

    Plugin Author Mikko Saari

    (@msaari)

    Revisions in the index is always a sign of some kind of problem, as Relevanssi by default simply does not touch revisions. So, the revisions appear as posts for some reason.

    Is the problematic shortcode your own creation or part of some plugin? Might be the require is using a relative path and assuming it’s always being required from the same directory, but it’s not – so anchoring the relative path somehow would probably help.

    Does the problem go away if you turn off shortcode extension in Relevanssi settings?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘indexing revisions’ is closed to new replies.