Elementor + Buddyboss Search Error
-
Hello team,
We are using Elementor, Buddyboss (Theme and Plugin) and Event Tickets. But while we activated Event Ticket, our search page got an error. So we worked on it with Buddyboss support and we solved this problem. Can you control it and fix main plugin?
——-
Upon checking, this critical error is caused by this fatal error: ?? [11-Aug-2022 17:07:45 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_built_with_elementor() on bool in /app/data/public/wp-content/plugins/event-tickets/src/Tribe/Editor/Compatibility/Tickets.php:39 I suggest you contact the Events Tickets plugin author about this issue. I fixed the issue by editing this file as a workaround public/wp-content/plugins/event-tickets/src/Tribe/Editor/Compatibility/Tickets.php line #39. change this piece of code. if ( $post instanceof WP_Post && class_exists( '\Elementor\Plugin' ) && \Elementor\Plugin::$instance->documents->get( $post->ID )->is_built_with_elementor() ) { return $content; } to $document = \Elementor\Plugin::$instance->documents->get( $post->ID ); if ( $post instanceof WP_Post && class_exists( '\Elementor\Plugin' ) && $document && $document->is_built_with_elementor() ) { return $content; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Elementor + Buddyboss Search Error’ is closed to new replies.