{"action":"closed","issue":{"url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/573","labels_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/573/comments","events_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/573/events","html_url":"https://github.com/Automattic/WP-Job-Manager/issues/573","id":118601855,"number":573,"title":"Error when uploading a photo","user":{"login":"tarekkoura","id":15999098,"avatar_url":"https://avatars.githubusercontent.com/u/15999098?v=3","gravatar_id":"","url":"https://api.github.com/users/tarekkoura","html_url":"https://github.com/tarekkoura","followers_url":"https://api.github.com/users/tarekkoura/followers","following_url":"https://api.github.com/users/tarekkoura/following{/other_user}","gists_url":"https://api.github.com/users/tarekkoura/gists{/gist_id}","starred_url":"https://api.github.com/users/tarekkoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarekkoura/subscriptions","organizations_url":"https://api.github.com/users/tarekkoura/orgs","repos_url":"https://api.github.com/users/tarekkoura/repos","events_url":"https://api.github.com/users/tarekkoura/events{/privacy}","received_events_url":"https://api.github.com/users/tarekkoura/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T12:47:58Z","updated_at":"2015-11-24T13:38:10Z","closed_at":"2015-11-24T13:38:10Z","body":"I'm using this plugin with Listify wordpress theme from themeforest\r\n\r\nit has a button of upload photo to a listing\r\n\r\nthe photo should be directed to the listing gallery\r\n\r\nthis is the error message\r\n\r\nFatal error: Call to undefined function wp_generate_attachment_metadata() in D:\\home\\site\\wwwroot\\wp-content\\themes\\listify\\inc\\integrations\\wp-job-manager\\class-wp-job-manager-gallery.php on line 171\r\n\r\n\r\nbut what happens is that:\r\nIf I'm uploading photos to \r\n555-liberty-village-toronto-ontario-canada-astoundify-barbershop\r\n\r\nuploaded photos should go to \r\n\r\nhttp://23.97.213.228/listing/555-liberty-village-toronto-ontario-canada-astoundify-barbershop/gallery/\r\n\r\nbut actually what happens is that the uploaded photo goes to:\r\nhttp://23.97.213.228/listing/555-liberty-village-toronto-ontario-canada-astoundify-barbershop/astoundify-barbershop-5/ \r\n\r\nplease advise\r\n\r\nThanks\r\n\r\n\r\n"}}