Drupal core profile edit screen shows blank white screen after upgrade (works with previous dev release). Under Settings, the Mobile Roles tab returns this error:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'mobile_tools_roles_configuration_form' was given in /home/httpd/pages/includes/form.inc on line 376.

Comments

Capqwerty’s picture

Is there any workaround for this issue?

Capqwerty’s picture

Is there any workarounds for this issue?

twom’s picture

Status: Active » Fixed

I fixed this is in the new dev version.

Do not forget to clear cache after updating.

Capqwerty’s picture

Hi
I haven't had much luck with this. The actual error message has gone but if you go to edit a users profile you essentially get a whitescreen of death.
I have tried uninstalling
clearing cache
re-installing

natehill’s picture

never mind, it works, thanks

mikhailian’s picture

Version: 6.x-1.x-dev » 6.x-1.13

The latest release (1.13) threw lots of "Fatal error: Call to undefined function XXX in includes\menu.inc on line 410", XXX being "webform_menu_load()" and "mobile_tools_user_roles()", AFAIR.

I removed the module, cleared the cache and everying worked again. Shouldn't you withdraw the latest release until this is fixed?

twom’s picture

Hi,

Thx for the report on this issue. Where did you update from? the dev version or the previous stable release?

I guess that it is caused by the seperate mobile_tools_roles.inc file that include some menu callbacks.

The problems can be fixed by rebuilding your menu router table, but I will see if I cannot create a better update path..

twom’s picture

Found the issue. The function was being called when the file was not included... This is fixed in the 1.14 release ...!

mikhailian’s picture

I updated using the Drupal-internal update notification mechanism.

Thank you for resolving the issue so fast. Great work!

Status: Fixed » Closed (fixed)
Issue tags: -profile edit

Automatically closed -- issue fixed for 2 weeks with no activity.