I created an application password. I turned off security temporarily and then back on. The IP address is white-listed on cloudflare.
Attempts to post are getting:
Error 406 – Not Acceptable Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.
I’m not sure HOW to fix this problem.
I also have two other problems that I’m not able to fix. I get a PHP error
- [05-Feb-2024 17:21:57 UTC] PHP Fatal error: Uncaught Error: Undefined constant GuzzleHttp\ClientInterface::VERSION in /home/ginger42/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:1042
- I need to modify functions.php because Rank Math is having a problem with French. They asked me to add:add_filter( ‘rank_math/json_ld/search_url’, function( $url ) { if ( ‘fr’ === ICL_LANGUAGE_CODE ) { return ‘https://www.myurl.com/?s={search_term_string}&lang=fr’; } return $url; } );To my functions.php. But if I do, it trips the Quarantine system. I’m just not sure how to edit it and update the system to allow it. I can’t see a place to add it via BPS. Definitely not in the custom code as far as I can see.
Thank you