Hi, I have a problem with my site, my xstore theme is making constant requests for files that don’t exist on the website, so here is a sample of this request below:
0.009614 access(“/home/italia06/staging/1/wp-content/themes/xstore-child/woocommerce/add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
0.000102 access(“/home/italia06/staging/1/wp-content/themes/xstore/woocommerce/add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
0.000160 access(“/home/italia06/staging/1/wp-includes/theme-compat/woocommerce/add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
0.000076 access(“/home/italia06/staging/1/wp-content/themes/xstore-child//add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
0.000057 access(“/home/italia06/staging/1/wp-content/themes/xstore//add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
0.000043 access(“/home/italia06/staging/1/wp-includes/theme-compat//add-to-wishlist.php”, F_OK) = -1 ENOENT (No such file or directory)
The theme is generating an extreme amount of such requests which is what is causing the loading of the website’s home page for a very long time and at the end. To confirm this, I changed the theme on the staging website to a default one and the problem was solved.
How can I solve the problem permanently? Thanks