• Resolved swinggraphics

    (@swinggraphics)


    [26-Mar-2026 17:28:39 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/themes/astra/inc/addons/breadcrumbs/class-astra-breadcrumb-trail.php:759

    This error is logged when visiting a page that does not exist. The page should load the 404 template.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @swinggraphics

    Thank you for reaching out to us.

    First, please ensure that you’re using the latest version of the Astra theme.

    If you’re using the latest version and the problem still exists, then could you let us know:

    Which version of PHP is your server using? (visible under Tools → Site Health)

    That’ll help us pinpoint the fix faster!

    With Regards
    Humayon

    Thread Starter swinggraphics

    (@swinggraphics)

    • PHP 8.3 (also tested on 8.1)
    • WP 6.9.4
    • Astra 4.12.6
    • Astra Pro 4.12.14
    • Elementor 4.0.1
    • Elementor Pro 4.0.1

    These are the only active plugins.

    • This reply was modified 1 week, 2 days ago by swinggraphics. Reason: Note about PHP 8.1

    Hi @swinggraphics

    Thank you for writing back to us.

    We want to let you know that we were able to reproduce the issue and created an internal task for our developers to check further.

    Hopefully, the issue will be addressed with a future release.

    We appreciate your patience and cooperation regarding this.

    With Regards
    Humayon

    Thread Starter swinggraphics

    (@swinggraphics)

    I found that while the fatal error is generated by Astra, there is also a separate issue in our particular case, where Elementor is not using the 404 template. That separate issue is related to this bug report. I will mark this thread resolved, because if Elementor fixed their bug, this issue with Astra would not even appear.

    • This reply was modified 5 days, 8 hours ago by swinggraphics. Reason: Note about separate Elementor issue

    Hi @swinggraphics,

    Thank you for reporting this and for the clear details — that really helps!

    You’re absolutely right. A fix from Elementor’s side will resolve the issue as well.

    Warm regards 😊
    Humayon

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.