Undefined index warnings in ECheck

Created on 17 January 2025, about 1 month ago

We're not properly checking the objects that get returned when getting a settled batch list in via cron.

The warnings are :

 [warning] Undefined property: stdClass::$batchList Echeck.php:199
 [warning] Attempt to read property "batch" on null Echeck.php:199
 [warning] Undefined property: stdClass::$batchList Echeck.php:207
 [warning] Attempt to read property "batch" on null Echeck.php:207
 [warning] foreach() argument must be of type array|object, null given Echeck.php:207

Todo:
Add checks to prevent the warnings.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024