• Resolved elyalorde

    (@elyalorde)


    Hi there,

    I’m a non-tech person and WordPress has been sending me emails these days regarding an error from my site, which I think that Elementor is the cause because I have tried many ways to debug (Deactivate plugins, switch theme, clear cache). Yet, WordPress did not stop sending me error email until I finally deactivated Elementor.

    There is no visual issue, WordPress only sends me emails to notify me about this error. Below is the error details, it would be great if you could take a look and let me know if there’s a way for me to fix this. Thank you so much!

    WordPress version 6.0
    Active theme: Astra (version 3.8.1)
    Elementor Version 3.6.5
    PHP version 7.4.29

    Error Details
    =============
    An error of type E_ERROR was caused in line 262 of the file /public_html/wp-content/themes/astra/inc/compatibility/class-astra-elementor.php. Error message: Uncaught Error: Call to a member function is_built_with_elementor() on null in /public_html/wp-content/themes/astra/inc/compatibility/class-astra-elementor.php:262
    
    Stack trace:
    #0 /public_html/wp-content/themes/astra/inc/compatibility/class-astra-elementor.php(89): Elementor\Astra_Elementor->is_elementor_activated(0)
    #1 /public_html/wp-includes/class-wp-hook.php(307): Elementor\Astra_Elementor->enqueue_elementor_compatibility_styles('.wp-block-searc...')
    #2 /public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters('.wp-block-searc...', Array)
    #3 /public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php(293): apply_filters('astra_dynamic_t...', '')
    #4 /public_html/wp-includes/class-wp-hook.php(307): Astra_Enqueue_Scripts->enqueue_script

    Best regards,
    Elya

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @elyalorde , could you please send me the URL of your site?

    In addition, the error seems to point to the Astra theme as well. Did you try to switch to a basic WordPress theme? you may also check if you are using the latest version of the theme.

    Thread Starter elyalorde

    (@elyalorde)

    Hi there,

    Thank you for your reply! I’m currently putting the site in “coming-soon” mode so I’m afraid you may not be able to check it via the URL, unfortunately.

    + Yes, I’m using the latest version of Astra theme.

    + And yes, I did try to switch to Twenty Twenty-Two at first, then I found out that Twenty Twenty-Two has issues with Elementor. Then I switched to Twenty Twenty-One, it has no issue so far.

    As far as what I notice, the errors only show up when I used Elementor with Astra.

    + If I use Astra without Elementor, wordpress does not send me any email of errors.

    + If I use Elementor without Astra, wordpress does not send me any email of errors. However, there are errors show up in the Console as below when I use Elementor. (no matter what theme I switch to, as long as I use Elementor, this error will show up in the Console)

    Here is the picture of the error in Console: https://drive.google.com/file/d/1V52zKaYMXs1AKc63VazJyiEWB9H9HWdL/view?usp=sharing

    What should I do?

    Thank you,
    Elya

    Thread Starter elyalorde

    (@elyalorde)

    Hi Elementor Team,

    Thank you for your advice and instruction!

    + I have reached out to Astra team regarding this issue and sent them the link to this topic. Hopefully there would be a way to resolve this issue.

    + Regarding the 404 error, I have tried all methods as you advised and checked my server to see if it meets all minimum requirements for Elementor. Yes, my server meets all the requirements and the memory limit is also 512M. However, the error still persists.. ??

    + As you can see from the Console errors, there is another issue with “event.path”, that issue is from Elementor because it does not show up when I deactivated Elementor.
    “‘Event.path’ is deprecated and will be removed in M109, around January 2023. Please use ‘Event.composedPath()’ instead.”
    -> Elementor will fix it in future updates, right?

    Thank you,
    Elya

    Thread Starter elyalorde

    (@elyalorde)

    Hi @wahyonghardware ,

    Thank you for sharing! Glad to know that I’m not the only one who is having issues when using Elementor with Astra. ?? Let’s wait to see if they have any ideas on fixing the issue.

    Thread Starter elyalorde

    (@elyalorde)

    Hi,

    Just want to let you know that I have been able to solve the 404 error.

    Thank you!

    H? @elyalorde , glad to hear that!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue When Working with Astra Theme’ is closed to new replies.