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.
Forgot to mention, in the duplicator file you may log in with username: temp - password: temp
Hello,
Thanks for the details, I can download the files, will update here if there is anything found.
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?
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.
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_**"
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.
Thanks for the details, I am downloading the new files, will update here soon
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
Thanks for the details, I can log into your website, will update here if there is anything found.
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
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.