Support Forum

Remove All Watches not working

DH David Hutchinson
David Hutchinson
Member

I’ve got the Watches  plugin installed. Adding a watch is working, and so is the Stop Watching button. But clicking Remove All Watches doesn’t seem to remove watches.

Also, clicking the Remove All Watches takes the user to the home page of the WordPress site. I can’t find where this is specified in the template or settings.

I’ve got SimplePress 5.2.2, Watches 1.2, and Default 1.2.1 Theme installed.

– thanks –

8 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Odd. I had a couple of old watches in my own list on this forum so I just tried the remove all button and it behaved as expected. Removed my current watch list and certainly did not redirect….

So – something is perhaps interrupting things for you. Are the any relevant entries in the forum error log – i.e., specific to watches?

DH David Hutchinson
David Hutchinson
Member

Yes — this is in the error log when one tries to the Remove All Watches:

 

file: /simple-press/sp-startup/admin/spa-admin-updater.php
line: 275
function: Unavailable
Notice | Trying to get property of non-object

YS Yellow Swordfish
Yellow Swordfish
Member

Well that’s a notice not an error – a nuisance not a problem… That code actually is concerned with the number of plugins available that might need updating and is only run from the forum admin – so nothing touched by watches.

I will get the other guys here to test this out as well but I don’t think this is a general issue – no other queries on this. I will see what the url is – perhaps it is getting intercepted on your server for some reason.

MP Mr Papa
Mr Papa
Member

tested here and on couple test sites… removing watches worked fine…

any more info you can provide? anything in the error log besides the notice?

DH David Hutchinson
David Hutchinson
Member

Additional error log message….. These are from today….. Looks like this happens everytime “Remove all Watches” is attempted…..

file: e/problem-with-post-edit-buttontdocs/intranet/emrkernel/wp-content/sp-resources/forum-plugins/watches/library/sp-watches-components.php

line: 313

function: sp_watches_render_user_watches

Notice | Trying to get property of non-object

 

 

MP Mr Papa
Mr Papa
Member

that is just a notice…  nothing to worry about – we fix them as they pop up just as matter of code quality…

but that line of code really doesnt make sense…  are you running the latest 1.2.2 version?

DH David Hutchinson
David Hutchinson
Member

If I’m not mistaken, I think the version is 5.2.2.

Doesn’t that message directly relate to the “Remove all Watches” button?

It seems to be occurring every time that button is pushed…..???

MP Mr Papa
Mr Papa
Member

first, I asked about the latest watches plugin version (1.2.2) not simple press (5.1.2)… but you should update to latest sp too which is 5.2.5…  your versions of watches and simple press might not be compatible…