Support Forum

Can't Reply to Posts Without a Warning Notice

PB Paul Browning
Paul Browning
Member

I’ve updated WordPress today and then SP to all latest versions and plugins.

Now can’t reply to posts without a warning message appearing.

www.howtonetwork.com

Regards

 

Paulcantpost.jpg

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

is this what you see when you click on the submit button?
Are you 100% sure you have updated everything?
Are you using ny caching plugins?
Does anything change if you clear your browser cache?
Are you using the plain text editor from choice?

WE Weltall
Weltall
Member

I have same issue on my forum, just after the recent update. The warning notice shows not only for submit button, but for every action I try to do (close page for example) after i typed in text area.

I do not use any cache plugin, and also I purged browser cache and temp files.

I’m using TinyMCE Rich editor.

Hope this will be fixed soon

YS Yellow Swordfish
Yellow Swordfish
Member

Very worrying. Do you know how to look for javascript conflicts because i think we need to take a look for one here. It is clearly not a problem for most users who have updated to 5.5.6 so far – as it is not a problem on this site.
If you are unable to check if any errors are thrown using the script console of your browser would it be possible for you to supply us with an account that we could use to try out the editing process? If so…

Please PM credentials to both myself, to ‘Mr Papa’ and to ‘Ike’. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.

YS Yellow Swordfish
Yellow Swordfish
Member

I just left a new topic AND a reply to that topic on your site… You may want to remove them.
But – as you see – I had no problem doing so. Well apart from the real slowness of your site.

You DO have an error that is causing script problems. Something is happening regularly and repeatedly causing an error but I have no idea what it is. Hopefully you will be able to identify what is being run over and over once a page has loaded – although I am not seeing any ajax requests being made which could mean that the error is actually happening when something tries to make an ajax request

Anyway – I did not see the ‘leave page’ message when adding topic or reply. So what do you do to make this happen?

WE Weltall
Weltall
Member

just tryng to add a reply. i will ask other forum members maybe there is something wrong with me.

by the way i got same notice on this forum, when editing a post and tryng to leave for another page. but I thinks this is how it should workImmagine-2.jpg

YS Yellow Swordfish
Yellow Swordfish
Member

if you leave the page for any reason then yes – this is exactly what you should see.

WE Weltall
Weltall
Member

It seems It’s just a problem of mine, since other users post without any problem.

Any tips on what should I do to see discover the bug causing this?

IK Ike
Ike
Member

If it’s only affecting you, it could be any number of things locally. Have you tried using a different browser? Could be a malicious browser plugin / extension..

Also have you installed or updated any other WP plugins, possibly at the same time? Might be worth disabling them if you have just to check.

YS Yellow Swordfish
Yellow Swordfish
Member

In particular how about any ‘admin’ plugins you might be running? I.e,, plugins that only ‘do’ something when it is the admin using the site.

And there is still that mysterious script error that is recurring over and over again on every page load. 

But it is why I asked about the process you go through to reply to a post. And I mean from the time you load the page to the time you hit the submit button. And – please note. Your site is very, very slow to load so you do need to wait for things to be fully loaded before trying to reply to a post. 

WE Weltall
Weltall
Member

The only thing I changed in last few days is the WP update and simple press update. Before these two updates everything was fine.

Also, i got some feedback and other few users have this issue on my forum, so it’s not linked to admin problems (they are not WP admin).

I also gave to a user with no error the admin permission, and they got no error.

The only things I do after the page is fully loaded is typing and then pressing submit…

Is there any way to disable totally these kind of warnings on my forum?

Also when i press submit button this error appers (it appears also when i open forum page)

TypeError: a is null
 http://clandecima.it/wordpress/wp-includes/js/jquery/jquery.js?ver=1.11.2
 Line 1
MP Mr Papa
Mr Papa
Member

that js error would likely be coming from the script error that Andy reported seeing repeatedly on your site… when you get js errors, js processing essentially stops…

since wp updated to the latest jquery in 4.2…  perhaps a theme or plugin needs a compatibility upgrade?   I do see your wp theme going against the wp standards/api and loading its own version of jquery ui

<script type=’text/javascript’ src=’http://clandecima.it/wordpress/wp-content/themes/gameaddict/js/jquery-ui-1.10.3.custom.min.js?ver=4.2′></script>

note that version is quite old compare to the jquery ui that comes with WP, version 1.11.4…  so other plugins are expecting to use the version that comes with wp…  good possibility of conflicts/errors when the theme discards the wp version and loads it own…

the warning about leaving page exists from user requests…  many forum admins had users leaving a page before submitting the post thusly losing the post content and having to re-enter…

worth adding, hard to tell what might be going on because I couldnt get the message to show for me… saves fine…

this is untested, but give this a try to disable…  just add the following code to your spFunctions.php of your sp theme…

add_action('sph_platform_vars',    'my_platform_vars');
function my_platform_vars() {
    echo '"saveprocess":"true",';
}

as always, we strongly urge you to have a child theme or make your own sp theme to keep from losing changes on updates…

WE Weltall
Weltall
Member

Ok, the code works 🙂

Yes, maybe it’s the WP theme that is old, since it was not updated during the 4.2 WP update. Also lots of plugin I’m running need update after WP patch.

I will work on a child theme as you suggested, thanks a lot for support 🙂

MP Mr Papa
Mr Papa
Member

nice!  glad to help! 

yeah, unfortunately, if plugins are not well maintained, it can be problematic on major wp version updates…