Please either add default values, or set to an empty array for these two values:
$blacklist_url
$whitelist_url
Errors:
PHP Warning: Invalid argument supplied for foreach() in /usr/share/wordpress/wp-content/plugins/handle-external-links/handleEL.php on line 425
PHP Warning: Invalid argument supplied for foreach() in /usr/share/wordpress/wp-content/plugins/handle-external-links/handleEL.php on line 437
Simple solution (untested):
$blacklist_url = array(); // add to line 361
$whitelist_url = array(); // add to line 346
Thanks!
https://www.ads-software.com/extend/plugins/handle-external-links/
]]>If you use this plugin with a contact form or a blank template it will throw an error. You need to add an “if($html){” before the “foreach ( $html->find( “a” ) as $a ) {” loop and end it after the save(). This is an easy fix which should be added to the code.
https://www.ads-software.com/extend/plugins/handle-external-links/
]]>