Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "PHP message: TypeError: get_headers(): Argument #2 ($associative… #2125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emss-github
Copy link

The message "PHP message: TypeError: get_headers(): Argument #2 ($associative) must be of type bool, int given"
pops from time to time in php logs, fix get_headers() call to comply with requirement.
Same fix should be applied to https://github.com/ArthurHoaro/web-thumbnailer/blob/master/src/Application/WebAccess/WebAccessPHP.php as it's pulled in the official zip installation archive.

…ciative) must be of type bool, int given"
Copy link
Member

@nodiscc nodiscc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this should indeed be a boolean

https://www.php.net/manual/en/function.get-headers.php

Disregard failing checks, separate problem for which I will open a new issue

@nodiscc nodiscc added the bug it's broken! label Jan 19, 2025
@nodiscc nodiscc added this to the 0.14.1 milestone Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug it's broken!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants