Skip to content

[Bug]: TypeError: Cannot read properties of undefined (reading 'some') during startup #8404

@JamesLAllen

Description

@JamesLAllen

Description

During OpenClaw startup/restart, a TypeError is logged and sent to Telegram:

Cannot read properties of undefined (reading 'some')

The error appears to occur during plugin loading, but does not prevent plugins from registering successfully.

Steps to Reproduce

  1. Start or restart OpenClaw gateway
  2. Observe logs/Telegram for error message

Expected Behavior

No error during startup.

Actual Behavior

Error appears in logs and is sent to Telegram channel, though plugins still load:

2026-02-03T07:22:05 [telegram] [gilfoyle] starting provider
2026-02-03T07:22:05 [slack] socket mode connected
2026-02-03T07:22:30 Cannot read properties of undefined (reading 'some')
2026-02-03T07:22:31 [normal operation continues]

Plugins register successfully after the error:

[plugins] [proactive-plugin] Registered (2 tools)
[plugins] [taskmaster] Registered (7 tools, 1 service)

Environment

  • OpenClaw version: 2026.2.1
  • OS: macOS (Darwin 25.2.0 arm64)
  • Node: v25.5.0

Configuration

Custom plugins loaded:

  • step-by-step-plugin (enabled)
  • proactive-plugin (enabled)
  • taskmaster-plugin (disabled)

Analysis

Searched plugin source code - no unguarded .some() calls found. All array methods have fallbacks (|| []). Error appears to originate in OpenClaw core plugin loader, not user plugins.

Frequency

Error appears on every restart. Multiple occurrences in logs:

  • 2026-02-03T07:03:40
  • 2026-02-03T07:12:18
  • 2026-02-03T07:15:46
  • 2026-02-03T07:22:30
  • 2026-02-03T08:18:58

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions