Error after updating to 7.x-1.0-rc4

Created on 2 August 2021, almost 4 years ago
Updated 20 May 2025, about 3 hours ago

Problem/Motivation

After updating to 7.x-1.0-rc4, a number of pages have the following problem. This does not affect all pages, but I am not sure what the common factor is. It might be all pages that currently have a redirect set, I'm not sure.
When trying to edit the page, the following errors occur:

Notice: unserialize(): Error at offset 0 of 12 bytes in RedirectController->attachLoad() (line 15 of sites\all\modules\redirect\redirect.controller.inc).
Notice: unserialize(): Error at offset 0 of 12 bytes in RedirectController->attachLoad() (line 16 of sites\all\modules\redirect\redirect.controller.inc).
Warning: array_merge(): Expected parameter 1 to be an array, bool given in redirect_list_table() (line 914 of sites\all\modules\redirect\redirect.admin.inc).
TypeError: Argument 2 passed to redirect_url() must be of the type array, null given, called in sites\all\modules\redirect\redirect.admin.inc on line 915 in redirect_url() (line 1417 of sites\all\modules\redirect\redirect.module).

I'm using Drupal 7, PHP 7.4.22

πŸ› Bug report
Status

Closed: outdated

Component

Code

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024