Closed (duplicate)
Project:
Mobile Tools
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 17:29 UTC
Updated:
16 Oct 2012 at 12:29 UTC
Hi,
I just checked my error logs today and found masses of errors which seem to be fired with every page request:
[error] PHP Warning: in_array() expects at least 2 parameters, 1 given in /sites/all/modules/mobile_tools/modules/mt_browscap/mt_browscap.module on line 32
As I do not really need mobile tools at the moment I deactivated this module.
Best,
Tobias
Comments
Comment #1
tobiberlinMaybe the code
is meant to be
???
Best,
Tobias
Comment #2
djbobbydrake commented@tobiberlin - Seeing the same error - your fix looks like it fixes the issue.
Comment #3
devin carlson commentedThis is already fixed in -dev with #1643448: Warning: in_array() expects at least 2 parameters, 1 mt_browscap.module line 32.