#wordpress 2017-11-20

2017-11-20 UTC
tantek, [keithjgrant], [miklb], [manton] and [chrisaldrich] joined the channel
#
[chrisaldrich]
The production version or the new one you were working on?
#
[chrisaldrich]
Oh I see... This was from earlier. I haven't seen anything specific, but I'll look shortly...
#
GWG
I haven't either.
#
GWG
But I want to track it down if I can
#
[miklb]
GWG I’m seeing PHP Fatal error: Uncaught Error: Only variables can be passed by reference in /var/www/html/miklb.com/content/plugins/indieweb-post-kinds/includes/tabs/tab-author.php:13 in my debug.log. I was only looking at the js console earlier
#
[miklb]
also PHP Warning: Illegal string offset ‘name’ in /var/www/html/miklb.com/content/plugins/indieweb-post-kinds/includes/tabs/tab-author.php on line 13
#
GWG
That's interesting.
#
GWG
I thought I made everything an array
#
GWG
I need to figure out how to test that.
#
GWG
But how can you unit test form elements? Hmm...
tantek, [miklb], [chrisaldrich] and [pfefferle] joined the channel
#
[pfefferle]
Good morning
#
[pfefferle]
GWG selenium
#
Loqi
rise and shine!
[jeremycherfas] joined the channel
#
[pfefferle]
!tell GWG your site seems broken
#
Loqi
Ok, I'll tell them that when I see them next
[jeremycherfas], jeremycherfas and [kevinmarks] joined the channel
#
GWG
pfefferle, my brother just sent me a message about it. I was sleeping
#
Loqi
GWG: [pfefferle] left you a message 3 hours, 43 minutes ago: your site seems broken
[kevinmarks], tantek, [manton], [miklb] and jeremycherfas joined the channel
#
jeremycherfas
Getting a "too many redirects" error from all */wp-admin/* pages, but not from the site itself. Can anyone see a reason in the htaccess file https://gist.github.com/jeremycherfas/c6466a630ae597ee05c7e940ea66c8d0 Thanks
#
sknebel
jeremycherfas: on what site?
#
jeremycherfas
Https://eatthispodcast.com
#
tantek
if you do figure out how you caused it - perhaps document it! I'd love to send all the badbots probing for /wp-admin/* pages on my sites into an infinite redirect in some difficult to figure out way :P
#
jeremycherfas
Right. Well, I removed all the plugins, figuring it might be one of them doing some stupid redirects, and that hasn't helped. Yet.
#
jeremycherfas
Now to disable cloudflare.
#
jeremycherfas
Should I be testing without caching thugh?
#
jeremycherfas
No plugins, no htaccess, no Cloudflare, still have the problem!
#
jeremycherfas
I don't have Chrome on this laptop, but I do have an older firefox. Does that have no-cache browsing?
[miklb] joined the channel
#
sknebel
yes, in the devtools settings
#
sknebel
but I'm still getting 302
#
sknebel
well, also still going through cloudflare
#
Zegnat
jeremycherfas, it isn’t that the admin page is configured to only load on www. ? I don’t see how that would happen, but that would send you in an infinite loop
#
jeremycherfas
I don't believe it is configured any differently to the main site. Let me check.
#
Zegnat
It could be in a config file or in the database, but WP people might know better if that is a thing.
dougbeal|mb1 joined the channel
#
jeremycherfas
If I put no www in the URL, I get the same error, but the URL now has www -- so maybe you are onto something. Let me check wp-config
#
Zegnat
for cookie and session reasons I could see why the admin would always try to redirect to a specific domain, even if the real website doesn’t
#
Zegnat
And your htaccess forces www to no-www, but if wp-admin then tries to force no-www to www ... you see where that is going
#
sknebel
the redirect isn't between www and non-www though
#
jeremycherfas
I've tried defining WP_HOME and WP_SITEURL with and without www and that doesn't seem to make any difference, at least with the htaccess in place. Let me try without any htaccess
#
jeremycherfas
Is this sort of thing cached?
#
sknebel
shouldn#t be in this case
#
jeremycherfas
Makes no difference if ntaccess is not present!
#
jeremycherfas
I think I might ask DreamHost. I've tried everything.
[manton] joined the channel
[cleverdevil] joined the channel
#
tantek
what is jc-woocommerce
#
Loqi
It looks like we don't have a page for "jc-woocommerce" yet. Would you like to create it?
#
tantek
what is woocommerce
#
Loqi
It looks like we don't have a page for "woocommerce" yet. Would you like to create it?
#
[miklb]
WooCommerce is a plugin and add-on ecosystem for WordPress to allow for e-commerce
tantek, [kevinmarks] and [keithjgrant] joined the channel