#wordpress 2019-06-18

2019-06-18 UTC
[jgmac1106], redolent, GWG and [xavierroy] joined the channel
#
[xavierroy]
having trouble with micropub posting with WP. Getting an {"code":"internal_server_error","message":"The site is experiencing technical difficulties.","data":{"status":500},"additional_errors":[]}
#
[xavierroy]
is it due to the 5.2.1 upgrade?
voxpelli, ichoquo0Aigh9ie, [jgmac1106], [grantcodes] and jgmac1106 joined the channel
#
GWG
Not that I know of
[xavierroy] joined the channel
#
[xavierroy]
I'm getting this from Quill:
#
[xavierroy]
HTTP/1.1 500 Internal Server Error
#
[xavierroy]
Date: Tue, 18 Jun 2019 06:27:56 GMT
#
[xavierroy]
Server: Apache
#
[xavierroy]
X-Robots-Tag: noindex
#
[xavierroy]
Link: <https://xavierroy.com/wp-json/>; rel="https://api.w.org/"
#
[xavierroy]
X-Content-Type-Options: nosniff
#
[xavierroy]
Access-Control-Allow-Headers: Authorization, Content-Type
#
[xavierroy]
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
#
[xavierroy]
Expires: Wed, 11 Jan 1984 05:00:00 GMT
#
[xavierroy]
Cache-Control: no-cache, must-revalidate, max-age=0
#
[xavierroy]
Transfer-Encoding: chunked
#
[xavierroy]
Connection: close
#
[xavierroy]
Content-Type: application/json; charset=utf-8
#
[xavierroy]
{"code":"internal_server_error","message":"The site is experiencing technical difficulties.","data":{"status":500},"additional_errors":[]}
gRegorLove and [jgmac1106] joined the channel
#
GWG
Can you check the error logs?
[kevinmarks786] joined the channel
#
[xavierroy]
getting an headers already sent error
#
GWG
Something is wrong, but not sure what
#
GWG
Need more info
#
[xavierroy]
[18-Jun-2019 11:14:19 UTC] PHP Fatal error: require_once(): Failed opening required '/home/xavroy1/xavierroy.com/wp-content/plugins/indieweb-post-kinds-enhanced/includes/parse-this/includes/class-parse-this.php' (include_path='.:') in /home/xavroy1/xavierroy.com/wp-content/plugins/indieweb-post-kinds-enhanced/includes/class-kind-plugins.php on line 103
#
[xavierroy]
[18-Jun-2019 11:14:57 UTC] PHP Notice: Trying to get property 'comment_status' of non-object in /home/xavroy1/xavierroy.com/wp-includes/comment-template.php on line 1221
#
GWG
[xavierroy]: What is Post Kinds Enhanced?
#
[xavierroy]
that's my fork of your Post Kinds plugin... nothing much there except a few customisation and view templates
#
GWG
Yes, but it is noting it can't find, includes/parse-this/includes/class-parse-this.php
#
GWG
[xavierroy]: What are the customizations? The view templates can be stored in a child theme.
#
GWG
And did you update your fork recently against the development branch?
#
GWG
Because the Parse This files moved around
#
[xavierroy]
let me run an update again
jgmac1106 joined the channel
#
GWG
I redid the loading process in order to try to deal with some issues when Yarns and Post Kinds are both loaded.
[rem] joined the channel
#
GWG
[xavierroy]: Just wondering if I can find a way to avoid you having to run a fork.
#
GWG
Also, the dev version...I have a few more things to do before it is stable.
#
GWG
There is an issue with media metadata I'm coding for.
#
[xavierroy]
It is mostly the view templates and Quick Edit option that I use the fork for
#
GWG
Then there is an issue where the author property isn't being stored correctly.
#
[xavierroy]
Yes. I think i mentioned it sometime back...
#
GWG
[xavierroy]: Do you have a custom theme?
#
[xavierroy]
Not yet... In porgress
#
[xavierroy]
right now using autonomie
#
GWG
You could do a child theme and put the view templates in there
#
[xavierroy]
That's the plan 🙂
#
GWG
And when you say Quick Edit, you mean turning it on?
#
GWG
It doesn't quite work properly with kinds. I tried to get it to, but couldn't succeed at the time.
#
[xavierroy]
Yes. just the flag in the line 219
#
[xavierroy]
I also tweak the post formats for each kind. For read posts, I prefer article
#
[xavierroy]
Quick Edit -> flag in line 219 of class-kind-taxonomy.php
#
GWG
I might be able to put in a flag for that.
#
GWG
For Quick Edit, I don't think it should be a setting, but something you could add to the wp-config file.
#
GWG
As for Post Formats, I could write something you could install as a plugin to modify that
#
GWG
It should be just ten lines of code
#
GWG
I just don't see the need for a fork for those two things.
#
GWG
Even the views...I could find another storage option for you.
#
[xavierroy]
That would be nice
#
GWG
Opened an issue.
#
GWG
To remind myself.
#
[xavierroy]
Still getting the same issue
#
GWG
Not sure how long it will take me to fix everything I've earmarked for 3.3.0 though.
#
GWG
[xavierroy]: How did you update?
#
[xavierroy]
from github
#
[xavierroy]
seems ot looking for ./includes/parse-this/includes/class-parse-this.php
#
GWG
Update again.
#
GWG
I made a fix.
#
GWG
I forgot to remove a reference to the file in the Micropub code
#
[xavierroy]
now it works :
#
Loqi
gwg has 88 karma in this channel over the last year (171 in all channels)
#
[xavierroy]
https://xavierroy.com/2019/06/18/testing-quill/ : there seems to be a simple location error.. is it somethign wrong on my end
#
Loqi
[Xavier Roy] This is to check if Quill posts go through Work 34°C Humid and Partly Cloudy
#
GWG
The error is?
#
[xavierroy]
Object of class WP_Error could not be converted to float in /home/xavroy1/xavierroy.com/wp-content/plugins/simple-location/includes/class-loc-view.php on line 247
#
[xavierroy]
funny.. show up only when logged in
#
GWG
That's interesting.
#
GWG
Can you file an issue on that one?
#
GWG
I have to trace where the error is coming from.
#
[xavierroy]
Time for me to head home.. I'll file an issue later tonight
#
[xavierroy]
And one more thing: is it possible to expose/retrieve the Client name from a micropub post... and display it
#
GWG
Yes.
#
GWG
The only question is what is displaying it
#
GWG
That seems a theme level thing.
#
GWG
[xavierroy]: What is still on your outstanding list?
[grantcodes], [xavierroy], gRegorLove, jgmac1106, [tantek], [jgmac1106], dougbeal|mb1, [kevinmarks786] and [stefp] joined the channel
#
[stefp]
[xavierroy] I notice that you have added "Location:" to the checkins in your Autonomie theme installation. I'd like to know how you did it because I want to add back "Checked into:". I can't find the relevant bit of code to change.
[schmarty], [manton] and [xavierroy] joined the channel
#
[xavierroy]
[stefp] I use Keyring Social Importers to pull in Swarm data.
#
[stefp]
Okay thanks. It’s looks a little better than the other format.
#
[stefp]
*It
jgmac1106, [jgmac1106] and neoaboriginal1 joined the channel
#
GWG
Hello
#
GWG
I have not looked at Keyring in a while
#
neoaboriginal1
Is there a way to implement the LIke/Heart feature that Known uses on their post by default in Wordpress? I'm using Sempress theme
#
GWG
Do you have a link to an example?
gRegorLove joined the channel
#
[jgmac1106]
Gwg there is a like post kind
#
GWG
I can't picture what Known does
#
neoaboriginal1
http://erinjo.xyz/ - under al post there are these stars, when I tried Known 0.9.9 these were hearts if I remember correct. Dyd get backfeed likes from Instagram, and would like to display those on WP as well
#
[jgmac1106]
Just puts a font awesome thumb
#
[jgmac1106]
Ohh you mean as a webmention
#
GWG
That's Semantic Linkbacks facepile feature
#
GWG
Due for rewrite, but works fine now
#
Loqi
[Greg McVerry] For just you to see? yes most CMS enable that, more excitingly people getting really close on private posts between friends check: https://indieweb.org/private_posts#IndieWeb_Examples I tried it yesterday I log in to someone's post with my domain a...
#
[jgmac1106]
See how a like from Bridgy would add a star and be a counter.
#
GWG
Yes, a counter would be possible, but need to be supported in the theme
#
GWG
Or added as another option in Semantic Linkbacks
#
GWG
I will make a note
#
[xavierroy]
[dshanske] keyring just had a new release a couple of days back
#
neoaboriginal1
So should instagram.com be in the 'Automatically approve Webmention from these domains' field?
#
Loqi
[dshanske] #225 Alternative To Facepile Counters
jgmac1106 joined the channel
#
GWG
Yes, but it is not working right now
#
GWG
I have to send pfefferle a fix for that
#
GWG
neoaboriginal, regrettably so much to do, never enough time
#
neoaboriginal1
Ok great. thanks for the efforts anyway!
#
GWG
neoaboriginal, I will get to it
#
GWG
But if you know anyone who wants to help... contributors are welcome
#
GWG
Even opening enhancement requests and bug reports is helping
[Zegnat], [kevinmarks786], [grantcodes], [jgmac1106], Loqi, jackjamieson, [rem], [jansauer], [eddie], [tantek], [asuh] and gRegorLove_ joined the channel