• Resolved Aristocles

    (@apos37)


    I am trying to debug something on a live site with your plugin installed (I can’t disable your plugin while I do so because of my high traffic), and your plugin is spitting out 80,000 warnings every few minutes. I’m not exaggerating either. The same two over and over again:

    PHP Warning: Undefined array key “key1” in /public_html/wp-content/plugins/relevanssi/lib/sorting.php on line 382

    and

    PHP Warning: Undefined array key “key2” in /public_html/wp-content/plugins/relevanssi/lib/sorting.php on line 382

    I understand you only check this support once a week, but it’s an easy fix when you get a moment, please. It’s driving me nuts trying to sort through it.

    Good plugin, though. ??

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

    (@msaari)

    There’s something wrong with how the sorting is set up on your site; that’s why you’re seeing the warnings. What are you doing with the orderby parameters?

    Thread Starter Aristocles

    (@apos37)

    Thanks. I was ordering my blog page with pre_get_posts and forgot to tell it not to use it on the search page. It’s fixed now. ?? ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please fix PHP Warning’ is closed to new replies.