Blank Homepage issue because of count() function on formatting.php

This topic has 4 replies, 2 voices, and was last updated 6 months, 1 weeks ago ago by Tony Rodriguez

  • Avatar: Tahsin Kandamar
    Tahsin Kandamar
    Participant
    May 10, 2024 at 23:39

    Hello, on our website the homepage appears as a blank page. When I searched, I saw a line 3507 of the formatting.php file, which indicates a problem with one of WordPress’ content formatting functions.

    According to the log file, a bool type value was given to the count() function, which caused an error message.

    This situation repeats even though we have not made any changes on the page. And for this reason, we lose both customers and time. I request your urgent support.

    Theme version: 9.3.9
    PHP Version: 8.1.23
    WordPress version: 6.5.3
    Memory limit: 512M
    Max execution time: 165

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 11, 2024 at 06:28

    Hello, @Tahsin Kandamar,

    Thank you for contacting us and for using XStore.

    1/ Could you please switch to WooCommerce default theme – Storefront (Appearance > Themes) in order to check if the issue is restricted to XStore only? Let us know the result.

    We kindly recommend that you take a complete backup of your site before proceeding.

    2/ We suggest disabling all third-party plugins (including cache plugins) that do not come bundled with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/ ), clearing the cache of the browser, and then checking again. It is possible that one of the additional plugins is causing the issue.

    If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further and help you:

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Tahsin Kandamar
    Tahsin Kandamar
    Participant
    May 14, 2024 at 10:40

    Hello,
    Our login information is in the private content area. I ask for your support.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 14, 2024 at 11:27

    Hello, @Tahsin Kandamar,

    Thank you for providing the wp-admin login details.

    Upon reviewing your website, we have identified that the issue originates from your child theme. As a temporary measure, we have activated the XStore parent theme on your site, which has successfully resolved the issue. Currently, the homepage is functioning correctly.

    To permanently address this matter, we recommend consulting with your site developer to review and rectify the additional code customizations in your child theme.

    Please note that modifications in the child theme fall outside our standard support policy.

    We appreciate your understanding and cooperation. If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Best Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.