Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save firebelly/1127518 to your computer and use it in GitHub Desktop.
Save firebelly/1127518 to your computer and use it in GitHub Desktop.
media_mover_api load configuration errors
list configurations:
issue:
error: "call_user_func_array() expects parameter 1 to be a valid callback, function 'media_mover_ui_landing_page' not found or invalid function name in call_user_func_array()"
result: page does not load
add configuration:
issue:
error: "notice: Undefined index: values in media_mover_ui_config_edit_form()"
result: page does not load
list files:
issue:
error: "notice: Undefined variable: params in media_mover_ui_files_list()"
error: "notice: Trying to get property of non-object in media_mover_ui_files_list()"
result: all file object properties display default values
settings + tools:
issue:
error: both paths display identical data
error: all values passed to mm_utilities_admin_form() result in "notice: Undefined index: cpu in mm_utilities_admin_form()"
import tab:
issue:
error: "notice: Trying to get property of non-object in media_mover_api_menu_configuration_title_callback()"
import action:
issue:
error: "notice: Undefined variable: configuration in media_mover_api_import_config_form_validate()"
error: "notice: Trying to get property of non-object in media_mover_api_import_config_form_validate()"
error: "warning: Invalid argument supplied for foreach() in media_mover_api_import_config_form_validate()"
error: "notice: Undefined variable: configuration in media_mover_api_import_config_form_submit()"
error: "notice: Use of undefined constant MMA_ACTION_TYPE_HARVEST - assumed 'MMA_ACTION_TYPE_HARVEST' in media_mover_ui_config_edit_form()"
result: configuration is not imported; leads to blank add screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment