Skip to content
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

Undefined index: path #251

Closed
ArtDubrovsky opened this issue Feb 12, 2021 · 1 comment · Fixed by #262
Closed

Undefined index: path #251

ArtDubrovsky opened this issue Feb 12, 2021 · 1 comment · Fixed by #262

Comments

@ArtDubrovsky
Copy link

Good day,
after turning wp_debug on I've found some of

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

at debug.log

I've not realised yet what is a scenario invokes this notice, but changed the original string to

$hash = md5( $url_data['scheme'] . 'GET' . $url_data['host'] . wp_parse_url( $url, PHP_URL_PATH ) );

@glagonikas
Copy link
Contributor

This seems to be related to #190

We have the same issue and as the error states, it's happening here https://github.com/rtCamp/nginx-helper/blob/2.2.2/admin/class-purger.php#L390

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 a pull request may close this issue.

3 participants