Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter KriMar

    (@krimar)

    The error has something to do with the is_active_sidebar of the 404.php

    I tested it with this code:

    <?php if ( ! is_active_sidebar( 'colormag_error_404_page_sidebar' ) ) : ?>
    <!-- Content to show if the sidebar is NOT active (no widgets in it) -->
    NOT ACTIVE
    <?php else : ?>
    <!-- Content to show if the sidebar is active (widgets are in it) -->
    ACTIVE
    <?php dynamic_sidebar( 'colormag_error_404_page_sidebar' ); ?>
    <?php endif; ?>

    So when im having an widget on my sidebar, the 404 page is broken. Whenever i have NO WIDGET on the sidebar, the 404 page works.

    This is my current fix in the 404.php on line 32:

    <?php #if ( ! is_active_sidebar( 'colormag_error_404_page_sidebar' ) ) : ?>
    <?php if ( is_active_sidebar( 'colormag_error_404_page_sidebar' ) ) : ?>

    Hi @krimar,

    Thanks for the detailed query and solution as well. We will look into this issue on our end and release an update with the fix.

    Regards!

    Thread Starter KriMar

    (@krimar)

    “We will look into this issue on our end and release an update with the fix.”

    Thanks for the update ?? is there a page for changelogs or something else, where i can read what got changed in the newest version?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.