HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

"Undefined index" when using "Form->Date" with LocaleDeveloper enabled

R_JR_J Ex-FanboyMunich Admin

I have an installation of 2.1.1 and get a notice if I have LocaleDeveloper activated and use $Sender->Form->Date:

public function postController_beforeBodyInput_handler($Sender) {
    echo $Sender->Form->Date('SomeDate');

The text is (13x) "Notice: Undefined index: file in /usr/share/nginx/html/vanilla/plugins/LocaleDeveloper/class.developerlocale.php on line 32"

I know, it is only a notice and I can turn it off, but when you are using that plugin, it is most probably that you are developing something and if you are doing that, you should take a look at all PHP error reporting levels. So it is an annoyance.

Sign In or Register to comment.