Critical Error When Uploading Logo

  • Posted in : Archy
  • Lindsey
    Participant

    Hello! I’m developing a new website using the Archy theme and encountered a repeatable critical error when replacing the default logo with a custom logo through the theme settings.

    The site works normally with the default logo. However, as soon as I select and save a custom logo, the front end displays:

    There has been a critical error on this website.

    I tested the following:

    Disabled Pixelwars Core, but the error remained.
    Switched to another theme, and the site loaded normally.
    Installed a fresh copy of Archy, but the same error occurred.
    Reset the theme_mods_archy-wp database entry, which restored the site.
    Tried adding the custom logo again, and the same error immediately returned.

    This appears to be related to a theme setting being saved as a string and then used in a multiplication operation on line 805. The site is only displaying now because it is using a text logo.

    Could you please advise whether there is an update or patch available for this issue?

    Mehmet S.
    Keymaster

    Hello,

    Thank you for the detailed report.

    We have confirmed the issue, and the fix is already prepared. We will publish a new Archy theme update today.

    After updating the theme to the latest version, you should be able to use your custom logo normally.

    Thank you for your patience and for bringing this issue to our attention.

    Mehmet S.
    Keymaster

    Hi, thanks for the detailed report.

    The “Logo Padding” field (Customizer > Site Identity) could be saved empty, and the theme then ran a calculation on that empty value, which is fatal error on PHP 8+. The custom logo itself wasn’t the cause — that field just happens to sit in the same panel.

    It’s fixed in Archy v2.1.7, available on ThemeForest now. Step-by-step update instructions are here: https://www.pixelwars.org/forums/topic/how-to-update-your-theme/

    You don’t need to reset anything or re-upload your logo — your settings are preserved.

    Sorry for the trouble, and thanks again — your report made this quick to fix.

    Best regards,
    Pixelwars Support

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register