humanmade / humanmade/network-media-library

PHP Notice given on sub-sites

Open
#65 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
296
Forks
67
PR merge metrics
No merged PRs in 30d

Description

For some reason, the plugin gives the following PHP notice according to Query Monitor when visiting a page on the frontend like on [this page](https://mlh.sandiamesa.com):

Notice | Trying to get property 'id' of non-object | 1 |  wp-content/plugins/network-media-library-master/network-media-library.php:228

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PHP notice on a frontend page of a WordPress sub-site, then inspect network-media-library.php around line 228 to identify which value is not an object. Confirm the notice is gone after the change and check that frontend behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.