Automattic / Automattic/jetpack

Undefined index: shipped in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1723

Open
#28,762 1 comment 0 reactions 0 assignees View on GitHub
[Plugin] CRM [Pri] Low [Status] Stale Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Quick summary

[04-Feb-2023 08:05:18 UTC] PHP Notice: Undefined index: shipped in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1723
[04-Feb-2023 08:05:18 UTC] PHP Notice: Undefined index: shipped in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1588
[04-Feb-2023 08:05:18 UTC] PHP Notice: Undefined index: shipped in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1723
[04-Feb-2023 08:05:18 UTC] PHP Notice: Undefined index: dispatched in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1588
[04-Feb-2023 08:05:18 UTC] PHP Notice: Undefined index: dispatched in /home/vjhersmehc/public_html/wp-content/plugins/zero-bs-crm/modules/woo-sync/includes/class-woo-sync-background-sync-job.php on line 1723

### Steps to reproduce

the log message is continually printing in the log file

### A clear and concise description of what you expected to happen.

_No response_

### What actually happened

_No response_

### Impact

One

### Available workarounds?

No and the platform is unusable

### Platform (Simple and/or Atomic)

_No response_

### Logs or notes

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by inspecting modules/woo-sync/includes/class-woo-sync-background-sync-job.php around lines 1588 and 1723, focusing on how the shipped and dispatched indexes are accessed during background synchronization. Reproduce the continual log output if possible and verify that the missing indexes no longer generate PHP notices without breaking the sync job.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.