• Hi there,

    I’m running into a fatal error that’s preventing me from saving or publishing posts in WordPress. The error appears in my server’s error log and coincides exactly with the “The response is not a valid JSON response” error I see in the block editor when trying to update a post.

    Error details:

    PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in
    /wp-content/themes/astra/inc/compatibility/class-astra-elementor.php:388

    Environment:

    • Astra theme version: 4.13.5
    • Elementor version: 4.1.4
    • This happens on both new posts and existing posts, so it doesn’t appear to be content-specific.
    • I’ve already ruled out plugin conflicts (tested with all other plugins deactivated) and confirmed the WordPress REST API itself is working correctly.
    • Temporarily switching to the Twenty Twenty-Four theme allows posts to save without issue, which points to this being an Astra/Elementor compatibility conflict specifically.

    This may be related to a missing check before calling get_data() on a WP_Error object (rather than a proper WP_REST_Response) — similar to a bug pattern I’ve seen mentioned in other plugin fixes.

    Could someone confirm if this is a known issue, and if a fix is planned? Happy to provide any additional debug info if needed.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @percula

    Thanks for reaching out to us.

    Yes, we were able to reproduce the issue on our end, and our team has resolved the issue in this dev version.

    Please download it from here and install it like a normal theme. If it asks to overwrite, then proceed with overwriting.

    Also, it will be adjusted with a future release.

    With Regards
    Humayon

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.