Automattic / Automattic/jetpack

Social Menu: Trying to access array offset on value of type bool

Open
#14,874 10 comments 0 reactions 0 assignees View on GitHub
[Feature] Theme Tools [Pri] Low Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

I am getting PHP Notice "Trying to access array offset on value of type bool" in both back-end and front-end when using `add_theme_support( 'jetpack-social-menu' )`.

**Screenshots**

![Social Menu PHP notice](https://i.snipboard.io/MWbyjP.jpg)

WordPress: 5.4-beta3-47402
Jetpack: 8.3

Contributor guide

Open the contributing guide

Research direction

Reproduce the notice with WordPress 5.4-beta3-47402, Jetpack 8.3, and add_theme_support( 'jetpack-social-menu' ). Trace the social-menu handling in both the back end and front end to identify the failing location. Done means the PHP notice no longer appears in either context.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
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.