Cloudflare breaks Elementor website


I have a woocomerce website built with elementor. When I enable cloudflare on my site it breaks my website.I get child function error 57 php. I added rules to cache to bypass elementor files, but it still breaks my site.


The error message Child function error 57 php" is displayed when a PHP function is called before it has been defined. This can happen when you are using a plugin or theme that is not compatible with Cloudflare.

I had a similar issue with one of my client’s website 5 months ago, when we used elementor on the website. The issue was resolved after we changed the theme (at that time we didn’t know the solution).

Here is how you can fix the issue.

To fix this issue, you need to identify the plugin or theme that is causing the error. Once you have identified the plugin or theme, you can disable it or update it to a version that is compatible with Cloudflare.

You can also try adding the following rule to your Cloudflare settings:


This rule will tell Cloudflare to not cache any files in the /wp-content/plugins/elementor/ directory.
If you are still having problems after trying these steps, you can contact Cloudflare support for help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.