Automattic / Automattic/wp-super-cache
PHP Notices on WordPress Multisite Creation
- Dominant language
- PHP
- Stars
- 436
- Forks
- 130
- Avg merge
- 15h 11m
- Merged PRs (30d)
- 10
Description
Hello,
I'm on a WordPress multisite when I see these warnings. I thought I'd pass it on to you. I'm using Pro Sites and when a user comes to the "Finalizing your site..." screen, after they've paid, I see these:
Notice: Trying to get property of non-object in /usr/share/nginx/html/nevtecems.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1277
Notice: Undefined index: comment_post_ID in /usr/share/nginx/html/nevtecems.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 977
Notice: Undefined index: delete_all in /usr/share/nginx/html/nevtecems.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1007
Notice: Undefined index: delete_all2 in /usr/share/nginx/html/nevtecems.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1007
Notice: Trying to get property of non-object in /usr/share/nginx/html/nevtecems.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1277
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing multisite site creation through the “Finalizing your site...” screen with Pro Sites enabled, then inspect wp-cache-phase2.php at lines 977, 1007, and 1277. Trace the notices in that flow and verify that the warnings no longer appear during site creation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100