Skip Navigation

[Resolved] Issue with View Displaying Only Posts Created After Latest Update

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 8 months, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2697916

Hello Toolset Support,

I hope this message finds you well. I am writing to report an issue that has occurred following the latest update to the Toolset plugin on my WordPress site.

I have a view with the ID "17455" that is supposed to display posts "solicitud". However, since the update, this view only shows posts that were created after the update. This issue persists even if I clone the view; the cloned view also only displays newly created posts.

This behavior is unexpected as there have been no changes to the authorship or other settings that might affect the visibility of these posts. The issue can be observed at the following URL: hidden link.

Could you please assist me in resolving this issue? I need the view to display all posts, regardless of when they were created, as it did prior to the update.

Thank you for your assistance.

Best regards,

#2698137

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Unfortunately the admin access details you shared is not working at this end.

Can you please send me working admin access details and once I will review your setup I will get back to you with my findings.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2698154
#2698166

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you have added a query filter for post author as current loggedin user.

Can you please share frontend user access details using which I can verify what post that user created and those posts should be displayed by view.

I have set the next reply to private which means only you and I have access to it.

#2698201
#2698309

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing frontend user access details.

I see you send me the user "juantest@mloopian.com" but when I checked in backend admin on user's listing page:
=> hidden link

I do not see any post is created by this user. Can you please try to add few posts and set "juantest" as post author and check if you able to see the posts with view?

#2698329

Hello Minesh,

Thank you for your prompt response.

I appreciate your time in checking the user details for "juantest@mloopian.com". I would like to clarify that there are indeed several posts categorized as "solicitudes" created by the user "juantest" in the admin backend. However, these posts are not being displayed in the view for some reason.

Here is a link to the backend showing the posts authored by "juantest": hidden link

These posts should be visible in the view at the frontend URL provided earlier, but they are not appearing. Could you please further investigate this issue and advise on a possible solution?

Thank you for your continued assistance.

Best regards,

Manuel

#2698353

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I checked further I see the following query generated by view:


SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND (
wp_posts.post_date >= '2024-05-17 00:00:00'
) AND wp_posts.post_author IN (1) AND wp_posts.post_type = 'solicitud' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private'))

ORDER BY wp_posts.post_date DESC
LIMIT 0, 10
[/php]

I see there is a post date filter added and it try to query the posts whose post date is greater than or equal to today's date and post author is equal to loggedin user.

You should not add default post date as frontend custom search filter. I do not know the site history my instinct says its related to the post date filter. What if you try to delete post date filter and check if that help you to resolve your issue.

#2698364

Tks