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

causing a [PHP Fatal error: Call to undefined function auth_redirect()] #38

Open
fredbradley opened this issue Dec 10, 2014 · 1 comment

Comments

@fredbradley
Copy link

Hello.

It seems that this piece of code (for the plugin update.php) is causing a Fatal Error
Call to undefined function auth_redirect() in /var/my/private/path/wp-admin/admin.php on line 80

I wondered if anyone else had this issue?

Strangely the error occurs just from including the update.php file. Even if everything in the update.php is commented out! Naming conflict?

Any ideas?

@jeremyclark13
Copy link
Owner

How is the file being included. If it's not using the full path to the file then yes, it could be trying to load the update.php from within WP itself. The file should always be included using the full path, most likely by using plugin_dir_path.

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

No branches or pull requests

2 participants