Skip Navigation

[Resolved] Bug in Toolset Layouts

This thread is resolved. Here is a description of the problem and solution.

Problem:
When inserting Views into grids of cells in a Layout there is a problem with the markup, an unclosed div which is breaking things.

Solution:
Removing the Views one-by-one made it possible to identify which View was adding an unclosed div, which could then be closely inspected to resolve where. (Recreating the View fixed the issue.)

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

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 6 replies, has 2 voices.

Last updated by martinH-10 5 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1299353
2019-07-24_12-07-45.png
2019-07-24_12-08-32.png

Hi, I have found a strage bug.

I am using the layouts for building my pages. And there is problem, that they do not close the DIV when grid of cells is used. I dont know why.

Also the website is running so slow with bery big scripts and I can not understand why. I have recently build big listing site which works pretty fast and it is the same config...

#1299389

Do you want duplicator package of site?

#1299433

hey? are you there?

#1299583

Nigel
Supporter

Languages: English (English ) Spanish (Español )

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

I set up a local test using grids of cells and I couldn't reproduce the problem, all of the generated markup was correctly formed, with divs correctly closed.

Looking at the screenshots you shared I see that the problem grid of cells contains several Views.

I would say that the most likely cause is a problem with the markup output by an individual View rather than by the Layout itself.

I suggest you try deleting each of the Views one-by-one to see if you can isolate which View is missing a closing div from its markup. If you think you have isolated the problem View you should be able to insert that View on its own into a page and check the markup to verify there is a missing closing div, in which case it is a question of examining the View markup to see where the problem is.

If you find the problem View but can't identify why, let me know and I will take a look.

#1299655

I was looking inside the views, but i didnt found any unclosed div. I will try the deletion but i dont think it helps.

#1299691

Nigel
Supporter

Languages: English (English ) Spanish (Español )

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

It can be difficult to spot how or why an extra div appears, so deleting the Views cells individually would help determine whether that is the problem or not, so let me know what you find, and I'll be happy to jump in and help when you've done that.

#1299711

My issue is resolved now. Thank you! I recreated views completely and it works now.