Comments not working
-
It appears that some of the scripts that process your comments are not loaded via https, thus they’re not loaded in the browser. You’ll need to look through your code to find places where you’re loading scripts as http and change them to load via https.
Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure script 'http://html5shim.googlecode.com/svn/trunk/html5.js'. This request has been blocked; the content must be served over HTTPS. (index):791 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure image 'http://widget.boomads.com/images/blogsociety-light-badge-180.png'. This content should also be served over HTTPS. (index):791 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure image 'http://widget.boomads.com/widget/widget66?widgetid=66&clientid=b52e7a3d0a294e0789235e7119077fc4'. This content should also be served over HTTPS. (index):891 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.mirreopreis.nl/wp-comments-post.php'. This endpoint should be made available over a secure connection. util.js:210 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required jquery.js:4 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.mirreopreis.nl/wp-comments-post.php'. This request has been blocked; the content must be served over HTTPS.send @ jquery.js:4 jquery.js:4 XMLHttpRequest cannot load http://www.mirreopreis.nl/wp-comments-post.php. Failed to start loading.send @ jquery.js:4 scripts.js:689 Uncaught TypeError: Cannot read property '1' of null jquery.js:4 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.mirreopreis.nl/wp-comments-post.php'. This request has been blocked; the content must be served over HTTPS.send @ jquery.js:4 jquery.js:4 XMLHttpRequest cannot load http://www.mirreopreis.nl/wp-comments-post.php. Failed to start loading.send @ jquery.js:4 scripts.js:689 Uncaught TypeError: Cannot read property '1' of null jquery.js:4 Mixed Content: The page at 'https://www.mirreopreis.nl/duikboot-zweden/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.mirreopreis.nl/wp-comments-post.php'. This request has been blocked; the content must be served over HTTPS.send @ jquery.js:4 jquery.js:4 XMLHttpRequest cannot load http://www.mirreopreis.nl/wp-comments-post.php. Failed to start loading.send @ jquery.js:4 scripts.js:689 Uncaught TypeError: Cannot read property '1' of nullThere’s an error in your theme’s scripts file (themes/socha%202016/js/scripts.js), on line 689. The problematic code is:
var error = response.responseText.match(/\<p\>(.*)<\/p\>/)[1];Seems that it’s assuming the response returns an object/array but for some reason it’s not. Is this your own theme? If not, try contacting the developer. The theme seems to be the cause.
Hi,
Thank you! I’ve found the solution:
1. Go to the admin dashboard.
2. Point you mouse over Settings and click General.
3. Where it says WordPress Address (URL) and Site Address (URL) replace the http:// part with https:// for both of them.
4. Click Save ChangesSilly me, I thought I had changed that, but apparently I didn’t.
At least it worked.Thanks!
Mirre
The topic ‘Comments not working’ is closed to new replies.
(@mirre)
9 years, 10 months ago
Blog in question: http://www.mirreopreis.nl
On the comments form, the ‘submit’ button doesn’t work. If you press it, nothing happens and the comment is not submitted.
I’ve enabled comments in the settings.
I’ve updated my theme.
I’ve deactivated all of the plugins.
What else can I do?