May 4, 2011

Featured image set in manual pull not in Cron pull | CyberSEO | Support Forums

Only registered customers are allowed to post in this forum. For everyone else it is read-only.

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Featured image set in manual pull not in Cron pull
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
February 28, 2021
2:14 pm
Avatar
B8europe
Member
Members
Forum Posts: 44
Member Since:
February 16, 2016
Offline

Hi,

I'm having some issues with featured images set when a pull is run by cron. I run my feeds with a cron setting from the server not wp-cron. Then the posts are created as a draft. Post scheduler then publishes the post.

If I run the feed manual I always see a featured image. When the feed is run by cron sometimes a featured image is set but mostly not.

February 28, 2021
3:56 pm
Avatar
admin
Admin
Forum Posts: 2955
Member Since:
July 2, 2009
Offline

It doesn't matter how the plugin is triggered - manually or by cron, because the same code is used in both cases. Perhaps your server has not enough time to pull all the posts with images at once when run in cron mode.

March 5, 2021
12:03 pm
Avatar
B8europe
Member
Members
Forum Posts: 44
Member Since:
February 16, 2016
Offline

I understand. It just seams weird. I know WordPress creates different images sizes after upload. Could this create a time out somehow?

Each job only parses one post. So only one image needs to be parsed. The image is pulled and saved to the server. However, the image is not always added as a featured image in the cron pull. I use "Generate from the "thumb" custom field"

What timing should I change on the server to try out?

March 5, 2021
3:18 pm
Avatar
admin
Admin
Forum Posts: 2955
Member Since:
July 2, 2009
Offline

There is no such a thing as an universal timing for everyone and everything. Try to set your max_execution_time value say... 4 times more than the current value.

March 11, 2021
9:30 pm
Avatar
B8europe
Member
Members
Forum Posts: 44
Member Since:
February 16, 2016
Offline

Hi, I changed the max_execution_time. This had no change or effect.

I watched the log and found a difference between en feed pulled by cron or manually. Here's an example:

In this feed "Post thumbnail is required" is checked

Feed by CRON

[11-03-21 06:03:34] Feed URL: Login to see this link.

[11-03-21 05:03:23] Processing post "Natalie’s Depraved Dicksucking".
[11-03-21 05:03:23] Executing user-defined PHP code.
[11-03-21 05:03:23] Done.
[11-03-21 05:03:25] Trying to save image Login to see this link. (preferred name: "Natalie’s Depraved Dicksucking", width: default, height: default, compression: default)
[11-03-21 05:03:25] JPEG format detected.
[11-03-21 05:03:25] Done. The local image URL: Login to see this link.
[11-03-21 05:03:26] The plugin was unable to generate the required thumbnail. Aborting.

Feed Manually

[11-03-21 06:03:34] Feed URL: Login to see this link.

[11-03-21 06:03:36] Processing post "Natalie’s Depraved Dicksucking".
[11-03-21 06:03:36] Executing user-defined PHP code.
[11-03-21 06:03:36] Done.
[11-03-21 06:03:36] Trying to save image Login to see this link. (preferred name: "Natalie’s Depraved Dicksucking", width: default, height: default, compression: default)
[11-03-21 06:03:36] JPEG format detected.
[11-03-21 06:03:38] The featured image has been successfully generated.
[11-03-21 06:03:38] 1 post was added.

March 11, 2021
11:32 pm
Avatar
admin
Admin
Forum Posts: 2955
Member Since:
July 2, 2009
Offline

Export your feed settings into a file and send it to me by email: Login to see this link.

March 12, 2021
2:11 pm
Avatar
B8europe
Member
Members
Forum Posts: 44
Member Since:
February 16, 2016
Offline

Just send you an example feed

March 12, 2021
2:40 pm
Avatar
admin
Admin
Forum Posts: 2955
Member Since:
July 2, 2009
Offline

Just checked your feed by cron and manually. In both cases the result was absolutely the same. Seems in your case you just forgot to remove the images, syndicated at the previous try. Or perhaps your server has some temporary connection interruptions when it transfers images from stickydollars.com. I don't see any errors in the CyberSEO Pro code.

March 14, 2021
10:34 pm
Avatar
B8europe
Member
Members
Forum Posts: 44
Member Since:
February 16, 2016
Offline

Thanks for testing. I tested a feed on en newly installed WP website. And I have no errors. So I think it's not in CyberSeo nor on the server. I'm disabling plugins now to see if something is interfering. It's really weird. I'm experiencing this on another site to.

I think I found it. I might be the Page Cache in W3 Total Cache interfering

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 64

Freedom: 61

saviulisse67: 45

B8europe: 44

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 349

Members: 1785

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 5

Topics: 1271

Posts: 6331

Newest Members:

joe_yervantian, ed.vennetti, artur777biz, admin.intraflashgroup, giulio.giuliocavalli, berdejnr

Administrators: admin: 2955