cdli / CdliTwoStageSignup

Two-stage signup process for ZfcUser. Supports Zend\Db and Doctrine! Now up-to-date with latest ZfcUser (as of Oct 24th, 2012)
Other
19 stars 13 forks source link

Illegal Offset Error #16

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi:

I'm getting the following message after installing the module. Would love to get this resolved - please let me know what you think is causing it. Thanks.

Chris

Warning: Illegal offset type in .\vendor\zendframework\zendframework\library\Zend\I18n\Translator\Translator.php on line 441

lexbiesenbeek commented 10 years ago

This occurs because variable $_messageTemplates should be called $messageTemplates (without the underscore).

This currently prevents the message templates array being set in the setOptions() method of \Zend\Validator\AbstractValidator, resulting in an empty string being passed to the Translator.

File: \CdliTwoStageSignup\Validator\AssertNoValidationInProgress.php Line: 18

adamlundrigan commented 10 years ago

Fixed by #14