Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After enabling Clean Pagination, Rediect module starts throwing errors on nodes with aliases:
Notice: Undefined index: language in redirect_url_inbound_alter() (line 240 of (..)\redirect\redirect.module).
Notice: Trying to get property of non-object in redirect_url_inbound_alter() (line 240 of (...)\redirect\redirect.module).
PHP 5.4
Comments
Comment #1
j_ten_man CreditAttribution: j_ten_man commentedPushed a fix with this. Note that if you're on a site that is multilingual, then I'm not sure that cleanpager will work (I've never done anything with clean pagination). Anyways, this error should be gone in the latest commit.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedYes multilingual causes problem.
I have clean manually language prefix from URL to work it
.com/page/0 WORK
.com/tr/page/0 DOES NOT WORK