Skip Navigation

[Closed] Error console in content template edit

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 7 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2597081

I am trying to:
Edit a content template
Link to a page where the issue can be seen:
hidden link
I expected to see:
The content template and preview diferent posts
Instead, I got:
I have a lot of errores and cannot preview post and fields.

Console log:

act-dom.min.js?ver=18.2.0:10 TypeError: Cannot read properties of undefined (reading 'value')
at p.makePreviewUrl (index.js?ver=250000:2:173726)
at p.maybeRenderPreviewLink (index.js?ver=250000:2:174046)
at p.value (index.js?ver=250000:2:177091)
at yr (react-dom.min.js?ver=18.2.0:10:59475)
at vr (react-dom.min.js?ver=18.2.0:10:59273)
at js (react-dom.min.js?ver=18.2.0:10:121697)
at kl (react-dom.min.js?ver=18.2.0:10:88654)
at yl (react-dom.min.js?ver=18.2.0:10:88582)
at vl (react-dom.min.js?ver=18.2.0:10:88445)
at cl (react-dom.min.js?ver=18.2.0:10:85602)
lr @ react-dom.min.js?ver=18.2.0:10
react-dom.min.js?ver=18.2.0:10 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
at p.makePreviewUrl (index.js?ver=250000:2:173726)
at p.maybeRenderPreviewLink (index.js?ver=250000:2:174046)
at p.value (index.js?ver=250000:2:177091)
at yr (react-dom.min.js?ver=18.2.0:10:59475)
at vr (react-dom.min.js?ver=18.2.0:10:59273)
at js (react-dom.min.js?ver=18.2.0:10:121697)
at kl (react-dom.min.js?ver=18.2.0:10:88654)
at yl (react-dom.min.js?ver=18.2.0:10:88582)
at vl (react-dom.min.js?ver=18.2.0:10:88445)
at cl (react-dom.min.js?ver=18.2.0:10:85602)
9index.js?ver=250000:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'sourceContent')
at index.js?ver=250000:2:729711
at f (admin-components.min.js?ver=6e66fd744af4a4f06c42cbf334158e7a:1:8123)
at Generator.<anonymous> (admin-components.min.js?ver=6e66fd744af4a4f06c42cbf334158e7a:1:9460)
at Generator.next (admin-components.min.js?ver=6e66fd744af4a4f06c42cbf334158e7a:1:8486)
at YM (index.js?ver=250000:2:724452)
at a (index.js?ver=250000:2:729910)
8tinymce.min.js?ver=49110-20201110:2 Uncaught Error: Node cannot be null or undefined
at Object.ir [as fromDom] (tinymce.min.js?ver=49110-20201110:2:46730)
at ip (tinymce.min.js?ver=49110-20201110:2:187777)
at tinymce.min.js?ver=49110-20201110:2:350299
at tinymce.min.js?ver=49110-20201110:2:99322
[tb-dynamic%20provider='toolset_relationship%7Ccampana-template-campana%7Cparent'%20post='current'%20source='toolset_custom_field%7Cgrupo-de-campo-para-campanas-templates'%20size='medium'%20field='campana-template-demo-imagen-1'%20force-string='first'%20]:1 Failed to load resource: the server responded with a status of 404 (Not Found)
preview-post:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
post.php:1 Uncaught (in promise) {code: 'rest_invalid_param', message: 'Invalid parameter(s): previewPostId', data: {…}}
pas.ninja/:1 Failed to load resource: the server responded with a status of 404 (Not Found)

#2597191

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I checked your staging website and none of the errors you shared are related to Toolset. I deactivated all other plugins and changed the theme but kept the Toolset plugins active and those errors you have mentioned are gone.

But besides the errors, I am not sure what is the issue in the first place? The template seems to be working ok.

Would you please give more details about the issue?

The topic ‘[Closed] Error console in content template edit’ is closed to new replies.