Title: PHP Notice: Undefined variable: bCSS_input
Last modified: January 17, 2020

---

# PHP Notice: Undefined variable: bCSS_input

 *  Resolved [felipelungov](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/)
 * 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](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12340655)
 * 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](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12344070)
 * 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](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12344228)
 * Hi [@felipelungov](https://wordpress.org/support/users/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](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12348751)
 * 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](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12351405)
 * 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](http://meowapps.com/contact).
 *  Thread Starter [felipelungov](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12353174)
 * 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](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12389001)
 * 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](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12389489)
 * Hello,
 * I am so sorry about this! Indeed, I missed it completely. I pushed a new release
   with the change now 🙂
 *  Thread Starter [felipelungov](https://wordpress.org/support/users/felipelungov/)
 * (@felipelungov)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12390568)
 * 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.

 * ![](https://ps.w.org/contact-form-block/assets/icon-256x256.png?rev=2548148)
 * [Contact Form Block](https://wordpress.org/plugins/contact-form-block/)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-block/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-block/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 9 replies
 * 2 participants
 * Last reply from: [felipelungov](https://wordpress.org/support/users/felipelungov/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-bcss_input/#post-12390568)
 * Status: resolved