Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Some theme use separate menu for mobile. Please ask your theme developers how to add menu item for mobile, is there any separate hook or theme_location?
Let me know so that a can assist you to add this if require.
Shamim HasanKeymasterYou can network activate this plugin OR activate in sub-sites where you want to show captcha.
You can change settings (site key, secret key etc) for all sites where you want to show. Or you can add following code in your theme’s functions.php then change settings in main site. It will reflect in all sites
add_filter( 'anr_same_settings_for_all_sites', '__return_true' );
Shamim HasanKeymasterWhich shortcode/code you are using to show those “Message” buttons.
Shamim HasanKeymasterIt is working here.
Are you getting any error?Shamim HasanKeymasterIn your child theme’s functions.php you had
$user_role = array_shift($current_user->roles);
. Please read https://www.php.net/manual/en/function.array-shift.phparray _shift will remove first element from array. So it remove your role.
This does not only affect this plugin but other functions as well. Your website is a membership website. Your member will not be able to access content as their roles is removed.I have corrected that. I hope this will solve your issue.
Let me know.
Shamim HasanKeymasterhttps://www.shamimsplugins.com/live-chat/
This chat link will be available for next 30 minutesShamim HasanKeymasterAre you using any caching plugin? If yes please clear cache and exclude message page from caching. Also deactivate caching plugin temporarily.
If still not working then it needs some debug from php. If you are comfortable to change php then i can live chat with you and give you debug code. Otherwise you can give me access permission to your website so that i can debug in your website.
Let me know.
Shamim HasanKeymasterSorry for that. Sometimes user think other plugin permission, so as a measure i told you to check that.
Any role user can access that or all users getting that error?
Do you use any custom code for this plugin?
This error means any plugin/code is using hookfep_current_user_can
to dynamically change access permission. Can you deactivate all other plugins and change theme to one of default theme then test? Then activate one by one. if you found any conflict let me know so that i can try to solve the issue.Shamim HasanKeymasterPlease go to Front End PM PRO > Settings > Security > Who can access message system?
Let me know.
Shamim HasanKeymasterCan you make changes from git commit? If yes please use https://github.com/shamim2883/advanced-nocaptcha-recaptcha/commit/f53057c3753b3bc9d8e18d6b94c3931b5a45399e
Otherwise use FTP or File manager and go to your website wp-content/plugins/advanced-nocaptcha-and-invisible-captcha-pro/ and replace anr-captcha-class.php with https://github.com/shamim2883/advanced-nocaptcha-recaptcha/blob/master/anr-captcha-class.php
Then test and let me know.
Shamim HasanKeymasterCan you please go to Settings > Advanced noCaptcha & invisible Captcha > Enabled Forms
then unchecked all forms and save changes. Then try again.
If works then enable one by one form and test.Let me know.
Shamim HasanKeymasterCan you please give me url of your contact form pages?
Shamim HasanKeymasterYou can try to exclude your message page url from caching.
Let me know if that works.
Shamim HasanKeymasterIt is working here.
You can deactivate all other plugin and activate one of default theme (eg. tweenty*) then try. Then activate one by one to narrow down any conflict.Or you can use https://wordpress.org/plugins/health-check/
Shamim HasanKeymasterHere we cannot attache po file.
I have sent you an email attaching your language po file.Let me know if you have any more difficulty.
-
AuthorPosts