The website encountered an unexpected error. Try again later.
Error: Call to undefined function Drupal\greeting_cards\Controller\file_create_url() in Drupal\greeting_cards\Controller\GreetingCardLayOut->mapNodeWithHtml() (line 200 of modules/contrib/greeting_cards/src/Controller/GreetingCardLayOut.php).
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2024-02-19 13-02-16.png | 152.53 KB | abhishek_gupta1 |
Issue fork greeting_cards-3422295
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
Comment #3
sourabhjainComment #5
sourabhjainI have resolved the error. Please review the MR.
Comment #6
raveen_thakur51 commented@Yes, In Drupal 8 and later versions, the file_create_url() function has been replaced with the UrlHelper::fileUrl() method.
The MR changes looks fine. Can be merged. Thank You
Comment #7
raveen_thakur51 commentedComment #9
chancenyasulu commentedComment #10
chancenyasulu commented