Trying to get property of non-object in locale_language_url_rewrite_url()

Created on 29 July 2024, 5 months ago

Problem/Motivation

๐Ÿ› Backport to D7 - Redirect URL should be generated without language prefix Fixed added language to URL generation, with 'language' => LANGUAGE_NONE. However, https://api.drupal.org/api/drupal/includes%21common.inc/function/url/7.x specifies a โ€œlanguage object.โ€

This results in Notice: Trying to get property of non-object in locale_language_url_rewrite_url()

Proposed resolution

Use the language option correctly.

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States drumm NY, US

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024