Title: error document
Last modified: March 22, 2022

---

# error document

 *  Resolved [Neo](https://wordpress.org/support/users/firefliespilots/)
 * (@firefliespilots)
 * [4 years ago](https://wordpress.org/support/topic/error-document/)
 * Hi,I have the following error in the documents:
 * Warning: foreach() argument must be of type array|object, string given in /mysite.
   com/wp-content/plugins/complianz-gdpr/class-document.php on line 496
 * best regards

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years ago](https://wordpress.org/support/topic/error-document/#post-15484369)
 * Hi [@firefliespilots](https://wordpress.org/support/users/firefliespilots/),
 * I can’t reproduce this behaviour.
 * Is this on the front-end of your site? These arrays are populated automatically,
   but only on the front-end.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years ago](https://wordpress.org/support/topic/error-document/#post-15488001)
 * [@firefliespilots](https://wordpress.org/support/users/firefliespilots/) the 
   array shouldn’t be empty, but I’ll catch this situation anyway, this will be 
   merged in the next update.
 * As it’s just a warning, not an error, you can ignore this for now.

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

The topic ‘error document’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/error-document/#post-15488001)
 * Status: resolved