Baxter Jones
Forum Replies Created
-
Thanks for reporting this, @josesqdro
You’re absolutely right about the cause — this is related to the sorting issue, and it has been resolved in the latest release.
I’ll close this ticket, but if you’re having any related issues then feel free to reply here.
Hi @interdixit
We’ve confirmed the issue with random sorting in Post Selections and have resolved it in the latest release.
Thanks for flagging this.
Closing this ticket as there’s been no reply for two weeks.
Hi @rkim888
By default there is nothing that should prevent the shortcode from displaying the information.
The most common thing overlooked is, is there actually something filled in the fields you added to your layout?
How are you using the shortcode, is it the Layout shortcode on the post you have the fields?
Or are you using a Post Selection on a page to show posts?I hope this helped.
I’ll close the ticket for now.Hi @aubreygb
Thank you for reporting this.
We’re not currently aware of any cache-related conflicts with Advanced Views. If clearing the cache consistently resolves the issue, it does suggest the error may be related to how cached responses are being served rather than the view rendering itself. If you’re able to share more details about your caching setup (plugin, server cache, CDN, etc.), we’d be happy to investigate further.
That said, we completely understand your concern. In production environments, it’s often preferable to show nothing rather than display a visible red error message to site visitors.
Starting from Advanced Views 3.8.3, the red error message is now only shown to authorized users (e.g., logged-in users with appropriate permissions). Regular site visitors will no longer see the error output on the front end.
Please update to the latest version and let us know if the issue persists.
Hi @joachimjo
Sorry that you’re experiencing this issue.
It’s related to the migration script not completing.
To trigger the script again.
Visit the plugin page, and in then go to Tools -> Debugging tab and scroll to the bottom.
In the Upgrade from version insert your version before the upgrade, if you can’t remember simply insert 3.7.19 and switch on Flush caches, scroll to the top and click on process button.
Wait for the page to reload, and then you can visit the Layouts or Post Selections tab.
All your items should be back in the list.Hi,
Here’s a short video I made for you on how to use Advanced Views.
https://youtu.be/k1rAaUROI1MWe are working on new official video tutorials.
Hi @rkim888
Thank you for your interest in Advanced Views.
For some guidance see our docs on how to setup your first Layout.
In short, after having installed Advanced Views you head over to the Layout tab in the admin menu, select Add New and then give your Layout a name.
Click on Add field, and select your field group from the dropdown, and below that select the field. You can keep adding fields with the same steps. Publish your Layout and switch to the Template tab to Customise your default template by copying it into the Custom template field, use the CSS & JS tab to style it. Save if you’ve made changes, then copy the Shortcode into place.
If you have the need to display posts with this Layout, then Add a New Post Selection, select the Layout, choose the Post type to filter by and then Publish, (you can customise and style at this step too), copy the shortcode into place. That’s it.
Please let me know if you need further guidance.
We’re also open to any suggestions you may have on how we can improve our guides or docs.There’s been no reply for a week, so I’ll close this ticket for now.
Please reply here if you still need help.Hi @aubreygb
Is it possible for you to share more information regarding the error?
Or does it literally say “Failed to load” or similar?Hi
Firstly, our sincere apologies for the confusion and disruption after updating to v3.8.1. With this release we renamed Views → Layouts and Cards → Post Selections, but all your existing entries should still be safely in the database.
If your lists are showing as empty, it’s most likely due to caching. Please try clearing the following caches on your site:
- Redis (database/object cache)
- PHP Opcache
Once those are cleared, your Layouts and Post Selections should reappear, and your shortcodes will work as expected.
If the issue persists after clearing caches, please let me know and I’ll help you look deeper into it.
There’s been no response for a while, so we’ll go ahead and close this thread for now. If you’re still experiencing the issue, feel free to reply or open a new topic and we’ll be happy to help.
Hi there,
Thanks for sharing those logs — especially the one that mentions:
DateTime::__construct(): Failed to parse time string (1800–1866)...This error happens when Advanced Views tries to render a field that’s expected to contain a valid date (like
2024-07-14), but the actual value is something else — in this case, a year range like1800–1866.Advanced Views automatically handles Date Picker fields by using the ACF API and passing the value through PHP’s
DateTime. That usually works well — unless the field content isn’t actually a valid date string.
Here are a few things to check:1. Check the ACF field type
Go to Custom Fields → Field Groups, find the field that’s causing the error (likely something like
event_start), and confirm it’s set to Date Picker.If the content is more of a year range or something not meant to be an actual date, consider changing the field type to Text instead — this will prevent it from being automatically treated as a
DateTimeobject.2. Check the content saved in that field
Edit the post or entry where the error is coming from and look at the field value. If it contains something like
1800–1866orUnknown, that will cause the error.If you need to allow those kinds of values, it’s best to:
- Change the field type to Text, or
- Add a separate custom text field for ranges and keep the Date Picker just for actual dates.
Once the field type and content match what’s expected, the view should render without issue.
Let us know what you find — happy to help further if you’d like a second look at the field setup!
Cheers,
Baxter – from the Advanced Views team@rpittam I’ll close this ticket for now. Feel free to reply to reopen the topic.