@tonygao Thanks for reporting this. We’ll fix it.
This is a minor issue that you can safely ignore:
“PHP notices are the least important. As stated on the official PHP website, you will see PHP notices when: the script encountered something that could indicate an error, but could also happen in the normal course of running a script”
https://www.ostraining.com/blog/wordpress/warnings/
@tonygao What version of Capabilities are you running? That line number does not correspond to code in the current release.
The version we are using is 2.3
The exact code of the line that cause the problem is below:
|| (defined(‘DOING_AJAX’) && DOING_AJAX && (false !== strpos($_REQUEST[‘action’], ‘capability-manager-enhanced’)))
@tonygao Okay, I can see how the error is triggered, but this is an unusual condition. What Ajax request are you using that doesn’t have an action argument?
Our own php code doesn’t have any ajax calls, but some plugins we use may have ajax calls, also hackers may make ajax calls and cause weird problems.
Will this problem be fixed in the next version or update?