A caller of file_create_url() did not pass a file URI.

Created on 27 February 2024, 10 months ago

Problem/Motivation

In dblog, since I installed this module, I got a lot of errors like this: A caller of file_create_url() did not pass a file URI.

Steps to reproduce

1. Install eu_cookie_compliance with composer.
2. Enable it by configuring it to be available to everyone.
3. Refresh pages, even in admin sections.
4. You have errors.

Proposed resolution

Add validation on the element passed to the _eu_cookie_compliance_convert_relative_uri function

Remaining tasks

Validate the patch

🐛 Bug report
Status

Needs review

Version

1.24

Component

Code

Created by

🇨🇦Canada franckylfs Montreal

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

Comments & Activities

Production build 0.71.5 2024