Title: PHP Error in log
Last modified: August 1, 2025

---

# PHP Error in log

 *  [kipzes](https://wordpress.org/support/users/kipzes/)
 * (@kipzes)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/php-error-in-log-5/)
 * I’m seeing an error in the log of the WooCommerce webshop. Maybe checking if 
   it `$order->get_meta('_sendy_packages')` is an array would solve it.
 *     ```wp-block-code
       2025/08/01 14:26:17 [error] 383046#383046: *25002 FastCGI sent in stderr: "PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string given in /home/website-dir/example.nl/web/app/plugins/sendy/resources/views/admin/orders/track_trace.php on line 15; PHP message: PHP Warning:  foreach() argument must be of type array|object, string
       ```
   

The topic ‘PHP Error in log’ is closed to new replies.

 * ![](https://ps.w.org/sendy/assets/icon.svg?rev=3200840)
 * [Sendy](https://wordpress.org/plugins/sendy/)
 * [Support Threads](https://wordpress.org/support/plugin/sendy/)
 * [Active Topics](https://wordpress.org/support/plugin/sendy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sendy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sendy/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kipzes](https://wordpress.org/support/users/kipzes/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/php-error-in-log-5/)
 * Status: not resolved