Home page is not loading sometime showing errors!

This topic has 11 replies, 2 voices, and was last updated 2 years, 11 months ago ago by Olga Barlow

  • Avatar: wsubzwari
    wsubzwari
    Participant
    December 22, 2021 at 18:14

    Hi Team,

    I`m getting 1 warning and 1 notice but sometimes like if you load homepage 5 to 6 times it will show other wise website is working fine.

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/mallofarabia/public_html/wp-includes/formatting.php on line 3361

    Notice: Trying to access array offset on value of type bool in /home/mallofarabia/public_html/wp-includes/formatting.php on line 3368

    Kindly check and let me know what should I do?

    Thanks

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 22, 2021 at 18:50

    Hello,

    Could you, please, send us video of your actions to reproduce the issue? Because we don’t get that. You can use Recordit tool to make a video.

    Regards

    Avatar: wsubzwari
    wsubzwari
    Participant
    December 22, 2021 at 19:09

    Kindly check the below link for video. when you click 10 to 15 times it show but sometimes it shows for 20 to 30 sec continuously. Have a look!

    https://www.screencast.com/t/Omhe9UoDEV1u

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 22, 2021 at 20:22

    Hello,

    You use a number of third-party plugins. Try to disable them, keep just the required theme plugins and check your site again. Do you still have the mentioned issue? Because our theme does not have code that could cause that.

    Regards

    Avatar: wsubzwari
    wsubzwari
    Participant
    December 22, 2021 at 20:47

    Yes, I tried it to disabled all the plugin just WooCommerce and XStore Core plugins were activated but still it show the error. After refreshing home page few times.

    Thanks

    Avatar: wsubzwari
    wsubzwari
    Participant
    December 22, 2021 at 20:49

    One thing i tried to delete the Products Element from WPBakery Page Builder and I refresh 50+ times it not show the error. Mean loading in Products on home page it give error sometimes.

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 22, 2021 at 20:50

    Hello,

    Added some custom code to prevent that error for the WordPress. Check if you still have it.

    Regards

    Avatar: wsubzwari
    wsubzwari
    Participant
    December 22, 2021 at 20:52

    What and where you have added?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 23, 2021 at 10:00

    Hello,

    Code was added to child theme functions.php.

    Regards

    Avatar: wsubzwari
    wsubzwari
    Participant
    December 23, 2021 at 11:19

    Thanks its working fine. Really appreciated your quick response. Thumbs Up (Y)

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 23, 2021 at 12:21

    Hello,

    You are welcome.

    Regards

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

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

Helpful Topics

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