August 20, 2015 at 4:33 pm 68302
When a user deletes a post from their dashboard, the site gets caught in a Redirection Loop.
The following is appended to the URL and it repeats this in the Network tab of Web Dev Tools until the redirection loop error occurs.
August 20, 2015 at 5:46 pm 68313
I have tried to reproduce this issue but failed. It could be a has a chance of theme or plugin conflicts. You can disable all your plugins except User Frontend and switch to a default theme of WordPress like- Twenty Twelve, Twenty Thirteen, Twenty Fourteen and let me know the results.
August 20, 2015 at 7:21 pm 68340
Thanks for the response.
Removing all the plugins did not resolve the issue but swapping the theme did. It also seemed to resolve another open issue I have open here.
So, obviously the issue must be somewhere in my theme’s code, but could you give me any clues as to where it might be? The only thing I have done with the dashboard area is add code that allows for multiple post types and also, a redirect after upload:
August 21, 2015 at 3:39 pm 68400
Just to give an update to this.
I have my dashboard set up to go to the users BuddyPress profile. So it works as http://mysite.ie/USERNAME/my-posts. If I remove the USERNAME element, then the posts will delete without an issue.
When I delete from USERNAME/my-posts, the following is added to the URL:
When I delete form just /my-posts, then this is added to the URL:
Is there anything that you can think of that would cause this to stop working? It had worked on a previous version of WPUF before.
August 24, 2015 at 12:36 pm 68804
Literally speaking, do not do anythings unusual. Just create a page then insert a shortcode [wpuf_dashboard]. Now access the page from the website’s frontend. You will get all the post you have created. If you want to delete any post just click delete.
You will get a URL on the browser address field like it is – http://yoursite.com/dashboard
August 24, 2015 at 1:32 pm 68812
As mentioned though in my last email, that does work, but I have it set up to go to a user account which includes their username.
This has worked before without any issues. It has worked for probably about a year now, but since the updating, it seems to have stopped.
Please see this post from 2 years ago where I set this up with Tareq.
Is there anything that you can think of for where I should be looking?
August 24, 2015 at 5:52 pm 68858
Please allow me some time. I will check this matter. Hope I will come back to you with a right solution.
August 24, 2015 at 5:53 pm 68859
Thanks Towhid, appreciate the help.