Skip Navigation

[Resolved] Views displays incorrect information

This support ticket is created 8 years, 6 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#309753

Hello,

I don't know what is wrong, Views simply displays the wrong data.

I have created 2 post type.

1. Company:
hidden link

2. Worker:
hidden link

Then created Custom Field Group:
hidden link

Then created a View:
hidden link

Then added some workers like:
hidden link

Then tried to render that view in PHP file in that way:

<?php echo render_view(array('title' =>'testy')); ?>

However the worker page display wrong data:
hidden link

Am I missing something here?

Any help will be appreciated.

Thanks

#309778

Waqas
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Can you please provide some debug information about your site? Please see https://toolset.com/faq/provide-debug-information-faster-support/ for more information.

I have enabled debug information area for your next reply.

Also can you please try following code instead of the one you mentioned above:


<?php echo do_shortcode('[wpv-view name="testy"]'); ?>

Please make sure that "testy" is the name (title) of the view, not a slug. The same case may be with your code.

#309781

I can't see any debug information area enabled.

I tried the suggested code:

<?php echo do_shortcode('[wpv-view name="testy"]'); ?>

It give the same result:
hidden link

"testy" is the name (title) as described in my post:
hidden link

Problem still exist.

Thanks.

#310069

Waqas
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Can I ask for a temporary access to your site? So I can look for more details.

I have enabled your next reply as private, please input all details in that area. Please mention the links to the pages, views, forms, CPTs and configurations in question.

Please take a backup of your site, before proceeding. Debug area is also enabled.

#310074

I sent all the required details.

Thanks.

#310394

Waqas
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for providing the details. Please allow me some time to work on this. I will update you as soon as I find a solution.

#310690

Waqas
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I just wanted to update you about the new release of Views (1.9) and Types (1.7) plugins (as well as the beta release of CRED 1.4). Can you please upgrade to latest versions and see if these help resolving the issue?

Please let me know if these do not help, so I can continue with my investigation about the issue, thanks.

#310806

Please close this post.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.