Change that line to:
$trimmedshit = trim( $settings['whitelist_emails_whitelist'] );
if( empty( $trimmedshit ) )
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)
Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.