Problem/Motivation

Gettings warnings and notices given below.

Code added by this patch [subprofile support] 1356276 - Allow profiles to define a base/parent profile and load them in the correct order / 2914389 - Allow profiles to exclude dependencies of their parent
giving warnings and notices.

Warning: Invalid argument supplied for foreach() in Drupal\Core\Extension\ProfileExtensionList->getAncestors() (line 67 of /var/www/html/docroot/core/lib/Drupal/Core/Extension/ProfileExtensionList.php)

Steps to reproduce

Go to status reports page

Proposed resolution

Maybe an if (!empty($extension->ancestors)) { } can be added to foreach ($extension->ancestors as $ancestor) {

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork lightning-3243564

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lomasr created an issue. See original summary.

lomasr’s picture

Title: Getting warinings and notices. » Getting warnings and notices.
lomasr’s picture

Issue summary: View changes
lomasr’s picture