Title: Object Error
Last modified: August 20, 2016

---

# Object Error

 *  [jmorti](https://wordpress.org/support/users/jmorti/)
 * (@jmorti)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/object-error/)
 * 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.
 * [http://wordpress.org/extend/plugins/handle-external-links/](http://wordpress.org/extend/plugins/handle-external-links/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [getwebinspiration](https://wordpress.org/support/users/getwebinspiration/)
 * (@getwebinspiration)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/object-error/#post-3588624)
 * Hi jmorti and sorry for my late reply!
 * If you feel like you have the time, you can make a pull request to the [github repo](https://github.com/sebastianwestberg/handle-external-links)
   with your corrections.
 * If not, I’ll post an update pretty soon anyway.
 * Thanks in advance.

Viewing 1 replies (of 1 total)

The topic ‘Object Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/handle-external-links_ddc5e1.svg)
 * [Handle External Links](https://wordpress.org/plugins/handle-external-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/handle-external-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/handle-external-links/)
 * [Active Topics](https://wordpress.org/support/plugin/handle-external-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/handle-external-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/handle-external-links/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [getwebinspiration](https://wordpress.org/support/users/getwebinspiration/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/object-error/#post-3588624)
 * Status: not resolved