You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
Hi There,
I have encountered an error below when changing from $file->url() to $file->toUrl() as to adapt the compatibility for D9.
Below error will appear if the site is using header background image in the theme settings. Below is the code found in .theme file.
$background_image = theme_get_setting('header_background_image');
To fix the issue, you need to use
$path = file_create_url($file->getFileUri());
instead of$file->toUrl();
The text was updated successfully, but these errors were encountered: