Using the file_get_contents function with absolute paths may result in response timeouts from the server.

Created on 27 March 2025, 10 days ago

On one of our client servers, I see a lot of errors related to this line of code file_get_contents($default_svg_path).
file_get_contents(.../modules/contrib/lb_staff_members_blocks/assets/svg/default.svg): Failed to open stream: HTTP request failed!
I see the same thing in my local environment.
This issue causes the default image to not be generated at all.

I have created a patch to fix this issue.
Please, check.

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine olegrymar

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024