Home › Toolset Professional Support › [Resolved] View stopped working suddenly
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10: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/Kolkata (GMT+05:30)
This topic contains 12 replies, has 3 voices.
Last updated by Minesh 3 months, 2 weeks ago.
Assisted by: Minesh.
I had the view working ok, but when I moved it from one column to another column (Kadence Row Layout) the page stopped working (blank page with default critical error message) and error log is full of this:
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /var/www/vhosts/kn.tyonalla.fi/httpdocs/wp-content/plugins/toolset-blocks/embedded/inc/wpv.class.php on line 2372
Hi there,
I will answer the question before this ticket is assigned to one of my colleagues.
The messages shown in the screenshot you shared are deprecation messages. That means currently they do work ok and in the future releases of PHP they might not work.
So that should not be the error message. I suggest that you test by following the steps below:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and Toolset add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
Thanks.
Hello and thank you for your reply. Yes did the steps, the issue remains. No help turning to default theme or disabling all the other plugins. Still the page is stuck and I can't even go to revisions and step back.
Can you please share problem URL where I can see the issue and exact steps I will have to follow to see the issue as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
This seems to be not simple.
I even tried deleted the page content from database itself (later restored it) and still page is not loading in either backend or frontend.
Can you please send me duplicator copy of your site.
More info:
=> https://toolset.com/faq/provide-supporters-copy-site/
I have set the next reply to private which means only you and I have access to it.
installer
hidden link
archive
hidden link
When I try to download duplicator archive its corrupted and its only 1kb size.
Can you please send me working correct duplicator package.
I have set the next reply to private which means only you and I have access to it.
Still - its not working. I could not download the zip archive file and it shows message "file was't available on site.".
Can you please try to create brand new duplicator package and send me link to download or if you agree I will try to create duplicator package from your site and download it.
I have set the next reply to private which means only you and I have access to it.
Just to confirm, you got the package?
Just to confirm, did you get the package?
This was an amazing issue.
*** Please make a FULL BACKUP of your database and website.***
The view you are using on the page " "Ota yhteyttä"" is following and this view is legacy view you are displaying using view block:
- hidden link
[wpv-layout-start][wpv-items-found]<!-- wpv-loop-start --><div class="js-wpv-loop-wrapper"><wpv-loop><div class="wp-block-toolset-views-view-template-block wpv-block-loop-item php-to-be-replaced-with-shortcode" data-toolset-views-view-template-block="1"><!-- wp:toolset-blocks/heading {"style":{"margin":{"enabled":true,"marginTop":"10px","marginBottom":"0px"},"padding":{"enabled":true,"paddingTop":"0px","paddingBottom":"0px"},"display":true},"dynamic":{"content":{"isActive":true,"provider":"__current_post","source":"post-title-with-link"},"toolsetDSVersion":"257000"},"level":4} --> [tb-dynamic-container provider='__current_post' source='post-title-with-link' field='']<h4 class="tb-heading" data-toolset-blocks-heading="1" data-last-update="1.4">[tb-dynamic provider='__current_post' post='current' source='post-title-with-link' force-string='first' ]</h4>[/tb-dynamic-container] <!-- /wp:toolset-blocks/heading --> <!-- wp:toolset-blocks/field {"style":{"margin":{"enabled":true,"marginTop":"0px","marginBottom":"0px"},"padding":{"enabled":true,"paddingTop":"0px","paddingBottom":"0px"},"display":true},"customField":{"label":"Titteli","value":"titteli","categories":["text","embed"],"type":"textfield","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"fieldType":"standard","postProvider":{"value":"__current_post","label":"Current Opettaja"},"toolsetField":{"label":"Titteli","value":"titteli","categories":["text","embed"],"type":"textfield","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"toolsetFieldGroup":"toolset_custom_field|opettajat","toolsetShortcode":"[types field='titteli'][/types]"} --> <div class="tb-field" data-toolset-blocks-field="1" data-last-update="1.4">[types field='titteli'][/types]</div> <!-- /wp:toolset-blocks/field --> <!-- wp:toolset-blocks/field {"style":{"margin":{"enabled":true,"marginTop":"0px","marginBottom":"0px"},"padding":{"enabled":true,"paddingTop":"0px","paddingBottom":"0px"},"display":true},"customField":{"label":"Sähköpostiosoite","value":"sahkopostiosoite","categories":["text"],"type":"email","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"fieldType":"standard","postProvider":{"value":"__current_post","label":"Current Opettaja"},"toolsetField":{"label":"Sähköpostiosoite","value":"sahkopostiosoite","categories":["text"],"type":"email","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"toolsetFieldGroup":"toolset_custom_field|opettajat","toolsetShortcode":"[types field='sahkopostiosoite' output='normal' ][/types]"} --> <div class="tb-field" data-toolset-blocks-field="1" data-last-update="1.4">[types field='sahkopostiosoite' output='normal' ][/types]</div> <!-- /wp:toolset-blocks/field --> <!-- wp:toolset-blocks/field {"style":{"margin":{"enabled":true,"marginTop":"0px","marginBottom":"0px"},"padding":{"enabled":true,"paddingTop":"0px","paddingBottom":"0px"},"display":true},"customField":{"label":"Puhelinnumero","value":"puhelinnumero","categories":["text","embed"],"type":"textfield","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"fieldType":"standard","postProvider":{"value":"__current_post","label":"Current Opettaja"},"toolsetField":{"label":"Puhelinnumero","value":"puhelinnumero","categories":["text","embed"],"type":"textfield","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"toolsetFieldGroup":"toolset_custom_field|opettajat","toolsetShortcode":"[types field='puhelinnumero'][/types]"} --> <div class="tb-field" data-toolset-blocks-field="1" data-last-update="1.4">[types field='puhelinnumero'][/types]</div> <!-- /wp:toolset-blocks/field --> <!-- wp:toolset-views/view-editor {"reduxStoreId":"views-editor-1722598321522","loading":true,"viewId":563,"viewSlug":"yhteydenottosivun-opettajien-ryhmat","wizardDone":true,"view":{"ID":"563","post_title":"Yhteydenottosivun opettajien ryhmät","post_name":"yhteydenottosivun-opettajien-ryhmat"},"viewName":"Yhteydenottosivun opettajien ryhmät"} --> <div class="wp-block-toolset-views-view-editor wpv-gutenberg-view-wrapper-563">[wpv-view name="yhteydenottosivun-opettajien-ryhmat"]</div> <!-- /wp:toolset-views/view-editor --> <!-- wp:details --> <details class="wp-block-details"><summary>Lisätiedot</summary><!-- wp:toolset-blocks/image {"dynamic":{"url":{"isActive":true,"provider":"__current_post","source":"media-featured-image-data"},"toolsetDSVersion":"257000"},"url":"","alt":{},"id":null} --> [tb-dynamic-container provider='__current_post' source='media-featured-image-data' field='' removeDeadLinkTarget="true"]<figure class="wp-block-image tb-image tb-image-dynamic tb-image-frame-none" data-toolset-blocks-image="1"><img src="[tb-dynamic provider='__current_post' post='current' source='media-featured-image-data' size='large' force-string='first' ]"/></figure>[/tb-dynamic-container] <!-- /wp:toolset-blocks/image --> <!-- wp:toolset-blocks/field {"modifiedContent":null,"customField":{"label":"Esittelyteksti","value":"esittelyteksti","categories":["text","html"],"type":"wysiwyg","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"customPost":null,"fieldType":"standard","postField":null,"postProvider":{"value":"__current_post","label":"Current Opettaja"},"standardField":null,"taxonomy":null,"toolsetField":{"label":"Esittelyteksti","value":"esittelyteksti","categories":["text","html"],"type":"wysiwyg","fieldOptions":null,"is_repetitive":false,"is_created_by_types":true},"toolsetFieldGroup":"toolset_custom_field|opettajat","toolsetFieldSettings":null,"toolsetShortcode":"[types field='esittelyteksti' output='normal' suppress_filters='false'][/types]"} --> <div class="tb-field" data-toolset-blocks-field="1" data-last-update="1.4">[types field='esittelyteksti' output='normal' suppress_filters='false'][/types]</div> <!-- /wp:toolset-blocks/field --></details> <!-- /wp:details --></div></wpv-loop></div><!-- wpv-loop-end -->[/wpv-items-found][wpv-no-items-found][wpml-string context="wpv-views"]No items found[/wpml-string][/wpv-no-items-found][wpv-layout-end]
How you build this view is not recommended at all.
If you want to use blocks with this view you should click on button "Loop Wizard" and build the view loop using blocks. So here are the steps you will have to follow:
- Correct the following view's "Loop Editor", build it from scratch:
=> hidden link
Please check the following Docs how you can build the above view loop:
=> https://toolset.com/documentation/legacy-features/views-plugin/view-layouts-101/
=> https://toolset.com/documentation/legacy-features/views-plugin/
- Deactivate the Toolset Blocks plugin
- open the problem page in backend:
=> hidden link
- delete the view block you added to 2nd column and save the page
- Activate the Toolset Blocks plugin
- add the view block again to 2nd column and select your desired view and save the page
I hope the above steps will help you to resolve your issue.
Ok, thank you. What I needed couldn't be done (IMHO) with only blocks. So I nested inside the view block a legacy view. Can't insert inside a view block a view shortcode - should be all legacy view, right?
Yes - using Block view you should not use nested views.