#6243 - PHP: ERROR [1] Uncaught TypeError: cms_gmmktime(): Argument #4 ($month) must be of type int, null given, called in sources/cns_j

  • By
  • Added
  • 15 views
Identifier #6243
Issue type Major issue (breaks an entire feature)
Title PHP: ERROR [1] Uncaught TypeError: cms_gmmktime(): Argument #4 ($month) must be of type int, null given, called in sources/cns_j
Status Completed
Tags

Type: Usability (major) (custom)

Handling member Deleted
Version V11 beta7
Addon General / Uncategorised
Description PHP: ERROR [1] Uncaught TypeError: cms_gmmktime(): Argument #4 ($month) must be of type int, null given, called in sources/cns_join line:399

Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occurring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP: ERROR [1] Uncaught TypeError: cms_gmmktime(): Argument #4 ($month) must be of type int, null given, called in sources/cns_join.php on line 399 and defined in sources/temporal.php:529 Stack trace: #0 sources/cns_join.php(399): cms_gmmktime() #1 pages/modules/join.php(325): cns_join_actual() #2 pages/modules/join.php(197): Module_join->step3() #3 sources/zones.php(790): Module_join->run() #4 sources/site.php(1523): load_module_page() #5 sources/site.php(1093): request_page() #6 index.php(77): do_site() #7 {main} thrown in sources/temporal.php on line 529

Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the _config.php file via the config_editor.php script).

The core developers maintain full documentation for all procedures and tools (including disaster recovery). These may be found on the Composr website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.
Steps to reproduce

New user registrations with "Take date of births " turned off/unchecked in config, produces this error.

The user account is created however.

Changing config back to "Take, including on join form" removes the error.

Changing this setting to "Take" results in a different error: "A critical parameter, birthday, was missing. "

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated