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 variable: attach_id in wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 1506 #66

Open
Jon007 opened this issue Jul 22, 2018 · 0 comments · May be fixed by #73

Comments

@Jon007
Copy link

Jon007 commented Jul 22, 2018

Undefined variable: attach_id in wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 1506

This is a php7.x issue:
attach_id is only defined inside the if statement so it has fallen out of scope and no longer exists by the time the return $attach_id; statement is reached

@Jon007 Jon007 linked a pull request Jul 28, 2018 that will close this issue
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.

1 participant