Skip Navigation

[Resolved] Content not displayed because it produces an infinite loop.

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

Our next available supporter will start replying to tickets in about 0.81 hours from now. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by sahrf 6 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#607483

I am trying to: I am trying to to display a view in my shortcode function on that already have an view on it
add_shortcode( 'viewer_comment', 'wppbc_viewer_comment' );
function wppbc_viewer_comment(){
echo do_shortcode('[wpv-view name="commentviewer"]');
$sid = $_REQUEST['exp'];

$args = array(
'post_type' => 'expert',
'post_id' => $sid,
'post_status' => 'publish',
'posts_per_page' => 1
);

$loop = new WP_Query($args);
$myname = get_post( $post_id )->post_title;
if ( comments_open() || get_comments_number() ) :
comments_template('', true);
endif;
echo '</div>';
}

Link to a page where the issue can be seen: Here is the link hidden link

I expected to see:

Instead, I got:

#607664

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

I took a look at the link you provided but there wasn't any error being displayed.

Were you able to resolve this issue ?

Please let me know.
Thanks,
Shane

#607689

I have to send you login detail to view it

#607779

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I'm not seeing any credentials.

Could you provide them in the forum in the private fields that will be enabled.

Thanks,
Shane

#607896

It seem to have resolved itself