Apply_filter is a function that requires 2 parameters. I added
NULL as a parameter to the function call in the member login form,
which resolves the error.
else if( isset( $_GET['login'] ) && $_GET['login'] == 'empty' ) { ?>
Please enter both username and password.
<?php } else { ?>
- <?php $glmAssociateConfig = apply_filters('glm_associate_config');
+ <?php $glmAssociateConfig = apply_filters('glm_associate_config', null);
$supportEmail = $glmAssociateConfig['settings']['members_only_support_email'];
$supportPhone = $glmAssociateConfig['settings']['members_only_support_phone'];
$glmTerm = $glmAssociateConfig['terms']['term_member'];