file_create_url() has been deprecated

Error: Call to undefined function file_create_url() in startupgrowth_lite_page_attachments_alter() (line 449 of themes\startupgrowth_lite\startupgrowth_lite.theme).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sonam_sharma created an issue. See original summary.

sonam_sharma’s picture

Issue summary: View changes
StatusFileSize
new1.47 KB
sonam_sharma’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: sonam_sharma » Unassigned
Status: Needs review » Needs work

This theme and this branch can still be used with Drupal 8, where the file_url_generator service does not exist. Simply replacing the called function is not sufficient to fix the bug.

shiv_yadav made their first commit to this issue’s fork.

shiv_yadav’s picture

Status: Needs work » Needs review

Hello apaderno, I have fixed this issue. created MR.for D9 & D10
please review & retest it.
Thanks.

avpaderno’s picture

Status: Needs review » Needs work

Se my previous comment, which also holds true for the MR.

shiv_yadav’s picture

Status: Needs work » Needs review

Hello apaderno, I create MR for D9 & D10.
Thanks

avpaderno’s picture

Status: Needs review » Needs work

Yes, and it is yet not the correct way to fix the issue. See my previous comment.