Title: Filter function
Last modified: October 18, 2022

---

# Filter function

 *  Resolved [mschatti](https://wordpress.org/support/users/mschatti/)
 * (@mschatti)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/filter-function-2/)
 * I’m using the free version of the plugin and I have a Warning at the filter function
   on line 458.
 * Warning: Invalid argument supplied for foreach() in
    /homepages/23/d497580845/
   htdocs/vb/wp-content/plugins/personio-integration-light/inc/frontend.php
 * What I need to change to get this to work?
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffilter-function-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/filter-function-2/#post-16109063)
 * Unfortunately I can’t access the link as it is a link to a draft. However, I 
   also see the problem in the publicly accessible page.
 * My guess is that there is no data stored for the “schedule” filter property in
   Personio on your end. So the easiest solution would be to remove this property
   from the filter. Look in wp-admin under Positions > Settings > Template – there
   in the section “List View” there is a field “Available filter”. Remove “Schedule”
   from the selection there and then save the setting.
    Attention: this is a multiple
   selection field. If you press Ctrl and click on “Schedule” it will be unchecked.
 * By the way, the error message is only visible in the frontend because your WordPress
   is running in debug mode.
 * In the next update of the plugin, the message at this point will be fixed with
   this in mind.
 *  Thread Starter [mschatti](https://wordpress.org/support/users/mschatti/)
 * (@mschatti)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/filter-function-2/#post-16151865)
 * Thanks for your quick reply!
 * PS: Are you already know the date of the next update of the plugin?
 *  Plugin Author [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/filter-function-2/#post-16151959)
 * It is already in internal check. The release should happen within the next 1-
   2 weeks if nothing else speaks against it.

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

The topic ‘Filter function’ is closed to new replies.

 * ![](https://ps.w.org/personio-integration-light/assets/icon-128x128.jpg?rev=2756257)
 * [Personio Integration Light](https://wordpress.org/plugins/personio-integration-light/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/personio-integration-light/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/personio-integration-light/)
 * [Active Topics](https://wordpress.org/support/plugin/personio-integration-light/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/personio-integration-light/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/personio-integration-light/reviews/)

## Tags

 * [integration](https://wordpress.org/support/topic-tag/integration/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/filter-function-2/#post-16151959)
 * Status: resolved