#wordpress 2018-10-06

2018-10-06 UTC
[asuh] joined the channel
#
[asuh]
I can’t be active testing micropub this weekend but I can confirm updates to the repo off and on when I have time
#
GWG
[asuh]: But didn't it work for you?
#
[asuh]
GWG it did not. I attempted to use Quill to post to my site and it failed. I left a comment in 150
#
GWG
[asuh]: Sorry. I keep confusing who was working and who wasn't.
#
GWG
[asuh]: If you have the latest version of IndieAuth, can you run the diagnostic header check tool on the settings page?
#
GWG
I put a tool to check the header
#
[asuh]
ok, let me get that installed, i don’t think i see anything called diagnostic header check tool in Settings
#
GWG
Indieweb->Indieauth
#
GWG
I am biased as the Indieauth plugin removes the need to use Indieauth.com to log into your site, instead using your WordPress credentials
#
GWG
Indieauth.com uses rel me and GitHub/whathaveyou.
#
[asuh]
Diagnostic returned four `Unavailable` or `Not Found` messages
#
[asuh]
Adding `SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1` fixed three out of four
#
[asuh]
I’m now left with `$_SERVER['REDIRECT_HTTP_AUTHORIZATION'] is unavailable on this server. Some tools may use this as fallback for $_SERVER['HTTP_AUTHORIZATION'].`
#
GWG
That's fine
#
GWG
Try Quill now?
#
[asuh]
still an error
#
GWG
Okay.
#
GWG
What do the logs say?
#
[asuh]
from my site?
#
GWG
Yes
#
Loqi
[asuh] Installed tree ef76125 from this repo, updated WP Indieauth to 3.1.5, logged into Quill to post a Note, received a 403 error when clicking on Post button. Error log produces the following: `Invalid argument supplied for foreach() in [...]/wp-incl...
#
GWG
I still don't know what causes that. Because that is a line about headers
ben_thatmustbeme joined the channel
#
GWG
I wonder who I can get another opinion from
#
[asuh]
I wish I knew how to help you debug PHP but that’s a little outside my skillset
#
GWG
I just think it is something obvious.
#
dougbeal
Are the header/foreach errors new? Or it has never worked?
#
GWG
dougbeal, people keep reporting them, but I cannot track why
#
GWG
It refers to this line.
#
GWG
So, send_headers, which it is called in, it retrieved from get_headers
sebsel, [Rose] and [jgmac1106] joined the channel
#
Zegnat
GWG, set_headers doesn’t do any validation (https://github.com/WordPress/WordPress/blob/da7a80d67fea29c2badfc538bfc01c8a585f0cbe/wp-includes/class-wp-http-response.php#L74-L76) so theoretically get_headers could return something that isn’t an array. Though I am having a hard time seeing where the response object is actually getting created, or what could affect it.
#
GWG
Exactly, stumped
Ruxton, [kevinmarks], [jgmac1106] and [Rose] joined the channel
#
dougbeal
GWG: I was wondering if it was a plugin conflict? Maybe we need to grab a network capture to see what is going on.
#
GWG
I will try anything
#
GWG
But my site works
#
GWG
I need someone who has the problem
[asuh] joined the channel
#
[asuh]
what access to the site or account do you need to look through everything?
#
[asuh]
GWG I can create a login if you want to play around
[kevinmarks] joined the channel
#
GWG
A login and access to the error logs
[dmitshur] joined the channel
#
GWG
dougbeal, I found the settings to extend media metadata in WordPress. May add some basics and enhance in the next version
tantek__ and [asuh] joined the channel
#
[asuh]
GWG how do I PM you?
[dmitshur] joined the channel
#
GWG
In Slack or Irc?
#
dougbeal|imac
I've thought about a plugin that allows access to debug logs via IndieAuth
#
aaronpk
but if you're having indieauth problems, how will you log in to debug it? 😂
#
dougbeal|imac
aaronpk: touché
[jgmac1106] joined the channel