Skip Navigation

[Resolved] Views Plugin is Conflicting with another Plugin

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Luo Yang 5 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1189550

I am trying to:
Keep both plugins activated for they both are required by us.
WP User Frontend Pro Is used for Signing Up new useres & Forgot Password.
Well the page for sign up isn’t working fine, if the users didn’t fill all the required fields it will let him pass without validation, also forgot password brings blank page.
After deactivating the Toolset Views things went right with the WP User Frontend Pro plugin with full functionalities. The company helped us to discover that.
They said we should contact you to solve this.

Link to a page where the issue can be seen:
Registration Form: hidden link
Forgot Password Form: You’ll find also the Forgot Password in the bottom of the page just below the button of Register.

I expected to see:
The Registration form should be reactive when the users aren’t filling the fields that are mandatory when the plugin is working fine (after deactivating Toolset View) the form is reactive & prevents the useres from passing.
Also forgot password should bring a confirmation message.

The redistration
Instead, I got:
Registration form: If Toolset is active the form will pass the missed fields, bringing the page back without being sent to us as new account, also no messages appear.

Forgot Password: brings blank page.

#1189613

Hello,

I have tried below steps in your website:
1) Test the registration form as a guest:
hidden link

submit the form without filling any fields, it redirect me to above page, I don't see any error message

2) Deactivate Views plugin, test it again, I get same result:
it redirect me to above page, I don't see any error message

3) Activate Views plugin, test it again, I see the error message:
Please fix the errors to proceed
And the form is being submitted.
See screenshot: register-form.JPG

It it the "Registration form should be reactive"? can you confirm it?

4) Test the forgot password form with email address Adm***@lifechangingtruth.org, after submit the form:
hidden link
I get this error message:
HTTP ERROR 500

There should be some PHP errors in your website, I suggest you fix them first, you can get the PHP debug logs by following our document:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

#1189621

1. The page should make the mandatory fields in red to fill them, shouldn’t bring the page again...which made many users think they filled it successfully.
The page should stop you without passing to it again...please try this after deactivating the Toolset Views, so it’ll show you the fields to force you filling them...without passing this.

2. Kindly try the same after deactivation (trying to leave mandatory fields without being full) the page will not pass but will show in red these fields...which means the plugin works fine.

3. I am sure from this: It’s conflicting with Toolset...kindly try again as I mentioned:
Try leaving the mandatory fields (after deactivating Toolset view)...the fields will be in red & will not let you pass the page to another.
Also we didn’t receive any successful email request for membership...which means it failed from reaching us...this happened with many thinking it reached us.

4. We will see the errors sure...but these will not happen if you deactivated the Toolset...kindly try again to recover the password after deactivation of Toolset Views.

Kindly try both with the Toolset Views plugin active
Also try both with the Toolset Views plugin deactivated

In Registration form: kindly try to leave the fields in both cases & see how it will work fine(in deactivation) in case you left the mandatory fields...while it’ll not work fine when you leave the fields with the Toolset View activated.
In Forgot Password: kindly check wih Toolset Views deactivated the page will reply by confirmation./
While if Toolset Views active thet error you’ve seen.

So these are the two issues are related with Toolset Views.
Thanks a lot.

#1190281

I have suggestion sir, what about disabling Toolset Views for these specific pages?
Registration
Forgot Password
This will solve the issue I think.
If this option available how to do it?
If not then we need to find solution by solving the conflict...
Please help

#1190293
is-required.JPG
register-page.JPG

No, there isn't such kind of feature to disable Views plugin in specific pages.

I have checked those URLs in your website again, here are detail steps:

1) In the URL
hidden link

I see some JS errors, see screenshot register-page.JPG, these errors might prevent validation from working, I suggest you fix them first:

I have tried to deactivate two plugins in your website:
- WP Fastest Cache
- WP Fastest Cache Premium

test above URL again, it works fine, see screenshot: is-required.JPG

2) in URL
hidden link

Same as the first answer, after submit the form, it is still display 500 errors, I suggest you check the PHP debug logs, fix them first:
https://toolset.com/forums/topic/views-plugin-is-conflicting-with-another-plugin/#post-1189613

#1215260

The no. 2 in the preious post “Lost Password” option the FrontEnd plugin company replied us that the error is caused by Toolset
Reminder: when we use the Lost Password it gives blank page.
hidden link
Kindly try using the email address above to access.

When we changed the php to be 7.0 it worked fine....we thought it’s matter of the plugin, we contacted the company & they replied that the issue isn’t with the FrontEnd plugin nor with the php 7.2 but with Toolset...they gave us this debug message.
Please help
=========
( ! ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpv_filter_wpv_replace_retrieve_password_email_body(), 3 passed in /app/public/wp-includes/class-wp-hook.php on line 286 and exactly 4 expected in /wp-content/plugins/wp-views/embedded/inc/wpv-shortcodes.php on line 1450
( ! ) ArgumentCountError: Too few arguments to function wpv_filter_wpv_replace_retrieve_password_email_body(), 3 passed in /app/public/wp-includes/class-wp-hook.php on line 286 and exactly 4 expected in /wp-content/plugins/wp-views/embedded/inc/wpv-shortcodes.php on line 1450
========

Thanks.

#1215313

It seems to be a compatibility issue with WP User Frontend Pro plugin, since I don't have a copy of it in my localhost, if you need more assistance for it, please provide a copy WP User Frontend Pro plugin in below private message box, I need to test and debug it in my localhost, thanks

#1215317
#1215345

Thanks for the details, I can download both plugins:
- WP User Frontend
- WP User Frontend Pro - business

Here are detail steps I tried:
1) Install/activate the latest version of Toolset plugins + WP User Frontend + WP User Frontend Pro - business in a fresh wordpress installation
2) Create a wordpress page, add below shortcode into content:
[wpuf-login]
3) Logout as a guest, test above page in front-end, I don't see any forget password form, so can not debug this problem.

Please check these in your website:
1) Backup your website first,
2) Make sure you are using the latest version of Toolset plugins
3) In case there is other compatibility problem in your website, please deactivate other plugins(except the plugins I mentioned above), and switch to wordpress default theme 2019, and test again

If the problem still persists, please provide detail steps to duplicate the same problem, I need to test and debug it in my localhost. thanks

#1215422

Thanks a lot
All the above has been done by the weDevs support
The only succeeded way is that we changed to php 7.0 instead of 7.2 the Lost Passwprd worked fine.
Please check the debug report sent above...the issue is with Toolset.
Thnks a lot

#1216698

Yes, I can see the debug logs are from wp-views plugin, and it is a compatibility problem of your website, according to our workflow, we need detail steps to duplicate the same problem, I am not familiar with "WP User Frontend Pro" plugin, please provide the detail steps as I mentioned above:

https://toolset.com/forums/topic/views-plugin-is-conflicting-with-another-plugin/#post-1215345