Fatal error: Uncaught Error: Call to a member function is_built_with_elementor()
-
After upgrading Event Tickets to 5.4.2, we are getting following error on the WordPress login page:
Fatal error: Uncaught Error: Call to a member function is_built_with_elementor() on bool in /public_html/wp-content/plugins/event-tickets/src/Tribe/Editor/Compatibility/Tickets.php:36 Stack trace: #0 /public_html/wp-includes/class-wp-hook.php(307): Tribe__Tickets__Editor__Compatibility__Tickets->include_frontend_form('') #1 /public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters('', Array) #2 /public_html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-catchuri.php(1535): apply_filters('the_content', '') #3 /public_html/wp-includes/class-wp-hook.php(307): bp_core_change_privacy_policy_link_on_private_network('', '') #4 /public_html/wp-includes/plugin.php in /public_html/wp-content/plugins/event-tickets/src/Tribe/Editor/Compatibility/Tickets.php on line 36
Error went away if I remove following code from /public_html/wp-content/plugins/event-tickets/src/Tribe/Editor/Compatibility/Tickets.php:
if ( class_exists( '\Elementor\Plugin' ) && \Elementor\Plugin::$instance->documents->get( get_the_ID() )->is_built_with_elementor() ) { return $content; }
Site’s system info is given below:
Server: Apache MySQL: 5.7.32-35 PHP: 7.4.30 PHP Memory Limit: 768M WordPress: 6.0 Theme: BuddyBoss Theme 2.0.5 == Active Plugins == Auto Login on Register for BuddyBoss 1.0.0 BuddyBoss Platform 2.0.5 BuddyBoss Platform Pro: 2.0.4 Display Posts: 3.0.2 Elementor: 3.6.7 Elementor Pro: 3.7.2 Events Tickets Extension: Virtual / Online Event Tickets: 1.1.1 Event Tickets: 5.4.2 Gravity Forms: 2.6.4 Gravity Forms Polls Add-On: 3.9 Gravity Forms Quiz Add-On: 3.9 Gravity Forms reCAPTCHA Add-On: 1.1 Gravity Forms Survey Add-On: 3.7 Gravity Forms Twilio Add-On: 2.9 Gravity Forms User Registration Add-On: 5.0 Gravity Forms Webhooks Add-On: 1.5 Gravity Forms Zapier Add-On: 4.2 Health Check & Troubleshooting: 1.4.5 If Menu - Visibility control for menus: 0.16.3 Loggedin - Limit Active Logins: 1.3.1 MemberPress + BuddyPress Integration: 1.1.16 MemberPress AWS: 1.3.6 MemberPress Cancel Override: 1.0.1 MemberPress Courses: 1.1.8 MemberPress Developer Tools: 1.2.11 MemberPress Downloads: 1.1.6 MemberPress Elementor Content Protection: 1.0.2 MemberPress Importer: 1.6.8 MemberPress Plus: 1.9.39 SiteGround Security: 1.2.9 Stream: 3.9.0 The Events Calendar: 5.16.2.1 The Events Calendar PRO: 5.14.3 User Switching: 1.6.0 User Switching in Admin Bar: 1.4
- The topic ‘Fatal error: Uncaught Error: Call to a member function is_built_with_elementor()’ is closed to new replies.