Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging missing images in auto import from ownyourswarm #271

Open
chrisbergr opened this issue May 1, 2023 · 1 comment
Open

Debugging missing images in auto import from ownyourswarm #271

chrisbergr opened this issue May 1, 2023 · 1 comment

Comments

@chrisbergr
Copy link

I got the following messages in debug.log while using auto import.

[01-May-2023 00:39:42 UTC] Unknown cap: manage_options
[01-May-2023 00:39:42 UTC] Unknown cap: manage_options
[01-May-2023 00:39:42 UTC] Unknown cap: upload_files
[01-May-2023 00:39:42 UTC] Unknown cap: manage_options
[01-May-2023 00:39:42 UTC] Unknown cap: manage_options
[01-May-2023 00:39:42 UTC] Unknown cap: upload_files
[01-May-2023 00:39:42 UTC] Micropub Input: {"type":["h-entry"],"properties":{"published":["2023-04-23T17:38:51+02:00"],"syndication":["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/6445510b1bbe886e38101910"],"content":["Dinner with the family :)"],"photo":["https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_gFIFfeptNk_-EdNKbdyagiw6CIv9vtWurSm83zTWlAE.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_JVhdWM15E7CBVnB71_UbYVGEw5lZmbXo4FekpAgjXFw.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_GyB10knmvUBpp-kUOzo2SBZFFTmW2WJz6JT8oH9FkJ8.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_cjF-3AycEOLUGhJvXmaLe_AMMCGVAvu4h957XBtKXbI.jpg"],"category":["checkin"],"checkin":[{"type":["h-card"],"properties":{"name":["Schnitzelh\u00fctt"],"url":["https:\/\/foursquare.com\/v\/4f886674e4b0e5ed73806c0f"],"tel":["06241 594343"],"latitude":[49.633612704730744],"longitude":[8.358179374959276],"street-address":["Rathenaustrasse 31"],"locality":["Worms"],"region":["Rheinland-Pfalz"],"country-name":["Germany"],"postal-code":["67547"]},"value":"https:\/\/foursquare.com\/v\/4f886674e4b0e5ed73806c0f"}],"location":[{"type":["h-adr"],"properties":{"latitude":[49.633612704730744],"longitude":[8.358179374959276],"street-address":["Rathenaustrasse 31"],"locality":["Worms"],"region":["Rheinland-Pfalz"],"country-name":["Germany"],"postal-code":["67547"]}}]}}
[01-May-2023 00:39:42 UTC] wp_insert_post with args: {"timezone":"+02:00","post_date":"2023-04-23 17:38:51","post_date_gmt":"2023-04-23 15:38:51","post_category":[800],"tags_input":[],"post_content":"Dinner with the family :)","post_type":"post","tax_input":null,"meta_input":{"micropub_auth_response":{"client_id":"https:\/\/ownyourswarm.p3k.io\/","client_name":"OwnYourSwarm","uuid":"98cbeb8d-1e2b-4881-a76b-58e4d2d77a1f"},"mf2_type":["h-entry"],"geo_timezone":"+02:00","mf2_syndication":["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/6445510b1bbe886e38101910"],"mf2_content":["Dinner with the family :)"],"mf2_photo":["https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_gFIFfeptNk_-EdNKbdyagiw6CIv9vtWurSm83zTWlAE.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_JVhdWM15E7CBVnB71_UbYVGEw5lZmbXo4FekpAgjXFw.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_GyB10knmvUBpp-kUOzo2SBZFFTmW2WJz6JT8oH9FkJ8.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_cjF-3AycEOLUGhJvXmaLe_AMMCGVAvu4h957XBtKXbI.jpg"],"mf2_category":["checkin"],"mf2_checkin":{"type":["h-card"],"properties":{"name":["Schnitzelh\u00fctt"],"url":["https:\/\/foursquare.com\/v\/4f886674e4b0e5ed73806c0f"],"tel":["06241 594343"],"latitude":[49.633612704730744],"longitude":[8.358179374959276],"street-address":["Rathenaustrasse 31"],"locality":["Worms"],"region":["Rheinland-Pfalz"],"country-name":["Germany"],"postal-code":["67547"]},"value":"https:\/\/foursquare.com\/v\/4f886674e4b0e5ed73806c0f"},"mf2_location":{"type":["h-adr"],"properties":{"latitude":[49.633612704730744],"longitude":[8.358179374959276],"street-address":["Rathenaustrasse 31"],"locality":["Worms"],"region":["Rheinland-Pfalz"],"country-name":["Germany"],"postal-code":["67547"]}},"geo_address":"Rathenaustrasse 31, Worms, Rheinland-Pfalz, 67547, Germany","geo_latitude":49.633612704730744,"geo_longitude":8.358179374959276},"post_author":1,"post_status":"publish"}
[01-May-2023 00:39:42 UTC] Unknown cap: read_private_posts
[01-May-2023 00:39:43 UTC] Unknown cap: upload_files
[01-May-2023 00:39:45 UTC] Unknown cap: upload_files
[01-May-2023 00:39:47 UTC] Unknown cap: upload_files
[01-May-2023 00:39:49 UTC] Unknown cap: upload_files
[01-May-2023 00:39:50 UTC] Unknown cap: upload_files
[01-May-2023 00:39:50 UTC] Unknown cap: upload_files
[01-May-2023 00:39:50 UTC] Unknown cap: upload_files
[01-May-2023 00:39:50 UTC] Unknown cap: upload_files
[01-May-2023 00:39:50 UTC] Unknown cap: read_private_posts
[01-May-2023 00:41:14 UTC] ["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/6445510b1bbe886e38101910"]
[01-May-2023 00:41:14 UTC] ["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/6445510b1bbe886e38101910"]
[01-May-2023 00:41:23 UTC] ["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/6445510b1bbe886e38101910"]
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:47:09 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:01 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "taxonomy" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 845
[01-May-2023 00:48:55 UTC] PHP Warning:  Attempt to read property "name" on bool in /var/mysite/wp-content/plugins/indieweb-post-kinds/includes/class-kind-taxonomy.php on line 848
[01-May-2023 00:49:09 UTC] ["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/644411302493093f02f2cca6"]
[01-May-2023 00:51:06 UTC] Unknown cap: manage_options
[01-May-2023 00:51:06 UTC] Unknown cap: manage_options
[01-May-2023 00:51:06 UTC] Unknown cap: upload_files
[01-May-2023 00:51:06 UTC] Unknown cap: manage_options
[01-May-2023 00:51:06 UTC] Unknown cap: manage_options
[01-May-2023 00:51:06 UTC] Unknown cap: upload_files
[01-May-2023 00:51:06 UTC] Micropub Input: {"type":["h-entry"],"properties":{"published":["2023-05-01T02:50:50+02:00"],"syndication":["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/644f0cead00ec0295110b1d9"],"content":["Test checkin"],"category":["checkin"],"checkin":[{"type":["h-card"],"properties":{"name":["Bobenheim"],"url":["https:\/\/foursquare.com\/v\/5314c031e4b0d805d37a4fe4"],"latitude":[49.57284270259425],"longitude":[8.358757330902161],"country-name":["Germany"]},"value":"https:\/\/foursquare.com\/v\/5314c031e4b0d805d37a4fe4"}],"location":[{"type":["h-adr"],"properties":{"latitude":[49.57284270259425],"longitude":[8.358757330902161],"country-name":["Germany"]}}]}}
[01-May-2023 00:51:06 UTC] wp_insert_post with args: {"timezone":"+02:00","post_date":"2023-05-01 02:50:50","post_date_gmt":"2023-05-01 00:50:50","post_category":[800],"tags_input":[],"post_content":"Test checkin","post_type":"post","tax_input":null,"meta_input":{"micropub_auth_response":{"client_id":"https:\/\/ownyourswarm.p3k.io\/","client_name":"OwnYourSwarm","uuid":"98cbeb8d-1e2b-4881-a76b-58e4d2d77a1f"},"mf2_type":["h-entry"],"geo_timezone":"+02:00","mf2_syndication":["https:\/\/www.swarmapp.com\/user\/91657961\/checkin\/644f0cead00ec0295110b1d9"],"mf2_content":["Test checkin"],"mf2_category":["checkin"],"mf2_checkin":{"type":["h-card"],"properties":{"name":["Bobenheim"],"url":["https:\/\/foursquare.com\/v\/5314c031e4b0d805d37a4fe4"],"latitude":[49.57284270259425],"longitude":[8.358757330902161],"country-name":["Germany"]},"value":"https:\/\/foursquare.com\/v\/5314c031e4b0d805d37a4fe4"},"mf2_location":{"type":["h-adr"],"properties":{"latitude":[49.57284270259425],"longitude":[8.358757330902161],"country-name":["Germany"]}},"geo_address":"Germany","geo_latitude":49.57284270259425,"geo_longitude":8.358757330902161},"post_author":1,"post_status":"publish"}
[01-May-2023 00:51:06 UTC] Unknown cap: read_private_posts
[01-May-2023 00:51:07 UTC] Unknown cap: upload_files
[01-May-2023 00:51:07 UTC] Unknown cap: upload_files
[01-May-2023 00:51:07 UTC] Unknown cap: upload_files
[01-May-2023 00:51:07 UTC] Unknown cap: upload_files
[01-May-2023 00:51:07 UTC] Unknown cap: read_private_posts
[01-May-2023 00:52:08 UTC] Unknown cap: manage_options
[01-May-2023 00:52:08 UTC] Unknown cap: manage_options
[01-May-2023 00:52:09 UTC] Unknown cap: upload_files
[01-May-2023 00:52:09 UTC] Unknown cap: manage_options
[01-May-2023 00:52:09 UTC] Unknown cap: manage_options
[01-May-2023 00:52:09 UTC] Unknown cap: upload_files
[01-May-2023 00:52:09 UTC] Unknown cap: edit_published_posts
[01-May-2023 00:52:09 UTC] Micropub Input: {"action":"update","url":"https:\/\/christian-hockenberger.com\/checkin\/6183\/","add":{"photo":["https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_4TrAMHniECX-hgoaIEmo-hEL7Nd8NbFw4C9M4zTmzHI.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_lAlILnAjF7-v-HYB4X3dgQaRxol4ZwAkhShYiust1QY.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_JOGGn9nYxhEZn75BeNI_V-jem6gsh1Bvq4gCUHDFSGM.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_3pAWpPQnjPmTM3ztnjT3SfcpmYpXIUHkcj1YAXl9QaI.jpg"]},"replace":{"content":["Test checkin"]}}
[01-May-2023 00:52:09 UTC] Unknown cap: upload_files
[01-May-2023 00:52:09 UTC] Micropub Error: 400 invalid_request - can only add to category and syndication; other properties not supported
[01-May-2023 00:52:09 UTC] REST request: /micropub/1.0/endpoint: {"action":"update","url":"https:\/\/christian-hockenberger.com\/checkin\/6183\/","add":{"photo":["https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_4TrAMHniECX-hgoaIEmo-hEL7Nd8NbFw4C9M4zTmzHI.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_lAlILnAjF7-v-HYB4X3dgQaRxol4ZwAkhShYiust1QY.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_JOGGn9nYxhEZn75BeNI_V-jem6gsh1Bvq4gCUHDFSGM.jpg","https:\/\/fastly.4sqi.net\/img\/general\/original\/91657961_3pAWpPQnjPmTM3ztnjT3SfcpmYpXIUHkcj1YAXl9QaI.jpg"]},"replace":{"content":["Test checkin"]}}(Header Present)
[01-May-2023 00:52:09 UTC] REST result: /micropub/1.0/endpoint: {"error":"invalid_request","error_description":"can only add to category and syndication; other properties not supported"}(400) - null(User ID: 1)
[01-May-2023 00:52:09 UTC] Unknown cap: edit_published_posts
@dshanske
Copy link
Owner

dshanske commented May 1, 2023

This is a Micropub issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants