You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes/Domain/Validator/PasswordValidator.php throws an error when in debug mode but not in live mode
PHP Warning: Trying to access array offset on value of type null in /public/typo3conf/ext/femanager/Classes/Domain/Validator/PasswordValidator.php line 138
I think the problem is, that my extension gives another name then this: $this->piVars = GeneralUtility::_GP('tx_femanager_pi1');
in the header:
tx_name_profile[__referrer][@controller]: User
tx_name_profile[__referrer][@action]: showProfile
tx_name_profile[__referrer][@extension]: Name
The text was updated successfully, but these errors were encountered:
grischpel
changed the title
Classes/Domain/Validator/PasswordValidator.php throws an error when in debug mode but not in live mode
Classes/Domain/Validator/PasswordValidator.php throws an warning when in debug mode but not in live mode
Feb 9, 2024
I checked this and I don't our validators support use cases outside of tx_femanager_ plugins, especially with the switch to v8 and multiple plugins, we now specifically check for things running in one of the allowed plugins through PluginService, so upgrading wouldn't fix this issue either.
Please reimplement the password checking logic in your case here.
Classes/Domain/Validator/PasswordValidator.php throws an error when in debug mode but not in live mode
PHP Warning: Trying to access array offset on value of type null in /public/typo3conf/ext/femanager/Classes/Domain/Validator/PasswordValidator.php line 138
I called this from my own validator:
I think the problem is, that my extension gives another name then this:
$this->piVars = GeneralUtility::_GP('tx_femanager_pi1');
in the header:
The text was updated successfully, but these errors were encountered: