Title: Error on PHP file
Last modified: April 5, 2022

---

# Error on PHP file

 *  Resolved [sal1993](https://wordpress.org/support/users/sal1993/)
 * (@sal1993)
 * [4 years ago](https://wordpress.org/support/topic/error-on-php-file-2/)
 * Hi,
 * I am getting this error code all the time and don’t know what the reason is:
 * Warning: Invalid argument supplied for foreach() in /home/customer/www/devcru.
   nl/public_html/wp-content/plugins/aio-time-clock/aio-time-clock-actions.php on
   line 372
 * Kind regards,
    Sal
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-on-php-file-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Codebangers](https://wordpress.org/support/users/codebangers/)
 * (@codebangers)
 * [4 years ago](https://wordpress.org/support/topic/error-on-php-file-2/#post-15530485)
 * Thanks for reaching out. Since this is a public thread and this is a pro issue,
   kindly submit a ticket here [https://codebangers.com/support/](https://codebangers.com/support/).
   So we can discuss access information.
 *  Plugin Author [Codebangers](https://wordpress.org/support/users/codebangers/)
 * (@codebangers)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-on-php-file-2/#post-15549346)
 * Newest pro update addresses this error.
 *  [SimpleRick](https://wordpress.org/support/users/keramikoch/)
 * (@keramikoch)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file-2/#post-15677832)
 * The same error appears again, I asked the freelancer for the code and he answered:
 * > It was the same code we did last time. Somehow it has unsupported characters
   > added into it. Just repalced it with correct one.
 * Please fix it withouth the unsupprted characters
 *  Plugin Author [Codebangers](https://wordpress.org/support/users/codebangers/)
 * (@codebangers)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file-2/#post-15699241)
 * I did not remove the code I added prior. Which line are you referring to. I will
   add that same check.

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

The topic ‘Error on PHP file’ is closed to new replies.

 * ![](https://ps.w.org/aio-time-clock-lite/assets/icon-256x256.png?rev=1890251)
 * [All in One Time Clock Lite - Tracking Employee Time Has Never Been Easier](https://wordpress.org/plugins/aio-time-clock-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/aio-time-clock-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/aio-time-clock-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aio-time-clock-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aio-time-clock-lite/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Codebangers](https://wordpress.org/support/users/codebangers/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file-2/#post-15699241)
 * Status: resolved