Skip Navigation

[Resolved] Javascript error from Types loading on Edit Page screen

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.

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 2 replies, has 2 voices.

Last updated by Michelle Dodd 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1402205
Screen Shot 2019-12-08 at 10.29.14 AM.png

I'm using Toolset types and views to build out a custom site that also uses Divi. My edit page screens are extremely slow and buggy, and the console shows an Uncaught TypeError:

Uncaught TypeError: Cannot read property 'getCurrentPostId' of null

I'll attach a screen shot to show the whole thing. The error is in JS loading from /types/ plugin.

#1402481

Hello,

It is a known issue of current version of Types plugin 3.3.7, see our errata:
https://toolset.com/errata/when-using-classic-editor-on-posts-toolset-types-produces-javascript-errors/

It is fixed in Types plugin 3.3.8, which is under QA status, will be released soon(maybe today later with new version of Views plugin), or you can try to download it from:
hidden link

#1403053

Thanks for the update, hopefully that will fix it. Was also wondering about timing for the new Views release. Anxious about being in the middle of a new project with that, but hoping for the best.

cheers,
Michelle