Skip Navigation

[Gelöst] First returned item in any view has title of the page instead of its own title

This support ticket is created vor 1 Jahr, 8 Monaten. There's a good chance that you are reading advice that it now obsolete.

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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 9 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von zoeS vor 1 Jahr, 7 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2582941
Screenshot 2023-03-29 at 10.46.20.jpg

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.

#2583075

Minesh
Supporter

Sprachen: Englisch (English )

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

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.

#2583477

Minesh
Supporter

Sprachen: Englisch (English )

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

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:
- versteckter Link

I've created the following simple view that lists the post title with link for "Speaker" post type:
- versteckter Link

Here is the page where I've added the view and I do not see the issue you mentioned:
- versteckter 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.

Can you please send me duplicator copy of your site:
=> https://toolset.com/faq/provide-supporters-copy-site/

#2583969

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?

#2585899

Minesh
Supporter

Sprachen: Englisch (English )

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

Here is a sandbox site where ALL latest Toolset and WPML plugins are installed, you can auto-login to it using the following link:
=> versteckter Link

Here is the page where view is added and I can see its displaying the correct output.
- versteckter Link

Is the issue is with specific post type like Woocommerce Product?

#2587367

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?

#2587425

Minesh
Supporter

Sprachen: Englisch (English )

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

Can you please make sure that all houses are translated correctly in secondary language as well.

Yes, I will require duplicator copy of your site in order to troubleshoot this further. Please check the following Doc for more instructions:
- https://toolset.com/faq/provide-supporters-copy-site/

#2591743

Minesh
Supporter

Sprachen: Englisch (English )

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

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.

Here is the errata page:
- https://toolset.com/errata/wrong-output-for-the-first-item-in-the-loop-of-a-view/

#2597275

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

Hi Zoe

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.

Or you can download the latest versions from your accounts page: https://toolset.com/account/downloads

#2598397

Problem solved with the update – many thanks!