[Resolved] First returned item in any view has title of the page instead of its own title
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I think this issue must be related to the recent Views update. Suddenly every single view on this site returns the first item as having the title of the page it is on, instead of its own title. All subsequent items returned are fine.
Hello. Thank you for contacting the Toolset support.
That is really strange. What if you downgrade the view version to last working version, do you see it working as expected? If yes:
Then yes, this must be due to the latest views update but then I will require information about what kind of view you set and what post type you set to query your view.
Maybe problem URL and admin access details will help to see whats going wrong with your setup.
*** 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.
I'm not sure what is the cause of the issue as I just checked with my sandbox site and I do not able to reproduce the issue but yes, I can see the issue on your install.
Here is the sandbox site and you can autologin to it using the following link:
- hidden link
I've created the following simple view that lists the post title with link for "Speaker" post type:
- hidden link
Here is the page where I've added the view and I do not see the issue you mentioned:
- hidden link
All posts title return the correct value and it does not display the current page title.
It seems there must be issue with third-party plugin or theme or how you are displaying the view's output.
So, to debug this further I'll require duplicator copy of your site.
Hi Minesh, I have taken a local copy to work on and it looks like it's a conflict with WPML. Could you try installing WPML on your sandbox site and see if you see the problem then?
It's a complicated one!
1. It is only affecting the "Houses" CPT
2. It does this on ANY view that displays Houses, including ones that display other CPTs without problems
3. The views I have been using for Houses work fine if I switch them to using other CPTs
4. It only happens with WPML also active
5. It has only done this since the most recent Views update
Does any of that shed any light? If not, can I send you a Duplicator package via Dropbox please?
Just to inform you that our next level support has identified the caused of the issue and its reported in front of our Devs. Please hold on for further updates.
I wanted to let you know that we published plugin updates today that include a fix for this issue (in your case Views 3.6.7).
If the update does not show up on your plugin installer page (click the registered link beneath the plugin name to go to the custom installer page) click the the Check for Updates button to update the list.