If you are using JetEngine and Elementor to create and edit listings, you may encounter an issue if you use any BuddyBoss pages as your static homepage. When you try to edit a listing with Elementor, you may get the error message “The preview could not be loaded”.

This is because BuddyBoss and JetEngine are not officially integrated, and they may have some compatibility issues.

However, there is a workaround that may help you resolve this issue. The JetEngine team suggested adding a code snippet to your child theme’s function.php file, which can prevent the error from occurring. Here is the code snippet:

//prevent listing errors

add_filter('bp_is_current_component', function( $is_current_component) {
  global $post;
  if (! $post || ! is_object( $post ) || !isset($post->post_type ) ) {
    return $is_current_component;
  if ($post->post_type === 'jet-engine') {
    return false;
  return $is_current_component;

This code snippet will check if the current component is a jet-engine listing, and if so, it will return false to avoid the conflict with BuddyBoss.

To add this code snippet to your child theme’s function.php file, you can follow these steps:

  1. Go to Appearance > Theme Editor in your WordPress dashboard.
  2. On the right sidebar, select your child theme and find the function.php file.
  3. Click on the function.php file to open it in the editor.
  4. Copy and paste the code snippet at the end of the file.
  5. Click on Update File to save your changes.

Now you should be able to edit your jet-engine listings with Elementor without any error.