class kind plugins warning when trim applied to array

name appears to be an array of size 1, and content … 

webserver-wordpress_1 | 98.237.185.120 - - [13/Jul/2018:19:25:30 +0000] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 34 "https://dougbeal.com/wp-admin/edit.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0" "-"


[13-Jul-2018 19:26:10 UTC] Micropub Data: {"micropub":"endpoint"} {"type":["h-entry"],"properties":{"name":["musings on musings"],"content":[{"html":"<p>Its werds all teh way down</p>"}],"post-status":["draft"]}}



[13-Jul-2018 19:26:10 UTC] wp_insert_post with args: {"post_title":"musings on musings","post_name":"musings-on-musings","post_content":"<p>Its werds all teh way down</p>","meta_input":{"micropub_auth_response":{"token_type":"Bearer","scope":"create update","me":"https://dougbeal.com/","issued_by":"https://dougbeal.com/wp-json/indieauth/1.0/token","client_id":"https://quill.p3k.io/","issued_at":1531446100,"user":2},"mf2_type":["h-entry"],"mf2_name":["musings on musings"],"mf2_content":[{"html":"<p>Its werds all teh way down</p>"}],"mf2_post-status":["draft"]},"post_author":2,"post_status":"draft"}



[13-Jul-2018 19:26:10 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/wp-content/plugins/indieweb-post-kinds/includes/class-kind-plugins.php on line 139



[13-Jul-2018 19:26:10 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/wp-content/plugins/indieweb-post-kinds/includes/class-kind-plugins.php on line 140



wordpress_1 | 172.18.0.4 - 13/Jul/2018:19:26:10 +0000 "POST /index.php" 201



webserver-wordpress_1 | 173.230.155.197 - - [13/Jul/2018:19:26:10 +0000] "POST /?micropub=endpoint HTTP/1.1" 201 5 "-" "-" "-"

One response on “class kind plugins warning when trim applied to array”

Leave a Reply