I am trying to: activate Toolset access plugin
Link to a page where the issue can be seen: lien caché
I expected to see: the page render correctly
Instead, I got: error message: "The site is experiencing technical difficulties."
I have disabled all the plugin and activate the Toolset access first.
i activated all plugins one by one and each time checked to see if the error happened.
i isolated the conflict with the SMTP plugin
I created a duplicated site for you to test this on.
Thanks,
David
Dear David,
There should be some PHP errors in your website, please try these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets
2) Check if there is any PHP error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
Copy/paste the PHP debug logs here.
Hi Luo,
I have checked on the default 2019theame and the issue still exists.
I was able to isolate three conflicting plugins causing the issue. it happens only when all the following three plugins are active
1. iThemes Security Pro
2. Post SMTP
3. Toolset Access
when i activate the three plugins and trying to refresh a page when login with a user (not admin) i continue to get the error.
the error_log file provide the error:
[21-Jun-2019 03:07:22 UTC] PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\CommentsPermissions' not found in /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-content/plugins/types-access/application/models/capabilities.php:597
Stack trace:
#0 /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(384): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#1 /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-includes/class-wp-hook.php(286): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#2 /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#3 /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-includes/class-wp-user.php(768): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))
#4 /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-content/ in /var/www/vhosts/dazonet.com/toolset.dazonet.com/wp-content/plugins/types-access/application/models/capabilities.php on line 597
When I enable all plugins and disable iThemes Security Pro there is no issue.
Reactivating iThemes Security Pro and disabling one of the plugins Post SMTP or Toolset Access there is no issue.
The issue happens when the three plugins are enabled.
I also looked at the Javascript Debugging in Firefox browser however when I loaded a page no debugging information displayed. the page still rendered the error "The site is experiencing technical difficulties."
Please advise,
Thanks,
David
Since it is a compatibility problem, please provide a copy of your website in below private message box(you can put the duplicator package into your own google drive disk, and share the link), I need to duplicate the same problem and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Thanks for the details, I amd downloading the files, will update here if there is anything found
Thanks for the details, I can see the problem with your duplicator package, and the problem occurs when there is only two plugins:
- iThemes Security Pro
- Toolset Access
After login as Subscriber user "checksecurity", I see the PHP error message:
Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\CommentsPermissions' not found
But since it is a compatibility problem, I need to duplicate the same problem in a fresh WordPress installation, otherwise it will be taken as an exception.
So I have tried it in a fresh WordPress installation:
activate both plugins, and login as a Subscriber user, there isn't any problem, it works fine.
I am not familiar with "iThemes Security Pro" plugin, is any special setting needed in iThemes Security Pro plugin side?
Can you provide detail steps to duplicate the same problem in a fresh WordPress installation?
Thanks
Hi Luo,
I also, installed on a clean site and it seems to not have the issue.
Yes, iThemes Security Pro have various configurations. i have set the configuration as well and set the Plesk server security settings but couldn't repro the issue on a clean site. i wonder if the permission error is triggered due to woocommerce membership, and team for membership plugins.
how should we proceed?
thanks,
David
Same as above, you can try those plugins in a fresh wordpress installation, if there is same problem, then provide the detail steps.
If you can not reproduce the same problem in a fresh wordpress installation too, I can escalate this problem as an exception to our 2nd tier supporters.