I noticed line 115 of plugin's functions.php email code needs to be wrapped in brackets since it is on two lines:
as it is now:
if (genesis_get_custom_field('_agent_email') != '')
$email = genesis_get_custom_field('_agent_email');
$output .= sprintf('
%s
', antispambot($email), antispambot($email) );
as it should be:
if (genesis_get_custom_field('_agent_email') != '') {
$email = genesis_get_custom_field('_agent_email');
$output.= sprintf('
%s
', antispambot($email), antispambot($email));
}
It is throwing a PHP warning with DEBUG on.
https://wordpress.org/plugins/genesis-agent-profiles/
I noticed line 115 of plugin's functions.php email code needs to be wrapped in brackets since it is on two lines:
as it is now:
if (genesis_get_custom_field('_agent_email') != '')
$email = genesis_get_custom_field('_agent_email');
$output .= sprintf('
%s
', antispambot($email), antispambot($email) );as it should be:
if (genesis_get_custom_field('_agent_email') != '') {
$email = genesis_get_custom_field('_agent_email');
$output.= sprintf('
%s
', antispambot($email), antispambot($email));}
It is throwing a PHP warning with DEBUG on.
https://wordpress.org/plugins/genesis-agent-profiles/