Skip Navigation

[Resolved] View not rendering properly

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

Problem:

I encounter the following problems a page with a post View:
https://toolset.com/forums/topic/view-not-rendering-properly/#post-1415245

Solution:

The post view is broken, you can create another new page with new view block, and test again.

Relevant Documentation:

This support ticket is created 5 years, 1 month 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: Asia/Hong_Kong (GMT+08:00)

This topic contains 11 replies, has 2 voices.

Last updated by rensD 5 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1415245

I am trying to get my view made with Blocks to render properly. It looks good in the page builder (WordPress, Blocks), but it doesn't work in the front end. I encounter the following problems:
Page: Post View
- The filter label doesn't apply it's margin
- The images in the looped container are not applying a rounded border
- The looped container style is not rendering in the front end. Sometimes in only renders once pagination starts
- The rating block is not rendering
- The title is not being centered
- The pagination spinner is sometimes not showing, making it very unclear if it's loading new items
- I can't find where the big margins between the posts are coming from. They should be 2*7.5=15px, but look more like double that
- To add to the frustration, the editor becomes incredibly slow when adding or dragging blocks, trying to update the page, or changing block settings.

Page: Form View
Half the form items are not rendering using the Elementor Toolset Form element, it just outputs shorcode in the Elementor editor and it outputs nothing in the front end.

I am building on a xampp localhost
I have tried switching to the default WordPress theme and I disabled all non-toolset plugins to see if it makes it work. So far, no positive results.

#1415549

Forgot to mention, in the duplicator file you may log in with username: temp - password: temp

#1415997

Hello,

Thanks for the details, I can download the files, will update here if there is anything found.

#1416057

I have tried to install the duplicator package you provided in my localhost lots of time, but after installation, I get MYSQL errors:
Error establishing a database connection

This does not happens when I use duplicator packages from other clients, did you ever change(hack) WordPress core files in your website?

#1416067

There are two sets of tables in your website databases:
- wp_mcq73c_**
- wp_

Which one is for problem website?
I need to install the sites manually.

#1416085

Hi Luo, thanks for helping.

"This does not happens when I use duplicator packages from other clients, did you ever change(hack) WordPress core files in your website?"
Not that I am aware of.

I checked, it should be "wp_mcq73c_**"

#1416695

I have build another duplicator file excluding all the non wp_mcq73c_ tables.
I have uploaded it in the Drive folder linked with this issue.
Additionally, I exported the database of the website and uploaded it in drive, so it can be imported into MySQL directly. The username should be root and the password field is empty.

#1417677

Thanks for the details, I am downloading the new files, will update here soon

#1417987

The new duplicator package you provide is not valid, same problem:
Error establishing a database connection

Can you test and confirm it in your localhost?
Toolset_Troubleshoot_2_11db98082ef0ae545608_20191219152041_archive.zip

The database dump file is not valid too, I get these Mysql error when import it:

17:16:37	ALTER TABLE `wp_mcq73c_options`   ADD PRIMARY KEY (`option_id`),   ADD UNIQUE KEY `option_name` (`option_name`),   ADD KEY `autoload` (`autoload`)	Error Code: 1062. Duplicate entry 'mwp_communication_keys' for key 'option_name'	0.313 sec

Please check it, if you need more assistance for it, please provide a test site with the same problem, fill below private message box website credentials. thanks

#1418631
#1421189

Thanks for the details, I can log into your website, will update here if there is anything found.

#1421415

Here are what I found, I can see the problems in your website, but I have tried the same settings in my localhost host, so it should be an exception of your website, the post view is broken. So I have done below modifications in your website:
1) Create a new page, insert a post view, using similar settings as your one:
hidden link

2) Tested it in front-end, I can see it works fine:
hidden link

For the "rating block" issue:
I have edited the post:
hidden link
Setup value in field "Star Rating" and "Difficulty", test in front-end, it works fine, see the same URL I mentioned above:
hidden link

#1421563

Not sure where the other view broke... As I recreated it in the live website instead of copying it from the localhost, it still resulted in the same issue. While after applying the same settings to the view you made, it still works. So I don't understand the solution, but it is resolved.