• Resolved joncon62

    (@joncon62)


    Using the latest elementor 3.7.1 I get the following warning using Astra 3.9.1:

    Deprecated: Function Elementor\DB::is_built_with_elementor is deprecated since version 3.2.0! Use Plugin::$instance->documents->get( $post_id )->is_built_with_elementor() instead. in /Users/Jon/Sites/WORDPRESS localhost/events/wp-includes/functions.php on line 5379

    If I change themes the warning disappears. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi There !!

    This kind of issue only occurs when we use the older version of any themes and plugins in our dashboard so make sure every plugin and theme you updated again if you got these issues please let me know.

    Thank You !!

    Hi @joncon62, sorry for the delay.

    There was Elementor update since you started this thread. Are you still having the same issue even after you update Elementor to the latest version?

    Looking forward to hearing from you.

    Kind regards,
    Herman ??

    Thread Starter joncon62

    (@joncon62)

    Thanks for the follow-up. Everything is up-to-date and I’m still getting the error. If I change the theme then the notice goes away.

    There is a thread about it HERE

    If I rollback to 3.6.3 it goes away. Are you sure your theme isn’t causing it? If I remove the reference to ‘is_built_with_elementor’ on line 262 of class-astra-elementor.php then it doesn’t error.

    Looks like this line is causing it:
    return Plugin::$instance->db->is_built_with_elementor( $id );

    Thread Starter joncon62

    (@joncon62)

    Just to let you know I updated the Astra theme to 3.9.2 and the problem is now fixed.

    Thanks

    Thanks for confirming the fix, @joncon62.

    Please mark this thread as Resolved and feel free to start a new thread if there is anything else related to Astra we can help you with.

    Kind regards,
    Herman ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deprecated warning’ is closed to new replies.