1.5.7a
PHP 7.4
Click image for larger version. 

Name:	PlugIn List.png 
Views:	103 
Size:	3.3 KB 
ID:	19266

I have Package tracker running in 1.5.7a but I am getting a PHP error stating:

PHP Warning: Invalid argument supplied for foreach() in /home2/***/public_html/ZC157/includes/functions/functions_osh_update.php on line 206.

While there were a few other issues that were easy to resolve in functions_osh_update it appears to be this portion of code below causing the issue:

Code:
            // Begin Ty Package Tracker       
            foreach($track_id as $id => $track) {
                $osh_sql['track_id' . $id] = zen_db_input($track);
            }
Will the edit to trackid below resolve this error:

Code:
            // Begin Ty Package Tracker       
            foreach('track_id' as $id => $track) {
                $osh_sql['track_id' . $id] = str_replace(" ", "", zen_db_input($track));
            }
Thank You for any assistance it is greatly appreciated