Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
...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
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedThe 7.x-2.x branch of Mobile Tools in now unsupported.
Comment #2
imoreno CreditAttribution: imoreno commentedHi,
I'm experiencing this issue with the last 7.3 version. any clue what can cause this error?
Comment #3
rajeev_drupal CreditAttribution: rajeev_drupal commentedAfter 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).
Comment #4
harshil.maradiya CreditAttribution: harshil.maradiya commentedfixed with latest release ..