Title: get_object_vars Error
Last modified: August 22, 2016

---

# get_object_vars Error

 *  [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * (@psimatrix)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/get_object_vars-error/)
 * We get the following error on some pages with this plugin active.
 * Warning: get_object_vars() expects parameter 1 to be object, null given in /public_html/
   wp-content/plugins/intensedebate/intensedebate.php on line 548
 * [https://wordpress.org/plugins/intensedebate/](https://wordpress.org/plugins/intensedebate/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * (@psimatrix)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/get_object_vars-error/#post-5213934)
 * I modified line 547 of intensedebate.php from:
 * `if ( !is_array( $o ) ) {`
 * to:
 * `if ( !is_array( $o ) && is_object($o) ) {`
 * This will patch the issue temporarily but isn’t a long term solution.
 *  Thread Starter [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * (@psimatrix)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/get_object_vars-error/#post-5214386)
 * I just updated the plugin to the latest version and this problem persisted. I
   applied the same patch and it’s working again.

Viewing 2 replies - 1 through 2 (of 2 total)

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

 * ![](https://ps.w.org/intensedebate/assets/icon.svg?rev=2833542)
 * [IntenseDebate Comments](https://wordpress.org/plugins/intensedebate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/intensedebate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/intensedebate/)
 * [Active Topics](https://wordpress.org/support/plugin/intensedebate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/intensedebate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/intensedebate/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [psimatrix](https://wordpress.org/support/users/psimatrix/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/get_object_vars-error/#post-5214386)
 * Status: not resolved