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

Error When Uploading Inaccessible File #191

Open
dshanske opened this issue Mar 15, 2019 · 0 comments
Open

Error When Uploading Inaccessible File #191

dshanske opened this issue Mar 15, 2019 · 0 comments

Comments

@dshanske
Copy link
Member

[15-Mar-2019 03:30:25 UTC] Micropub Input: {"type":["h-entry"],"properties":{"content":"Video note","video":["http://a/vidjo.mov"]}}
[15-Mar-2019 03:30:25 UTC] wp_insert_post with args: {"post_content":"V","meta_input":"mf2_type":["h-entry"],"mf2_content":"Video note","mf2_video":["http://a/vidjo.mov"]},"post_author":1,"post_status":"publish"}
[15-Mar-2019 03:30:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::get_message() in /srv/html/wpdev.gwg.us/wp-content/plugins/wordpress-micropub/includes/class-micropub-media.php:134
Stack trace:
#0 /wp-content/plugins/wordpress-micropub/includes/class-micropub-media.php(296): Micropub_Media::upload_from_url('http://a/vidjo....')
#1 /wp-content/plugins/wordpress-micropub/includes/class-micropub-endpoint.php(748): Micropub_Media::media_sideload_url('http://a/vidjo....', 4636, NULL)
#2 /wp-content/plugins/wordpress-micropub/includes/class-micropub-endpoint.php(474): Micropub_Endpoint::default_file_handler(4636)
#3 /wp-content/plugins/wordpress-micropub/includes/class-micropub-endpoint.php(265): Micropub_Endpoint::create(1)
#4 /wp-includes/rest-api/class-wp-rest-server.php(946): Micropub_Endpoint::post_handler(Object(WP_REST_Request))
#5 /wp-includes/rest-api/class-wp-rest-server.php(329): WP_REST_ in /wp-content/plugins/wordpress-micropub/includes/class-micropub-media.php on line 134

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

No branches or pull requests

1 participant