Skip to content

Fix PHP Notice: Undefined index: path #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Conversation

glagonikas
Copy link
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

Copy link
Contributor

@sourovroy sourovroy left a comment

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