Fatal Error When Saving Blog Post
-
Hello,
The plugin needs to be updated to be compatible with Avada please. Avada makes their own version of the function “is_bbpress()” which is conflicting with your oversimplified check of the “is_bbpress()” function existing in your plugin on /plugins/litespeed-cache/thirdparty/lscwp-3rd-bbpress.cls.php line 26. Your plugin needs to check not only if the function exist but if it returns true or not too.I hotfixed this issue by changing line 26 from:
“if ( function_exists(‘is_bbpress’) {”
to
“if ( function_exists(‘is_bbpress’) && is_bbpress() ) {”Here is the error log from the original error:
An error of type E_ERROR was caused in line 63 of the file /home/USER/public_html/test/x/lc-content/plugins/litespeed-cache/thirdparty/lscwp-3rd-bbpress.cls.php. Error message: Uncaught Error: Call to undefined function bbp_is_forum() in /home/USER/public_html/test/x/lc-content/plugins/litespeed-cache/thirdparty/lscwp-3rd-bbpress.cls.php:63
- The topic ‘Fatal Error When Saving Blog Post’ is closed to new replies.