Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

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

This discussion is related to the Locale Developer addon.
R_JR_J Cheerleader & TroubleshooterMunich Moderator

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.