Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in svg_image_file_url_alter() (line 106 of project/docroot/sites/all/modules/contrib/svg_image/svg_image.module).

Created on 28 March 2023, almost 2 years ago
Updated 21 April 2023, almost 2 years ago

While refreshing the page and if any image(s) broken at that time this warning pops up.
And the solution is we just need to set condition for that and warning gone.
Please find below attached patch.

🐛 Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

🇮🇳India Pranali.addweb

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024