dblog from /admin/reports/site-audit

Notice: Undefined index: duplicate_coun in Drupal\site_audit\Plugin\SiteAuditCheck\ContentDuplicateTitles->calculateScore() (line 107 of /var/www/html/drupal/drush/Commands/site_audit/src/Plugin/SiteAuditCheck/ContentDuplicateTitles.php)

Using Drupal 8.6.15, PHP 7.2.17, site_audit 8.x-3.0-beta1

Comments

waverate created an issue. See original summary.

waverate’s picture

Title: Notice: Undefined index: duplicate_coun » Undefined index: duplicate_coun
waverate’s picture

There is a typo in line 107. It should read:

$this->registry->nodes_duplicate_title_count += $row['duplicate_count'];

waverate’s picture

Issue tags: +PHP 7.2
amsteri’s picture

Status: Active » Needs review
StatusFileSize
new707 bytes
waverate’s picture

Status: Needs review » Reviewed & tested by the community

Patch at #5 works. Thank you @Amsteri.

jrglasgow’s picture

Status: Reviewed & tested by the community » Fixed

  • jrglasgow committed e7dd8ab on 8.x-3.x authored by Amsteri
    Issue #3050776 by Amsteri, waverate: Undefined index: duplicate_coun
    

Status: Fixed » Closed (fixed)

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