Skip to content

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

Open
emss-github wants to merge 1 commit into
ArthurHoaro:masterfrom
emss-github:master
Open

Fix "PHP message: TypeError: get_headers(): Argument #2 ($associative…#38
emss-github wants to merge 1 commit into
ArthurHoaro:masterfrom
emss-github:master

Conversation

@emss-github

Copy link
Copy Markdown

The message "PHP message: TypeError: get_headers(): Argument shaarli/Shaarli#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.

…associative) must be of type bool, int given"
ping-localhost pushed a commit to ping-localhost/web-thumbnailer that referenced this pull request Jul 31, 2026
### Added
- og:image:url / og:image:secure_url support (ArthurHoaro#25)
- Instagram /p/{id}/media/?size= hotlink for posts (avoids login scrape)

### Fixed
- get_headers associative bool already fixed (ArthurHoaro#38)
- Instagram post thumbs no longer depend on scrapable og:image (ArthurHoaro#31 follow-up)
ping-localhost added a commit to ping-localhost/web-thumbnailer that referenced this pull request Jul 31, 2026
### Added
- og:image:url / og:image:secure_url support (ArthurHoaro#25)
- Instagram /p/{id}/media/?size= hotlink for posts (avoids login scrape)

### Fixed
- get_headers associative bool already fixed (ArthurHoaro#38)
- Instagram post thumbs no longer depend on scrapable og:image (ArthurHoaro#31 follow-up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants