Hi Ludovic,
In order to help investigate, I need to be able to recreate the 403 error. Can you let me know the steps to repeat it on default WordPress install?
it’s a bit complicated, because GoCardless is a premium plugin, and you need a SandBox account at GoCardless too, maybe I can give you temporary access to my staging site?
Also, I read about the BBQ Whitelist addon, I think I need to Whitelist something, but I don’t know whatβ¦
Yeah that’s really the ticket to resolving the issue: getting the URL that is blocked, and then use the whitelist plugin to ignore the offending pattern. We’re not allowed to log in to client sites, but if you can determine the URL, I can help you get set up with the whitelist plugin.
It might be the brackets (angle or square) that are included in the JSON data. But you would need to test it to be sure.
Thanks. And so it could give what the content of the array for the BBQ Whitelist plugin please?
This should do it:
$bbq_whitelist_query_string_items = array('(globals|request)(=|\[)');
You can leave the other arrays empty.
Great, it does the job, thank you very much for your precious time (I’m a big fan, I recently acquired some of your methods, and I love them)!
Take care π€
Hey @specialk π</img>Β
Just to let you know that I have some PHP warnings from bbq-whitelist plugin, It looks like an update to do for compatibility with PHP8.0 (but I’m not sure):
Warning: foreach() argument must be of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 39
Warning: foreach() argument must be of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 49
Warning: foreach() argument must be of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 59
Warning: foreach() argument must be of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 69
Warning: foreach() argument must be of type array|object, null given in ~/wp-content/plugins/bbq-whitelist/bbq-whitelist.php on line 79
Thank you for your help!
Warm regards,
Ludovic
Thanks for reporting, Ludovic. I’ve added to the list and will get ’em fixed up for the next plugin update. Cheers my friend.
Hey Ludovic, I just tested the whitelist plugin on PHP 8.0, 8.1, and 8.2. Could not repeat the described warnings. If you can provide the basic steps to repeat the issue on default WordPress, I will take a look and try to resolve asap. Thank you.
Hey Jeff, I just reactivated my debug and nothing similar is now appear. Thank you for your concern, I think we can put it aside for the moment, false alert. All the best!
That is great Ludovic, cheers!