...in mobile_tools\mobile_tools_context\plugins\access\is_mobile.inc on line 63

Searched but not declared anywhere, is this meant to be another newer function?

function mobile_tools_context_is_mobile_ctools_access_check($conf, $contexts) {
  $browser = mobile_tools_is_mobile_device();
  if ($conf['mobile_any'] && $browser['type'] == 'mobile') {
    return TRUE;
  }

  $access = in_array($browser['group'], $conf['mobile_list']);
  if (in_array($browser['type'], $conf['mobile_list']) && $browser['type'] == 'mobile') {
    return TRUE;
  }
  return $access;
}

Comments

Devin Carlson’s picture

Status: Active » Closed (won't fix)

The 7.x-2.x branch of Mobile Tools in now unsupported.

imoreno’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Closed (won't fix) » Active

Hi,
I'm experiencing this issue with the last 7.3 version. any clue what can cause this error?

rajeev_drupal’s picture

Issue summary: View changes

After enable this module I not found any error by default. Also not able to reproduce above error.
But after editing the device group name I found below error.

Notice: Undefined index: detector in mobile_tools_device_group_form_submit() (line 350 of D:\xampp\htdocs\drupal7\sites\default\modules\contrib\mobile_tools\mobile_tools.admin.inc).
Notice: Undefined index: detector in mobile_tools_device_group_form_submit() (line 351 of D:\xampp\htdocs\drupal7\sites\default\modules\contrib\mobile_tools\mobile_tools.admin.inc).
Notice: Undefined index: in mobile_tools_device_group_form_submit() (line 354 of D:\xampp\htdocs\drupal7\sites\default\modules\contrib\mobile_tools\mobile_tools.admin.inc).

harshil.maradiya’s picture

Status: Active » Closed (fixed)

fixed with latest release ..