Title: Cannot upload image
Last modified: July 19, 2019

---

# Cannot upload image

 *  [demonllama](https://wordpress.org/support/users/demonllama/)
 * (@demonllama)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-10/)
 * I am unsure what could have recently been installed to cause this problem, I 
   haven’t made any changes.
 * I am looking at the question screen, and I am trying to upload an image to each
   answer. I click the upload square, I am able to choose an image, but once I do
   I am returned to the question screen where the image is still blank as though
   I haven’t selected anything.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-10/#post-11749743)
 * Hi demonllama,
    this is definitely not default WordPress behaviour. What I think
   is happening is that for whatever reason, when you select an image and then press
   SET IMAGE, your site is reloading the page – which it absolutely should not be
   doing.
 * I am also unable to replicate this issue on any of my own sites.
 * Can you please try and do the following?
 * —
    First, go to the edit question screen, then press F12 to open your browsers
   debug console window (you can also right-click, then select “inspect”. Now what
   you need to do is enable a featured called “Preserve log”, but it may be called
   something slightly different depending on your browser. In Chrome, this option
   can be found by selecting the gear icon in the top right of the new console window.
 * Once selected, try adding an image like you normally would. Once done, copy/paste
   anything you see in the console window here.
    —
 * The above will let me know if there is a javascript conflict in your site causing
   this. You could have updated another plugin that has introduced bugs, and the
   above output will help us track that down.
 *  Thread Starter [demonllama](https://wordpress.org/support/users/demonllama/)
 * (@demonllama)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-10/#post-11749810)
 * Is this correct? I wish I knew more to be able to do something with this information.
 *     ```
       JQMIGRATE: Migrate is installed, version 1.4.1
       hdq_admin.js?v=1.6.1&ver=1.0:8 HD Quiz initiated
       hdq_admin.js?v=1.6.1&ver=1.0:97 Uncaught TypeError: Cannot read property 'url' of undefined
           at b.Collection.<anonymous> (hdq_admin.js?v=1.6.1&ver=1.0:97)
           at s (backbone.min.js?ver=1.2.3:1)
           at r (backbone.min.js?ver=1.2.3:1)
           at m (backbone.min.js?ver=1.2.3:1)
           at b.Collection.k.trigger (backbone.min.js?ver=1.2.3:1)
           at b.Collection._onModelEvent (backbone.min.js?ver=1.2.3:1)
           at s (backbone.min.js?ver=1.2.3:1)
           at r (backbone.min.js?ver=1.2.3:1)
           at m (backbone.min.js?ver=1.2.3:1)
           at N.d.k.trigger (backbone.min.js?ver=1.2.3:1)
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED
       np.lexity.com/embed/YW/1340b4b8a82905a5f8328185abbb1b80/h/1/v/v5cwGEa0uMw9/k/W9SrRNsw7sB7/u/http%3A%2F%2F556.rocks%2Fwp-admin%2Fadmin.php%3Fpage%3Dhdq_quizzes/n/1563574761144/t/Quizzes%20%E2%80%B9%20HFD%20L556%20%E2%80%94%20WordPress/r/http%3A%2F%2F556.rocks%2Fwp-admin%2Fadmin.php%3Fpage%3Dhdq_options/vn/1/c/slldwnsi.f.kk[40]?id=c6bd61c68100&ts=1563577410622:1 Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_NETWORK_CHANGED
       2/wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_INTERNET_DISCONNECTED
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_EMPTY_RESPONSE
       DevTools failed to parse SourceMap: http://556.rocks/wp-content/plugins/page-links-to/css/quick-add.css.map
       hdq_admin.js?v=1.6.1&ver=1.0:97 Uncaught TypeError: Cannot read property 'url' of undefined
           at b.Collection.<anonymous> (hdq_admin.js?v=1.6.1&ver=1.0:97)
           at s (backbone.min.js?ver=1.2.3:1)
           at r (backbone.min.js?ver=1.2.3:1)
           at m (backbone.min.js?ver=1.2.3:1)
           at b.Collection.k.trigger (backbone.min.js?ver=1.2.3:1)
           at b.Collection._onModelEvent (backbone.min.js?ver=1.2.3:1)
           at s (backbone.min.js?ver=1.2.3:1)
           at r (backbone.min.js?ver=1.2.3:1)
           at m (backbone.min.js?ver=1.2.3:1)
           at N.d.k.trigger (backbone.min.js?ver=1.2.3:1)
       (anonymous) @ hdq_admin.js?v=1.6.1&ver=1.0:97
       s @ backbone.min.js?ver=1.2.3:1
       r @ backbone.min.js?ver=1.2.3:1
       m @ backbone.min.js?ver=1.2.3:1
       k.trigger @ backbone.min.js?ver=1.2.3:1
       _onModelEvent @ backbone.min.js?ver=1.2.3:1
       s @ backbone.min.js?ver=1.2.3:1
       r @ backbone.min.js?ver=1.2.3:1
       m @ backbone.min.js?ver=1.2.3:1
       k.trigger @ backbone.min.js?ver=1.2.3:1
       clickSelect @ media-views.min.js?ver=5.2.2:2
       click @ media-views.min.js?ver=5.2.2:2
       dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,jquery-effects-core,jquery-effects-fade,moxiejs,plupload&ver=5.2.2:3
       r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,jquery-effects-core,jquery-effects-fade,moxiejs,plupload&ver=5.2.2:3
       ```
   
 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-10/#post-11749847)
 * Hi demonllama,
    yup; thats the right log 🙂
 * The issue seems to be a network-related one; specifically `ERR_NETWORK_IO_SUSPENDED`.
 * What HD Quiz does is, once you’ve selected an image, it will grab the thumbnail
   URL to display in the backend. The problem is that it is unable to get the URL
   of your uploaded image due to the connection being canceled.
 *     ```
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_NETWORK_CHANGED
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_INTERNET_DISCONNECTED
       /wp-admin/admin-ajax.php:1 Failed to load resource: net::ERR_EMPTY_RESPONSE
       ```
   
 * I wish I could give you a definitive answer and how you can fix these connection
   errors, but there are just so many variables and possibilities that could cause
   it. This could even just end up being a temporary issue with your host, or even
   your own internet connection.
 * Here are some things you can try though (in recommended order).
 * 1) Clear your cache, reboot your computer and try again.
    2) If you have someone
   else you trust, ask them to attempt to upload an image. 3) Try a different browser.
   4) Do the WordPress debug list. Basically, disable all plugins and revert to 
   the default theme, and only enable HD Quiz. See if it now works. If it does work,
   then enable everything back one by one until we find the errant plugin.
 * In the meantime, I’ll do some more research and see if there are any usual reasons
   for `admin-ajax.php` (a super important WordPress file) would ever fail to return
   those kinds of network errors.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot upload image’ is closed to new replies.

 * ![](https://ps.w.org/hd-quiz/assets/icon-256X256.gif?rev=2936040)
 * [HD Quiz](https://wordpress.org/plugins/hd-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hd-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hd-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/hd-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hd-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hd-quiz/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-10/#post-11749847)
 * Status: not resolved