Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is probably a result of an error in other contrib code, but it still throws a fatal error when it doesn't have to. Full error:
Recoverable fatal error: Argument 1 passed to ClientsideValidationValidator::getName() must be of the type array, null given, called in sites/all/modules/contrib/clientside_validation/plugins/validator/required.inc on line 28 and defined in ClientsideValidationValidator->getName() (line 12 of sites/all/modules/contrib/clientside_validation/includes/ClientsideValidationValidator.inc).
The error only occurs for me on the Dev server (not during local dev or on the Prod server). Easier for me to fix than to fully debug. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#3 | null_array--2842540-2.patch | 1.18 KB | jessehs |
#2 | null_array--2842540-1.patch | 1.35 KB | jessehs |
Comments
Comment #2
jessehsComment #3
jessehsOops, there was a coding standard error in patch 1. This solves it.