Javascript AJAX error at start of upload
-
On fresh WordPress install, with only AIO installed, the import from file stalls right at the start, with about 1% complete. Console log shows errors:
load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2POST https://wp.ofs.org.uk/wordpress/wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1 404 (Not Found)
send @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2
ajax @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:5
e. @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:5
webpack_modules.814.FileUploader.upload @ import.min.js?v=7.81&ver=6.5.2:1315
(anonymous) @ import.min.js?v=7.81&ver=6.5.2:1192
webpack_modules.936.Import.checkDiskSpace @ import.min.js?v=7.81&ver=6.5.2:363
(anonymous) @ import.min.js?v=7.81&ver=6.5.2:1186
dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2
v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2import.min.js?v=7.81&ver=6.5.2:1345 Uncaught Error: error
at Object.error (import.min.js?v=7.81&ver=6.5.2:1345:13)
at c (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2:25304)
at Object.fireWith as rejectWith
at l (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2:77807)
at XMLHttpRequest. (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.2:2:80265)
I’ve setWP_DEBUG
andWP_SCRIPT_DEBUG
but found nothing logged. I’ve checked with a hard-codederror_log
that something would be logged – nothing is.If I try to re-import the exported file into
localhost
it seems like it would work. It gets as far as prompting me to confirm I want to overwrite data. But on the new remote site, it doesn’t even get that far.What could be going wrong, and how can I diagnose the problem?
- The topic ‘Javascript AJAX error at start of upload’ is closed to new replies.