I switched to cloudflare on Monday and on Monday and today it’s not working goodly, I get errors like wp config file is not connecting to database or something like that.
Can you activate WP_DEBUG to try and fetch the error message?
The following article explains how to do that, and provides additional assistance with the most commonly encountered database connection errors:
This is what I got: " Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/vol4_1/infinityfree.com/if0_35295096/htdocs/wp-content/plugins/buddypress-media/lib/deactivation-survey/deactivation-survey.php on line 103"
You can usually ignore those. “Deprecated” just means that this particular syntax will stop working with future PHP versions. It’s not broken now, and it’s up to the plugin/theme author to make sure that that won’t happen in the future.
Can you please share what exactly it says? Mentioning a feature that’s not working with a message “something like something” doesn’t really give us a lot to go on.