[Bug 47341] PHP Warning: in_array() expects parameter 2 to be array, null given in HTMLForm.php on line 2020
https://bugzilla.wikimedia.org/show_bug.cgi?id=47341 --- Comment #6 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 62007 abandoned by Bartosz DziewoĆski: Replaced every HTMLFormField::flattenOptions for $this-flattenOptions Reason: Per submitter. https://gerrit.wikimedia.org/r/62007 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 47341] PHP Warning: in_array() expects parameter 2 to be array, null given in HTMLForm.php on line 2020
https://bugzilla.wikimedia.org/show_bug.cgi?id=47341 Krinkle krinklem...@gmail.com changed: What|Removed |Added CC||krinklem...@gmail.com Summary|in_array() expects |PHP Warning: in_array() |parameter 2 to be array,|expects parameter 2 to be |null given in HTMLForm.php |array, null given in |on line 2020|HTMLForm.php on line 2020 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 47341] PHP Warning: in_array() expects parameter 2 to be array, null given in HTMLForm.php on line 2020
https://bugzilla.wikimedia.org/show_bug.cgi?id=47341 --- Comment #3 from Luis Felipe Schenone scheno...@gmail.com --- I think it has to do with this: http://stackoverflow.com/questions/999066/why-does-php-5-2-disallow-abstract-static-class-methods Working on it... -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 47341] PHP Warning: in_array() expects parameter 2 to be array, null given in HTMLForm.php on line 2020
https://bugzilla.wikimedia.org/show_bug.cgi?id=47341 --- Comment #4 from Luis Felipe Schenone scheno...@gmail.com --- Well, I submitted a patch to Gerrit (https://gerrit.wikimedia.org/r/#/c/62007/) with an attempt to solve the bug. However, the build went wrong for some reason. And in any case, after I submitted the patch I realized that the issue I mentioned above (see link to StackOverflow) is not the cause, as it only applies to abstract methods, and not to methods in abstract classes. So now I have no idea what may be causing the bug. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 47341] PHP Warning: in_array() expects parameter 2 to be array, null given in HTMLForm.php on line 2020
https://bugzilla.wikimedia.org/show_bug.cgi?id=47341 --- Comment #5 from Luis Felipe Schenone scheno...@gmail.com --- To be a bit more informative: The parameter 2 of the in_array() on line 2020 comes from the flattenOptions method of the HTMLFormField class. Looking at the code in the method, it seems that it cannot fail to return an array. So I started looking around and I thought, that because the class is abstract, and the method is static, the issue mentioned at http://stackoverflow.com/questions/999066/ may be the cause. So I submitted a patch, but the build failed for some reason, and now I realize that the issue only applies to abstract static methods, and not to static methods in abstract classes. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l