#wordpress 2024-12-29

2024-12-29 UTC
[snarfed], Lars-Christian, Guest6, sebbu, gRegor and gRegorLove_ joined the channel
#
[snarfed]
GWG just fyi capjamesg's https://artemis.jamesg.blog/ triggered a 500 in the WP IndieAuth plugin on my site just now
#
GWG
Do we have logs on why?
#
[snarfed]
er yes, just a sec
#
[snarfed]
damn, that isn't working. nm then
#
GWG
Let me see what I can figure out
#
[snarfed]
PHP Fatal error: Uncaught Error: Call to a member function destroy() on null in /srv/htdocs/wp-content/plugins/indieauth/includes/class-indieauth-token-endpoint.php:338
#
[snarfed]
Stack trace:
#
[snarfed]
#0 /srv/htdocs/wp-content/plugins/indieauth/includes/class-indieauth-token-endpoint.php(234): IndieAuth_Token_Endpoint->verify_local_authorization_code(Array)
#
[snarfed]
#2 /wordpress/core/6.7.1/wp-includes/rest-api/class-wp-rest-server.php(1292): IndieAuth_Token_Endpoint->post(Object(WP_REST_Request))
#
[snarfed]
#14 {main}
#
[snarfed]
see discussion in #indieweb-dev
#
GWG
Can you put that into a GitHub issue for readability? Let me see what I can do.
#
[snarfed]
sounds like capjamesg sent params in the URL query params instead of body
#
GWG
Might have triggered something as a result... I thought I got rid of old code
#
GWG
Except for backcompat
#
Loqi
[preview] [snarfed] #279 500 on badly formed POST to token endpoint