Links aren't getting checked.

Created on 7 September 2023, over 1 year ago

I'm on Drupal 9.5.10 and Link Checker 8.x-1.1. I have set up all of my available fields to be checked and the list of links builds. After creating a new node and running "Reanalyze content for links" the links in that new content show up right away in my Broken Links Report. But all of the links found have the value "never" in the Last Checked column and a null value in the Status Code field.

Steps to reproduce

Composer install Link Checker 8.x-1.1. Apply all recommended settings in the Link Checker settings form. Edit content types and paragraph types to have Link Checker scan broken links using the default HTML extractor. Wait for extraction status to complete. View Broken Links Report and note that known broken links are not reporting an error status.

πŸ’¬ Support request
Status

Active

Version

1.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States taxelson@umassp.edu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @taxelson@umassp.edu
  • πŸ‡ΊπŸ‡ΈUnited States taxelson@umassp.edu

    I should also say that Cron has run and I'm not seeing any errors related to Cron or to Link Checker.

  • πŸ‡ΊπŸ‡ΈUnited States taxelson@umassp.edu

    Bumping this. I'm at a loss as to why the module isn't working. I have it on two different sites. One has a lot more content, a lot more modules, one is a much newer Drupal 9 install with just a fraction of the contributed modules installed. I used this module in Drupal 7 and loved it.

  • πŸ‡ΊπŸ‡ΈUnited States leisurman

    I see the same. The broken links report displays nothing. The scan is not checking links

  • Yes, I'm having the same issue. I have it working on one site, but on another β€” with the same configuration options aside from which fields on which content types it's checking β€” the "Progress of link extraction" doesn't move no matter how many times I run cron. The list doesn't show any Status Code and every item's Fail Count is 0 and Last Checked is "Never." This is on a pre-production environment, but I can't imagine that should matter.

  • πŸ‡³πŸ‡΄Norway eiriksm Norway

    Could someone provide exact steps to reproduce from a clean install of Drupal in the summary please? πŸ€“βœŒοΈ

  • I figured out in my case that a custom module was causing this error

    Drupal\Core\Field\FieldException: Attempt to create a base field bundle override of ... without an entity_type in Drupal\Core\Field\Entity\BaseFieldOverride->__construct() (line 107 of /var/www/html/web/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php).
    

    I had to add this line to the offending custom code

    ->setTargetEntityTypeId($entity_type->id())
    

    This error did not come up until I clicked the "Reanalyze content for links" button at the very bottom of linkchecker's config page.

Production build 0.71.5 2024