Hi Support team,
I am having a really strange issue. I have a user edit form that works perfectly if the user has Admin rights. and admin user can edit every field with this form without any issue and can also upload image with the image upload field given on the same form. But if user is a Subscriber role and want to upload an image using the same form where image field is given then it gives a weird validation error. So Please watch the video attached in this ticket and provide me a quick and instant support.
I just checked the same on my own local test site where I didn't have any such problem. It should work correctly when the form settings do not specify to use the WP Media Uploader, but I can see in your video in your case that it does not.
Could I ask you please to check whether the problem occurs when you have all non-Toolset plugins disabled, using a default theme such as twentytwenty, and with any custom code snippets disabled?
If it does work in that case, then there would seem to be a conflict with some other product code, and it should be possible to identify which product by a process of elimination.
Hi Nigel,
So I found that Paid Membership Pro Plugin is creating conflict. I deactivated all plugins excluding Elementor, Elementor Pro and another elementor addon. So with this basic plugin, It was working fine, but as soon as I activated Paid Membership Pro, It immediately started showing the same problems, So It means there is something wrong with Toolset fields and Paid Membership Pro.
Unfortunately, Paid Membership Pro and Toolset both are really important for me to complete and launch this project. I tried to find out the actual bug, But even after enabling the Debug mode, It shows no error log in frontend. So I would request you to please use my previously shared login info and help me find the bug and fix it.
I also noticed after upgrading my PHP Version that your toolset plugins are not working very well and have lot of deprecated code used. So Please look at the attached screenshot and fix them.
Thank you for sharing these findings and it is a good thing that you were able to narrow down the conflicting plugin.
I tested the free version of the "Paid Membership Pro" plugin on my test website, but couldn't reproduce this issue. This suggests that something specific to your website is involved.
Do I have your permission to download a clone/snapshot of your website? This will help us in investigating this on a different server, without affecting the actual website.
Thank you for waiting as this investigation took longer than initially expected.
During troubleshooting, I noticed that issue only appears for the 'subscriber' role user, who has placed an order and some membership level from the "Paid Membership Pro" plugin has been applied. For a newly created subscriber, the edit user form works without any issue.
It turns out that using the [pmpro_billing] shortcode from the "Paid Membership Pro" plugin on the same page as the user edit form, results in this incompatibility. I tried a couple of workarounds, but none of them worked to make these two items, useable on the same page.
Based on these tests, it would be best to keep the user edit form on this "profile edit "page and move the shortcode [pmpro_billing] shortcode, on a new "billing details" page.