Skip to content
Bug Graveyard

Here lie the bugs we fixed. Most of them stayed dead.

← All graves

R.I.P.

undefined is not a function

–

“It was never a function. It was never anything.”

JavaScriptNull reference

Death certificate

Status
🪦 Buried
Cause of death
Null referenceReached for something that was not there. "Cannot read properties of undefined".
Severity
Medium
Hours to kill
2 hours
Killed by
Jashanpreet
Language
JavaScript
Born
3 Apr 2024
Fix merged
4 Apr 2024
Buried
15 Apr 2024
Component
checkout
Symptoms
Clicking Pay threw 'undefined is not a function' whenever the payment script loaded late.
The fix
Waited for the payment script to load before calling it.

Timeline

Every life of this bug, oldest first.

  1. Born as “undefined is not a function”3 Apr 2024

  2. Fix merged4 Apr 2024

  3. Buried15 Apr 2024