Skip Navigation

[Resolved] Gutenberg problem

This support ticket is created 5 years 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
- 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/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by martinH-10 5 years ago.

Assisted by: Waqar.

Author
Posts
#1371293

I have built my website and it started showing this:

,− Kč ) {
styleTmp[0].parentNode.removeChild( styleTmp[0] );
}
var scriptTmp = document.getElementsByClassName( ‚toolset-blocks-script-tmp‘ );
while( scriptTmp[0] ) {
scriptTmp[0].parentNode.removeChild( scriptTmp[0] );
}

58″] s DPH

What does this mean? Looks like some collision with my shortcodes..

#1371325

Hi Martin,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this error/warning, I'll recommend the following steps:

1. Please make sure WordPress, active theme and all plugins are updated to their latest versions.

2. To narrow down to a possible conflict, you can create a full backup copy of your website and then temporarily switch to a default theme like Twenty Nineteen and disable all non-Toolset plugins.

If the issue is fixed, you can start activating the disabled items, one-by-one.

3. In case the issue still persists, you're welcome to share temporary admin login details, along with the link to a page, where this error/warning can be seen.

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1371375

I am using content template inside this shortcode:

[format_money price="[wpv-post-body view_template="vypocet-dph"]"]

I found it here: https://toolset.com/forums/topic/transforming-content-in-number-field-as-price/

And in the content template I use:

[wpv-conditional if="( $(wpcf-dph) eq '21' )"][calculate]1.21*[types field="cena-bez-dph"][/types][/calculate][/wpv-conditional]
[wpv-conditional if="( $(wpcf-dph) eq '15' )"][calculate]1.15*[types field="cena-bez-dph"][/types][/calculate][/wpv-conditional]

I added [calculate] to 3rd party shortcodes in the toolset settings.

It works normally when I disable the [format_money price]

Can you help?

#1371887

Hi Martin,

Have you tried to use the "format_money price" shortcode inside the conditional block, instead of using it around the whole output of the content template?

Example:


[wpv-conditional if="( $(wpcf-dph) eq '21' )"][format_money price='[calculate]1.21*[types field="cena-bez-dph"][/types][/calculate]'][/wpv-conditional]
[wpv-conditional if="( $(wpcf-dph) eq '15' )"][format_money price='[calculate]1.15*[types field="cena-bez-dph"][/types][/calculate]'][/wpv-conditional]

And the shortcode to call the content template will become:


[wpv-post-body view_template="vypocet-dph"]

This works as expected on my test website.

Note: In case the issue still persists, I'll need temporary admin login details, to see how everything is set up on your website.
( your next reply will be private )

regards,
Waqar

#1372147

Thank you, it works now. You nailed it!