Support » Plugin: Relevanssi - A Better Search » Undefined index post_type pretty-links.php line 26

  • Resolved deputt

    (@deputt)


    We’re getting countless errors in the debug log with this line:

    Undefined index: post_type in /home/xxx/public_html/wp-content/plugins/relevanssi/lib/compatibility/pretty-links.php on line 26

    We discovered that the above file is required so to disable it, we had to insert a “return;”

    We’re using the free Relevanssi Version 4.9.0 with Pretty Links Beginner Edition Version 3.2.1.

    Please help resolve it. Thank you.

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

    (@msaari)

    The line 26 in pretty-links.php should be

    if ( isset( $query->query['post_type'] ) && 'pretty-link' === $query->query['post_type'] ) {

    You can fix it like that; I’ll release 4.9.1 this week and it’ll include the fix.

    • This reply was modified 5 months, 2 weeks ago by Mikko Saari.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.