Some error with Contact Form 7 plugin

Hi! I’ve installed Contact Form 7 plugin on my website (https://dev.griaudio.ru), but Query Monitor (plugin I use for debugging) shows some error. I’m wondering what this error can mean, and is there any way to fix it? I’m asking here, because I’ve never seen this error with any other WP theme, but always seeing it with Pro theme and Contact Form 7 plugin, even with clean install.

Thanks!

Hi There,

Thanks for writing in! Upon inspecting your site, I do not see any stylesheet errors. Could you please try disabling your 3rd party plugins to see if there any plugin conflicts causing this.

Thanks!

Thanks for the reply! I’ve even tried to make a clean WP install, but with Contact Form 7 + Pro theme this error persists. You can easily reproduce it by

  1. installing wordpress,
  2. installing Pro theme,
  3. installing Query Monitor plugin,
  4. installing Contact Form 7 plugin,
  5. looking at Query Monitor while being on any page (not in admin panel)

And I think this is error is not caused by conflict of Query Monitor with Contact Form 7, because I’ve never seen it on any other wp theme.
I’m sure that this is not some kind of critical error, and maybe this is not even an error, but it prevents me to use such great plugin as Query Monitor for it’s actual purpose - show if everything gone wrong, because now it always shows that everything gone wrong :). So if there is a way to fix it - it would be great.
Thanks!

Hi There,

I can see the issue, though it would be best to consult the plugin developer regarding this issue. Though contact form 7 is an approve plugin, how it works/interact with other plugin is outside the scope of our support. Please try to consult query monitor plugin developer first. They can give you more understanding regarding the error. Thank you for understanding.

Hi! I’ve actually resolved the problem by adding add_filter( 'wpcf7_load_css', '__return_false' ); to functions.php.
As far as I understand this error appeared because Contact Form 7 plugin was looking for its own stylesheet, while being styled by Pro theme stylesheet. I don’t know if I’m right, but I still think that this issue isn’t about interaction between CF7 and Query Monitor, but about CF7 and Pro theme.
So, thank you!

1 Like

Hi There,

I think your assumption could be correct.

Glad you were able to resolve it and thanks for sharing your solution here.

Cheers!