Home › Toolset Professional Support › [Resolved] Javascript Message 'Missing script for creating a new template.
Problem:
The customer reported an issue where, when opening a post for editing in two of their custom post types, they receive a message: "Missing script for creating a new template. Not able to create one." This message only appears when the editor section is disabled for those post types. The other two custom post types are functioning normally without this message.
Solution:
We attempted to recreate the issue on a fresh WordPress installation with Toolset, but we could not replicate the error, even with the editor disabled. We suggested that the issue might be caused by another plugin or a custom function in the theme. We recommended the customer test with all non-Toolset plugins disabled and a default theme. The customer found a workaround by enabling the editor and then hiding it in the Admin interface. The customer decided to monitor the situation and indicated they might open another ticket if further assistance is needed.
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 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Sao_Paulo (GMT-03:00)
Tagged: Setting up custom types, Types plugin
Related documentation:
This topic contains 1 reply, has 2 voices.
Last updated by Mateus Getulio 2 months, 4 weeks ago.
Assisted by: Mateus Getulio.
Hello
on my dev site new.fischerin.ch I have four custom post types. When I open one of the post for editing I get the following message:
Missing script for creating a new template. Not able to create one.
I can close the message and edit the post normally but I have no idea why I get this message and how to fix this issue. This happens only with two of the four posttypes, the other two are working normally.
UPDATE: I found the reason for the message. If in the posttype the editoe section is diabled ( see screenshot SS_000419 attached) then the message is shown. As soon as I enable also the editor field then the message disappears.
Regards Peter
Hello Peter,
I tried recreating this issue in a fresh copy of WordPress + Toolset but even if I disable the editor I'm unable to see the error when I edit/add a post from that CPT.
The warning message as well doesn't look like the ones from Toolset, is it possible that another plugin or a custom function in the theme could be causing the warning?
Were you able to test this issue with all non-Toolset plugins disabled and a default theme like twenty twenty four for example?
If it still happens, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.
Hi Mateus,
thank you for your fast reply. I will check this out in the next days. So far I found a workaround by enabling the Editor and then hiding it in the Admin interface. If I still need assitance in this I will open another ticket.
Best regards Peter