TypeError: Argument 2 passed to redirect_url() must be of the type array, null given

Created on 24 August 2021, over 3 years ago
Updated 20 May 2025, about 5 hours ago

Updated from 7.x-1.0-rc3 to 7.x-1.0-rc4. Nodes with redirects prior to the update can't be edited. Clicking on 'Edit' will result in an Error page (Error: The website encountered an unexpected error. Please try again later.)
Log Errors:
  • TypeError: Argument 2 passed to redirect_url() must be of the type array, null given, called in C:\inetpub\wwwroot\sites\all\modules\redirect\redirect.admin.inc on line 915 in redirect_url() (line 1419 of C:\inetpub\wwwroot\sites\all\modules\redirect\redirect.module).
  • Warning: array_merge(): Expected parameter 1 to be an array, bool given in redirect_list_table() (line 914 of C:\inetpub\wwwroot\sites\all\modules\redirect\redirect.admin.inc).
  • Notice: unserialize(): Error at offset 0 of 12 bytes in RedirectController->attachLoad() (line 16 of C:\inetpub\wwwroot\sites\all\modules\redirect\redirect.controller.inc).
  • Notice: unserialize(): Error at offset 0 of 12 bytes in RedirectController->attachLoad() (line 15 of C:\inetpub\wwwroot\sites\all\modules\redirect\redirect.controller.inc).

Running:
Drupal 7.82
PHP 7.3.29
Microsoft-IIS/8.5
Microsoft SQL Server 12.00.6164

πŸ› 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