• I’ve disabled the plugin for now as I’m getting an error “There has been a critical error on this website.”

    Confirmed memory is 1024MB, input vars are 10,000.

    This is the error with WP-debug:

    Fatal error: Uncaught Error: Call to undefined function pll_current_language()
    in /var/www/gettinganswers.com/htdocs/wp-content/plugins/relevanssi/lib/utils.php on line 202
    
    Call stack:
    
    relevanssi_get_current_language()
    wp-content/plugins/relevanssi/lib/common.php:778
    relevanssi_add_synonyms()
    wp-content/plugins/relevanssi/lib/search.php:1459
    relevanssi_compile_search_args()
    wp-content/plugins/relevanssi/lib/search.php:868
    relevanssi_do_query()
    wp-content/plugins/relevanssi/lib/search.php:94
    relevanssi_query()
    wp-includes/class-wp-hook.php:292
    WP_Hook::apply_filters()
    wp-includes/plugin.php:255
    apply_filters_ref_array()
    wp-includes/class-wp-query.php:2957
    WP_Query::get_posts()
    wp-includes/class-wp-query.php:3465
    WP_Query::query()
    wp-includes/class-wp.php:629
    WP::query_posts()
    wp-includes/class-wp.php:752
    WP::main()
    wp-includes/functions.php:1291
    wp()
    wp-blog-header.php:16
    require()
    index.php:17

    Ideas and guidance appreciated!

    The page I need help with: [log in to see the link]

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

    (@msaari)

    The actual problem here is that Relevanssi does not find the pll_current_language() function, even though Polylang should be available. Are you using Polylang? Anything unusual in your Polylang setup?

    Thread Starter Bob Randklev

    (@cbob)

    I disabled Polyland and yes that solved the issue.

    Polylang was installed but not configured so we’ll settle that at a later time.

    Thanks

    Thread Starter Bob Randklev

    (@cbob)

    Resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error when searching’ is closed to new replies.