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

j_ten_man’s picture

Category: support » bug
Status: Active » Needs review

Pushed 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.

Anonymous’s picture

Yes 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