Hello,
This is fixed in the latest version of the plugin. It was released just today π Please give it a try and let me know.
Hi Jordy!
Thanks for the awesome plugin and for the fix. That notice is no longer being written to my log, but with the fix I am now getting this one (and a lot more often):
PHP Notice: Undefined index: REQUEST_METHOD in /home/user/public_html/wp-content/plugins/contact-form-block/mcfb_core.php on line 44
Could you please have a look? Do you have plans to move this plugin to GitHub? I would be happy to give you a hand!
Hi @felipelungov,
We are almost there π Can you try to modify the line 44 to this?
if ( !$this->use_admin_post && isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'POST' ) {
Let me know if that fixes the issue for you and I will push the new version.
PS: I am using BitBucket for all my projects now. You could come and help if you like, but if it’s some changes like that, I can easily handle them.
I made the change in a test site, let’s see how it goes. I’ll write again tomorrow with the results.
I would like to internationalize the strings. I use it on a site with four languages, and the success message seems to be only in English. reCaptcha also accepts a language parameter that I am not sure the plugin is using.
If you would rather do it yourself that’s fine, but I can give you a hand if you prefer. Or else I can just do it for me, but then it wouldn’t be available to anyone else.
Everything is normally translatable now π However, I can definitely share the access to the repository, I’d be happy to have some help. Don’t hesitate to drop me a message via http://meowapps.com/contact.
Will do for sure!
Regarding the fix, it has been over 24 hours with no errors or notices from your plugin, so I think it is now safe to say that we have a fix!
Thanks for your support. I will contact you regarding access to the repository.
Hi Jordy,
I saw that you released a new version on Jan 31st, but you didn’t include this fix. Do you think it will be merged into the code soon?
Thanks!
Hello,
I am so sorry about this! Indeed, I missed it completely. I pushed a new release with the change now π