• Resolved felipelungov

    (@felipelungov)


    I am getting the following notice:

    PHP Notice: Undefined variable: bCSS_input in /home/user/public_html/wp-content/plugins/contact-form-block/mcfb_run.php on line 156

    I can’t find where that variable is defined in any of the files.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    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.

    Thread Starter felipelungov

    (@felipelungov)

    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!

    Plugin Author Jordy Meow

    (@tigroumeow)

    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.

    Thread Starter felipelungov

    (@felipelungov)

    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.

    Plugin Author Jordy Meow

    (@tigroumeow)

    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 https://meowapps.com/contact.

    Thread Starter felipelungov

    (@felipelungov)

    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.

    Thread Starter felipelungov

    (@felipelungov)

    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!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    I am so sorry about this! Indeed, I missed it completely. I pushed a new release with the change now ??

    Thread Starter felipelungov

    (@felipelungov)

    No worries! Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP Notice: Undefined variable: bCSS_input’ is closed to new replies.