Title: wpforo plugin conflict
Last modified: September 14, 2020

---

# wpforo plugin conflict

 *  Resolved [karol1](https://wordpress.org/support/users/karol1/)
 * (@karol1)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wpforo-plugin-conflict/)
 * 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&#8230](https://intranet&#8230);
 * 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](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wpforo-plugin-conflict/#post-13401125)
 * 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](https://wordpress.org/support/users/karol1/)
 * (@karol1)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wpforo-plugin-conflict/#post-13406933)
 * 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.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [karol1](https://wordpress.org/support/users/karol1/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/wpforo-plugin-conflict/#post-13406933)
 * Status: resolved