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

WIP: Update URL implementation #543

Conversation

ernilambar
Copy link
Member

No description provided.

@davidperezgar
Copy link
Member

Is it works for you? It gives me a fatal error for download_url.

@ernilambar
Copy link
Member Author

Yes. Behat test is running fine with this.

@davidperezgar
Copy link
Member

But test it with wpcli

@ernilambar
Copy link
Member Author

ernilambar commented Jul 24, 2024

Remove object-cache.php file from /wp-content/ and it will work.
Related #533

@swissspidy
Copy link
Member

Remove object-cache.php file from /wp-content/ and it will work. Related #533

Let me guess, the command was loaded too early because of object-cache.php so the download_url function didn't exist yet? You might want to move up the require_once ABSPATH . 'wp-admin/includes/file.php'; call in that case.

@ernilambar
Copy link
Member Author

Moving it on top download_url() is found but error comes: wp_generate_password() not found. Keeping require_once ABSPATH . 'wp-includes/pluggable.php'; then error comes:

Uncaught Error: Undefined constant "AUTH_COOKIE" in /var/www/html/wp-includes/pluggable.php:932

@ernilambar ernilambar closed this Jul 29, 2024
@ernilambar ernilambar deleted the update-url-implementation branch July 29, 2024 07:45
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.

3 participants