Skip to content

Fatal error checking for an elementor post #3065

@brianhogg

Description

@brianhogg

Reproduction Steps

TBD

Expected Behavior

No error when checking for an elementor post

Actual Behavior

Fatal error

Error Messages / Logs

Fatal error: Uncaught Error: Call to a member function is_built_with_elementor() on bool in /home/customer/www/.../public_html/wp-content/plugins/lifterlms/includes/llms.template.functions.php:1210 Stack trace: #0 /home/customer/www/.../public_html/wp-content/plugins/lifterlms/includes/class-llms-elementor-migrate.php(210): llms_is_elementor_post() #1 /home/customer/www/.../public_html/wp-includes/class-wp-hook.php(341): LLMS_Elementor_Migrate->remove_template_hooks(Object(WP)) #2 /home/customer/www/.../public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #3 /home/customer/www/.../public_html/wp-includes/plugin.php(570): WP_Hook->do_action(Array) #4 /home/customer/www/.../public_html/wp-includes/class-wp.php(838): do_action_ref_array('wp', Array) #5 /home/customer/www/.../public_html/wp-includes/functions.php(1343): WP->main('') #6 /home/customer/www/.../public_html/wp-blog-header.php(16): wp() #7 /home/customer/www/.../public_html/index.php(17): require('/home/customer/...') #8 {main} thrown in /home/customer/www/.../public_html/wp-content/plugins/lifterlms/includes/llms.template.functions.php on line 1210

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Review in Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions