• Resolved exrecefe

    (@exrecefe)


    My site has been having problems for a few days now. It doesn’t seem to load correctly, the presentation of the files fails, PHP dependencies, JQuery, among others, but with each F5 the broken content is different. The strange thing is that sometimes it loads well, there are more times that it does not but it is curious that sometimes it manages to look normal. I have WP version 6.3, although the problem appeared before upgrading.

    I thought it was due to an incompatible plugin, but I have tested the site without plugins, with another theme, I have reinstalled wordpress (From Updates Page and by FTP upload), and the problem persists. What do you think it could be?

    When it happens the admin panel shows plain text at best. In the console you can see dependency errors, like JQuery.

    I have checked the WP files and everything seems to be in order. Do you think the database has something to do with it? or maybe cloudflare? My site is hosted on Namecheap, could it have something to do with it?

    Here are some screenshots of what it looks like and some error messages. As I mentioned before, they are not always the same and I think they are more a consequence of something than errors.

    WP Errors

    Thank you very much in advance for any help you can give me.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like you’ve done thorough troubleshooting. Given the intermittent nature of the issue, it might be worth checking your hosting server logs and reaching out to Namecheap support to rule out any server-related issues. Cloudflare settings could also be a factor, so double-check those too. It’s good that you’ve explored plugins and themes as potential causes. Keep digging, and hopefully, you’ll pinpoint the root cause soon. Good luck! ???

    Thread Starter exrecefe

    (@exrecefe)

    @danitatsan Thank you for your response!

    I went to check the error logs on the server and found a recurring one related to the issue. The curious thing is that the error occurs even when the theme is not active. Do you know if the inactive themes could still influence something like this?

    This is the error:

    [08-Aug-2023 16:25:06 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_empty() on null in /home/XXXXX/holylemony/wp-content/themes/enzy/framework/woo_functions.php:67
    Stack trace: 0 /home/XXXXX/holylemony/wp-content/themes/enzy/templates/headers/header-v1.php(58): enzy_tiny_cart() 1 /home/XXXXX/holylemony/wp-includes/template.php(785): require('/home/XXXXX/…') 2 /home/XXXXX/holylemony/wp-includes/template.php(718): load_template('/home/XXXXX/…', false, Array) 3 /home/XXXXX/holylemony/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) 4 /home/XXXXX/holylemony/wp-content/themes/enzy/framework/theme_functions.php(903): get_template_part('templates/heade…', 'v1') 5 /home/XXXXX/holylemony/wp-content/themes/enzy/header.php(179): enzy_get_header_template() 6 /home/XXXXX/holylemony/wp-includes/template.php(783): require_once('/home/XXXXX/…') 7 /home/XXXXX/holylemony/wp-includes/template.php(718): load_template('/home/XXXXX/…', true, Array) 8 /home/busijqk in /home/XXXXX/holylemony/wp-content/themes/enzy/framework/woo_functions.php on line 67

    [08-Aug-2023 18:32:43 UTC] Cron reschedule event error for hook function: shopmagic/core/cron/daily, error code: invalid_schedule, error message: Event schedule does not exist, data: {"schedule":"shopmagic\/core\/cron\/daily","args":[],"interval":86400}
    [09-Aug-2023 05:18:38 UTC] PHP Notice: Undefined offset: 1 in /home/XXXXX/holylemony/wp-content/plugins/themesky/widgets/instagram.php on line 369

    • This reply was modified 1 year, 7 months ago by exrecefe.

    It’s interesting that you found the recurring error even when the theme is inactive. Inactive themes usually shouldn’t affect your site’s functionality. The error you provided points to an issue in the “enzy” theme’s code related to a call to the is_empty() function. It seems like this function is not properly handling a null value, which could potentially lead to the intermittent loading problems you’ve described.

    Considering this, it might be a good idea to reach out to the theme’s support or development team to inquire about this specific error and whether it could cause the issues you’re facing. They might have insights on how to address this issue or if there’s a recent update that could resolve it.

    Also, regarding the “Cron reschedule event error” and the “Undefined offset: 1” notices, it’s worth looking into the respective plugins mentioned in those errors to ensure they are up to date and properly configured.

    Keep working closely with your theme’s support and reviewing your plugins to troubleshoot further. Hopefully, you’ll be able to resolve these issues soon. Good luck, and don’t hesitate to seek more assistance if needed! ???

    Thread Starter exrecefe

    (@exrecefe)

    And suddenly, without doing anything really significant, the problem stopped appearing. I didn’t update anything I didn’t do before, so it’s very likely that the problem was related to hosting or cloudflare, maybe with an old cache, it’s a rare case.

    Anyway, I will try to contact the Theme support team to fix that error as well.

    Thank you very much @danitatsan for your help and willingness.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site loads randomly with problems’ is closed to new replies.