Report: Trouble upgrading 5.0.1(6) to 5.0.2

I downloaded the Linux tar file and unzipped it to a new directory. Exported the database and imported it into the new database 502.
OS Ubuntu 18.04.2
PHP 7.2.19
Zend Engine 3.2.0
MySQL 5.7.22

Built a test site on the same production server as the 5.0.1(6).

I tested the Billing batch payments. I searched for payments and could locate payments. When I select an item to look at. The console shows this error.

search_payments.php:1400 Uncaught ReferenceError: loadiframe is not defined
      at HTMLAnchorElement.onclick (search_payments.php:1400)

Any suggestions?
@stephenwaite