Skip to content

Fatal error on searching #63

Description

@pollyplummer

When I search via the search widget, I receive a fatal error while typing (before pressing search): Fatal error: Call to a member function permalink() on a non-object in .../public_html/mysite.com/content/plugins/scriblio/plugin/class-scrib-suggest.php on line 127.

The odd thing is that I only get this when searching a word that exists as a taxonomy, i.e. a category like africa, asia, etc. or a term associated with my recipe custom post type, i.e the term flour or oil under the ingredient taxonomy. The search still completes and the search editor widget works but nothing shows up for facets.

If I search for something for which there is no taxonomy term, i.e. 'snow' - there is no fatal error on the auto-suggest and the search completes but again, the facets don't work.

I do have the bCMS plugin installed. I have the setting for for "Enhance WordPress search with full text keyword indexing" unchecked, as when it is checked every query says "nothing found". Yes, I have flushed my rewrite rules.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions