Error Trying to get property of non-object in drupal_lookup_path() includes/path.inc

Created on 8 October 2020, over 3 years ago
Updated 22 April 2024, about 2 months ago

Hello ,
I receive this warning:
Notice: Trying to get property of non-object in drupal_lookup_path() (line 77 di /includes/path.inc)

This is the line:

 // If no language is explicitly specified we default to the current URL
  // language. If we used a language different from the one conveyed by the
  // requested URL, we might end up being unable to check if there is a path
  // alias matching the URL path.
  $path_language = $path_language ? $path_language : $language_url->language;

It appears when Amazon Cloudfront get files from drupal + cdn module
Any one with the same problem?

Drupal 7.73

🐛 Bug report
Status

Closed: duplicate

Version

7.0 ⚰️

Component
Path 

Last updated 6 days ago

  • Maintained by
  • 🇬🇧United Kingdom @catch
Created by

🇮🇹Italy leonano

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.69.0 2024