Uninitialized string offset: 0 in uc_elavon_request() (line 205 of uc_elavon.transaction.inc)

Created on 3 August 2023, over 1 year ago

If the settings page hasn't been saved, e.g. the variables are being controlled by a settings file, the following error can be logged:

Notice: Uninitialized string offset: 0 in uc_elavon_request() (line 205 of uc_elavon.transaction.inc).

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

  • Issue created by @DamienMcKenna
  • Status changed to Needs review over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    This simplifies the logic to just check if the variable has been set to a non-empty value, which will work for the scenarios the code handles.

Production build 0.71.5 2024