PHP & "Doing it wrong" Errors - Email Forms

Hi, I am checking on a couple of errors that have shown up in query monitor in relation to the ThemeCo Email forms plugin.

I can see three PHP errors as per below:

And one “doing it wrong” alert as per below:

I’m currently troubleshooting sporadic 502 errors so would be great to know if this may be related to spikes in CPU

1 Like

Hi @chrisjdavies,

Thanks for reaching out.
These are the *Deprecated Warning messages, I will report them to our development team. Till the fix comes, I would suggest you add the following code to the wp-config.php to suppress Warning messages.

define( 'WP_DEBUG', false );

Thanks

Will that code actually fix the issue or just remove the warning messages?

Hi @chrisjdavies,

This will hide the warnings from displaying on the site. Once the fix is released, you can safely remove this line from the wp-config.php file.

Thanks