Skip to content

Fix PHP Notice: Undefined index: path#262

Merged
sourovroy merged 1 commit into
rtCamp:masterfrom
glagonikas:patch-1
Mar 16, 2022
Merged

Fix PHP Notice: Undefined index: path#262
sourovroy merged 1 commit into
rtCamp:masterfrom
glagonikas:patch-1

Conversation

@glagonikas

Copy link
Copy Markdown
Contributor

Fixes #190 & #251

Check if $url_data['path'] is defined to fix notices thrown when invalidating the home page

PHP Notice: Undefined index: path in /wp-content/plugins/nginx-helper/admin/class-purger.php on line 390

@sourovroy sourovroy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@sourovroy sourovroy merged commit b77b83e into rtCamp:master Mar 16, 2022
@chandrapatel chandrapatel linked an issue Mar 25, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undefined index: path PHP notice when delete cache file for url with no trailing slash

2 participants