Skip Navigation

[Resolved] Paragraph formatting stripped with Toolset Views update

This support ticket is created 4 years, 3 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Jamal 4 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#1786713

I am trying to: Update Toolset Views from 3.2.1 to 3.3.1 on a client site. (The links here are for a staging site.)

Link to a page where the issue can be seen: hidden link (or any of the other member profiles on that site)

I expected to see: Paragraphs as they were before the update -- like they are here: hidden link

Instead, I got: Text all running together.

I also tried to view the changelog and download and older version of the plugin, but the page you link to for that (https://toolset.com/download/toolset-views/#changelog) is blank.

#1787825

Hello and thank you for contacting the Toolset support.

I tried to log in to your website to check this issue closely, but the credentials were not working for me. Please update your reply with working credentials.

I reported the issue with the Toolset Views changelog page to our system team and we'll fix it as soon as possible.

Finally, I wonder if you did not update Elementor plugins too? Maybe they are causing this issue, but I won't be sure before I check how the page is built on the Elementor editor.

#1787827

The changelog page has been resolved, you can now download previous versions of the plugin.

#1789549
#1789551

Note -- since I posted this ticket there have been Elementor & Elementor Pro updates -- those are too new/haven't applied them yet. However, if you feel that should be done to eliminate that as a possible fix/there might be a conflict, that can be done.

Edit to add: Okay, updated those 2 on a different staging site -- didn't help. I'll update them on this staging site too, though.

#1789553

My initial reply where it shows the URL to the site should not be available in a public forum -- please help make that private -- thanks.

#1789559

Went back to Views 3.3 and got this error:

Fatal error: Uncaught Error: Class 'Toolset_Relationship_Role' not found in /home/phillyc0/staging/2/wp-content/plugins/wp-views/backend/Services/Bootstrap.php:125 Stack trace: #0 /home/phillyc0/staging/2/wp-content/plugins/wp-views/application/controllers/main.php(92): OTGS\Toolset\Views\Services\Bootstrap->initialize() #1 /home/phillyc0/staging/2/wp-includes/class-wp-hook.php(287): WPV_Main->initialize_classes(Object(Toolset_Common_Bootstrap)) #2 /home/phillyc0/staging/2/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/phillyc0/staging/2/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/phillyc0/staging/2/wp-content/plugins/types/vendor/toolset/toolset-common/bootstrap.php(107): do_action('toolset_common_...', Object(Toolset_Common_Bootstrap)) #5 /home/phillyc0/staging/2/wp-content/plugins/types/vendor/toolset/toolset-common/bootstrap.php(126): Toolset_Common_Bootstrap->__construct() #6 /home/phillyc0/staging/2/wp-content/plugins/types/application/controllers/main.php(171): in /home/phillyc0/staging/2/wp-content/plugins/wp-views/backend/Services/Bootstrap.php on line 125

#1789561

Just to confirm, tried 3.3 again -- still got the error above. Tried 3.3.1 again -- still broken.

#1789563

Went back to 3.3-beta1 -- no error like that, but still broken.
Went back to 3.2.2 -- it was fine/not broken.
Meant to go to 3.2.2.1 -- did that, too and it was fine/not broken.

So looks like something introduced after 3.2.2.1 caused this.

#1790449

Thank you for your feedback and for the website credentials.

I was able to fix this issue by adding the argument suppress_filters="true" to the content template call inside of the Elementor template. Check this screenshot hidden link
Read more about this argument here https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153372

I have also unassigned the content template from the post type, as it already has an Elementor Single Page template for it. Check this screenshot hidden link

I hope this is a viable solution for you. Let me know if you have any questions.

#1793173
separate-paragraphs.png
running-together.png

Thank you Jamal. (I'm still not getting notifications for these messages, so didn't know you'd replied until I logged in here to check.)

So with this revision, is it filtering out Elementor filters (was that causing the problem)?

May I ask why this was working fine before but recently stopped working like this?

Also, it's been a while since I worked on this, and I'm new to Elementor. When you say you unassigned the content template from the post type, what does that mean? Is it still using the same Toolset template since the shortcode in the Elementor Single Page template lists it (it was calling it twice)?

Actually, I just checked this out and it doesn't seem to be working? The content is still running together instead of in separate paragraphs (see attached for how it looks and how it should look).

As noted previously, I didn't realize this support ticket would be in a public forum -- can you help with editing out the URL?

Thanks again.

#1794485

The shortcode was altered on the text mode, check this screenshot hidden link

I fixed it and it gives the expected results, check this screenshot hidden link

Content templates use the function "the_content", which uses the_content hook. When we use the argument suppress_filter="true", we instruct the content template to not use any hooks to "the_content". I assume that there was another hook added either by Elementor or another plugin that was causing this issue.

When you say you unassigned the content template from the post type, what does that mean?
Both Toolset and Elementor can use a template to render a custom post type. You had an Elementor template and a Toolset content template both configured for the custom post type. I unassigned the Toolset one, by going to the content template and changing its usage, removing the custom post type. hidden link

This thread is indeed in the public forum, but all the URLs and images are only visible for you and the Toolset support team. I hope that's what you would expect.