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

Latest version breaks wp media import (CLI) #603

Closed
mg-online-dev opened this issue Feb 28, 2021 · 2 comments · Fixed by #700
Closed

Latest version breaks wp media import (CLI) #603

mg-online-dev opened this issue Feb 28, 2021 · 2 comments · Fixed by #700
Assignees

Comments

@mg-online-dev
Copy link

mg-online-dev commented Feb 28, 2021

Reproduce by skipping all plugins except wp-stateless:

wp media import --user=1 https://mg.co.za/logo-white-467.png --post_id="365160" --title="A Title" --caption="A Caption" --alt="A Test" --desc="A Description" --featured_image --debug --skip-plugins=$(wp plugin list --field=name | grep -v ^wp-stateless$ | tr '\n' ',')

(Fails with PHP 7.4 and PHP 8.0 on WordPress 5.6.2)

Workaround by downgrading to earlier version:
wp plugin delete wp-stateless
wp plugin install wp-stateless --version=3.0.3
wp plugin activate wp-stateless

wp media import will work again

@planv planv added this to the v4.1.0 security improvements milestone Dec 19, 2023
@balexey88 balexey88 assigned planv and balexey88 and unassigned balexey88 and planv Jan 17, 2024
@planv planv linked a pull request Jan 18, 2024 that will close this issue
@planv
Copy link
Contributor

planv commented Jan 22, 2024

Hello @mg-online-dev

It should be solved in version 3.4.0.
Please let us know how it works for you.

@planv
Copy link
Contributor

planv commented Jan 29, 2024

As we have not yet received a response from you in the past 7 days, we will be closing the current issue.
If you have any questions, please feel free to re-open it.

@planv planv closed this as completed Jan 29, 2024
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