• Resolved karol1

    (@karol1)


    hi,
    I have a problem. I use Your plugin and wpforo plugin and when I type a word to search like “forum”, “wpforo”, I get as a result some of wpforo template page and information about critical wordpress error.

    Wordpress logs:
    PHP Fatal error: Uncaught Error: Call to undefined function wpforo_thread_forum_template() in /var/www/html/intranet/wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum.php:78\nStack trace:\n#0 /var/www/html/intranet/wp-content/plugins/wpforo/wpf-themes/classic/forum.php(61): include()\n#1 /var/www/html/intranet/wp-content/plugins/wpforo/wpf-includes/functions-template.php(2825): include(‘/var/www/html/i…’)\n#2 /var/www/html/intranet/wp-content/plugins/wpforo/wpf-themes/classic/index.php(31): wpforo_template(‘forum’)\n#3 /var/www/html/intranet/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(192): include(‘/var/www/html/i…’)\n#4 /var/www/html/intranet/wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php(229): wpforo_init_template()\n#5 /var/www/html/intranet/wp-includes/shortcodes.php(343): wpforo_load(Array, ”, ‘wpforo’)\n#6 [internal function]: do_shortcode_tag(Array)\n#7 /var/www/html/intranet/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\\\[(\\\\[?)(wpforo…’, ‘do_shortcode_ta…’, ‘[wpforo]\\n’)\n#8 /var in /var/www/html/intranet/wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum.php on line 78, referer: https://intranet…

    When I deactivate Relevanssi plugin, search results are ok.
    When I deactivate wp foro plugin (Relevanssi is activate), search results are ok too.
    Where is a problem?

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

    (@msaari)

    The error happens completely within WP Foro files, so do ask on the WP Foro support forums as well, they might know better. For some reason the search results page is calling an undefined function, but why it is undefined, that’s something within WP Foro and I can’t tell.

    Looks like the [wpforo] shortcode may be a problem somehow. You can try if adding this to the theme functions.php file helps:

    add_filter( 'relevanssi_disable_shortcodes_excerpt', 'rlv_add_wpforo' );
    function rlv_add_wpforo( $shortcodes ) {
        $shortcodes[] = 'wpforo';
        return $shortcodes;
    }

    In the end this is a problem within WP Foro, so a proper fix for this needs to happen at their end.

    Thread Starter karol1

    (@karol1)

    I pasted that code and error does not occur.
    Thank you for your support.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wpforo plugin conflict’ is closed to new replies.