[wp-trac] [WordPress Trac] #50397: Warning: No images found. - when running wp media regenerate on specific image
WordPress Trac
noreply at wordpress.org
Tue Jun 16 09:44:37 UTC 2020
#50397: Warning: No images found. - when running wp media regenerate on specific
image
--------------------------+-----------------------------
Reporter: mattiasf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I am trying to run `wp media regenerate 67153`. If I go into my database I
see this row:
{{{
| ID | post_author | post_date | post_date_gmt |
post_content | post_title | post_excerpt | post_status |
comment_status | ping_status | post_password | post_name |
to_ping | pinged | post_modified | post_modified_gmt |
post_content_filtered | post_parent | guid
| menu_order | post_type | post_mime_type | comment_count |
|-------|-------------|---------------------|---------------------|--------------|------------------------|--------------|-------------|----------------|-------------|---------------|--------------------------|---------|--------|---------------------|---------------------|-----------------------|-------------|------------------------------------------------------------------------|------------|------------|----------------|---------------|
| 67153 | 6 | 2019-01-23 14:12:50 | 2019-01-23 14:12:50 |
| earring-anpe-jamie.jpg | | inherit | closed |
closed | | earring-anpe-jamie-jpg-2 | |
| 2020-06-10 11:54:53 | 2020-06-10 11:54:53 | |
223371 | https://mydomain.com/wp-content/uploads/2019/01/earring-
anpe-jamie.jpg | 0 | attachment | image/jpeg | 0
|
}}}
So clearly the image exists in the database. Also, If I go into `wp-
content/uploads/2019/01/` folder and run `find . -name "earring-anpe-
jamie*"` I see:
`[user at s1 01]$ find . -name "earring-anpe-jamie*"
./earring-anpe-jamie-scaled.jpg
./earring-anpe-jamie.jpg`
So the image should be there, I am just not tottaly sure why it won't
generate it's thumbnails.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50397>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list