Closed (won't fix)
Project:
Mobile Tools
Version:
7.x-2.0-unstable1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2011 at 14:11 UTC
Updated:
30 May 2012 at 17:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
steven jones commentedPatch attached, needed to return the form from the form builder.
Comment #2
laroccadahouse commentedthese are the errors i'm getting:
Warning: in_array() expects parameter 2 to be array, null given in mobile_tools_is_mobile_ctools_access_check() (line 68 of .../sites/all/modules/mobile_tools/plugins/access/is_mobile.inc).
Warning: in_array() expects parameter 2 to be array, null given in mobile_tools_is_mobile_ctools_access_check() (line 69 of .../sites/all/modules/mobile_tools/plugins/access/is_mobile.inc).
Warning: in_array() expects parameter 2 to be array, null given in mobile_tools_is_mobile_ctools_access_check() (line 68 of .../sites/all/modules/mobile_tools/plugins/access/is_mobile.inc).
Warning: in_array() expects parameter 2 to be array, null given in mobile_tools_is_mobile_ctools_access_check() (line 69 of .../sites/all/modules/mobile_tools/plugins/access/is_mobile.inc).
I applied your patch but i'm still getting the error...
Comment #3
laroccadahouse commentedUPDATE:
It seems this patch is useful as without it I could not go into my variants and adjust the mobile device types after removing the patch.. After REapplying the patch, I can edit the mobile device types again.
-------
these errors were to due to user error. I had not completely set up the selection rules for each variant of my homepage panel to account for desktop or mobile device. I reverted the is_mobile.inc file back to the original version after setting those rules correctly and now I have no errors.
Comment #4
steven jones commentedCould you just post new comments instead of editing please?
Does the patch work for you or not?
Comment #5
laroccadahouse commentedWhen I fixed my own user error i no longer got the warnings, but I could not edit the selection rules. I don't know if this is a consequence of adding and removing the patch or if their was an issue with the module to begin with.
At this point i have the patch applied and I can use the module with no issues.
Comment #6
travisc commentedYep this patch works. Mobile tools panel selection rules are broken without it.
Comment #7
travisc commentededit:
actually it works, i'm using panels everywhere, be sure to select a template for the varient as well as the panel layout.
Comment #8
minoroffense commentedComment #9
minoroffense commentedCommitted
Comment #10
Anonymous (not verified) commentedPatch doesn't work for 7.x-2.0-unstable1. This completely paralyzes the development of my whole site. Could someone please make a patch for this version?
Comment #11
devin carlson commentedThe 7.x-2.x branch of Mobile Tools in now unsupported.