Support » Plugin: Relevanssi - A Better Search » Warning message when I perform a search

  • Resolved SockY26

    (@socky26)


    Relevanssi is working OK, but when I done a search I give this error at top of the page:

    Warning: Illegal string offset ‘key’ in homepages/38/d452325453/htdocs/wp-content/plugins/relevanssi/lib/search.php on line 214

    you know why?

    My site have WordPress 3.5.1 and ThemeForest Bellissima theme.

    Thank you!

    http://wordpress.org/extend/plugins/relevanssi/

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Your theme is doing a meta query without using a meta key, and Relevanssi chokes on it. This’ll be fixed in the next version, but for a quick fix, change the line 214 in lib/search.php to

    isset($meta['key']) ? $key = $meta['key'] : $key = '';

Viewing 1 replies (of 1 total)
  • The topic ‘Warning message when I perform a search’ is closed to new replies.