Forum Replies Created

Viewing 1 replies (of 1 total)
  • +1 to this issue.

    Did some digging and it seems the FULLTEXT indexes are never created. Seems to be because the plugin activation hooks isn’t called. In YARPP_Core:

    register_activation_hook(__FILE__, array($this, 'activate'));

    __FILE__ in this case is the YARPP_Core.php file, not the plugin’s yarpp.php file. Shouldn’t it be the latter?

    Perhaps moving register_activation_hook back to the yarpp.php file will fix this. Or create the FULLTEXT indexes manually:

    ALTER TABLE wp_posts ADD FULLTEXT yarpp_title (post_title)
    ALTER TABLE wp_posts ADD FULLTEXT yarpp_content (post_content)

    And then delete the yarpp_fulltext_disabled option from wp_options (or change it to false).

    Hope that helps someone.

Viewing 1 replies (of 1 total)