issue #470 Call to a member function get_file_url() on a non-object