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

Undefined array key 1 in class-response.php on line 203 #369

Closed
edent opened this issue Apr 6, 2023 · 4 comments
Closed

Undefined array key 1 in class-response.php on line 203 #369

edent opened this issue Apr 6, 2023 · 4 comments
Milestone

Comments

@edent
Copy link
Contributor

edent commented Apr 6, 2023

I'm seeing lots of error log entries with:

PHP Warning: Undefined array key 1 in /home/blog/wp-content/plugins/webmention/includes/class-response.php on line 203

$item[ trim( $elements[0] ) ] = trim( $elements[1], '"\'' );

Appears to be part of get_header_links() - but I don't fully understand what the function does.

@dshanske dshanske added this to the 5.1.0 milestone Apr 7, 2023
@pfefferle
Copy link
Owner

@edent do you maybe have an example URL that causes this error?

@edent
Copy link
Contributor Author

edent commented Apr 17, 2023

@pfefferle
Copy link
Owner

thanks, can you also tell me your PHP version?

@edent
Copy link
Contributor Author

edent commented Apr 17, 2023

PHP 8.1.17 and 8.2.4

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

No branches or pull requests

3 participants