Created on 12 September 2022, almost 2 years ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

Migrating Drupal 7 to PHP 8.
Drupal version: 7.92

Steps to reproduce

Go to /admin/structure/pages and click on "Node edit" page: /admin/structure/pages/edit/node_edit
You will get this error:
TypeError: array_keys(): Argument #1 ($array) must be of type array, null given en array_keys() (lΓ­nea 1112 de /DRUPAL_FOLDER/sites/all/modules/ctools/page_manager/page_manager.admin.inc).

Proposed resolution

You can add this:
if (is_array($operations)) {
to solve the issue, but the variants tabs on the left becomes empty.

Any idea to solve this?

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.20

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain JOINSO Sabadell

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024