Skip to content

footnotes_views: Fix PHP notices #13

Description

@olafgrabienski

Testing the submodule, I've noticed a lot of PHP notices in DBlog:

  • Warning: Parameter 3 to views_ui_build_form_state() expected to be a reference, value given in views_ui_ajax_form() (line 2871 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: form_key in views_ui_build_form_path() (line 2748 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: view in views_ui_build_form_path() (line 2750 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Trying to get property of non-object in views_ui_build_form_path() (line 2750 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: form_key in views_ui_build_form_path() (line 2751 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: display_id in views_ui_build_form_path() (line 2751 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: args in views_ui_build_form_path() (line 2752 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Warning: Invalid argument supplied for foreach() in views_ui_build_form_path() (line 2752 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: form_id in views_ui_ajax_form() (line 2877 of /(...)/core/modules/views_ui/views_ui.admin.inc).
  • Notice: Undefined index: in backdrop_retrieve_form() (line 814 of /(...)/core/includes/form.inc).
  • Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in backdrop_retrieve_form() (line 858 of /(...)/core/includes/form.inc).
  • Theme hook "" not found.
    • Location: /admin/structure/views/ajax/config-item/my_test_view/default/field/teaser_content
    • Referrer: /admin/structure/views/view/my_test_view

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions