Sauter la navigation

[Fermé] Cannot create or edit custom post type

This support ticket is created Il y a 2 années. 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.

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 1 année et 12 mois.

Assisté par: Christopher Amirian.

Auteur
Publications
#2608253

Hi, when trying to create or edit a Toolset custom post type and the plugin Tickera (lien caché) is activated I get this error

Uncaught TypeError: Cannot read properties of undefined (reading 'call').  Exception occurred when checking element slug, check the 'nospecialchars' method.
    at t.validator.check (jquery.validate.min.js?ver=3.5.1.3:4:10847)
    at t.validator.checkForm (jquery.validate.min.js?ver=3.5.1.3:4:6682)
    at t.validator.form (jquery.validate.min.js?ver=3.5.1.3:4:6382)
    at HTMLFormElement.<anonymous> (jquery.validate.min.js?ver=3.5.1.3:4:1086)
    at HTMLFormElement.dispatch (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:43184)
    at y.handle (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:41168)
jquery.validate.min.js?ver=3.5.1.3:4 Uncaught TypeError: Cannot read properties of undefined (reading 'call').  Exception occurred when checking element slug, check the 'nospecialchars' method.
    at t.validator.check (jquery.validate.min.js?ver=3.5.1.3:4:10847)
    at t.validator.checkForm (jquery.validate.min.js?ver=3.5.1.3:4:6682)
    at t.validator.form (jquery.validate.min.js?ver=3.5.1.3:4:6382)
    at HTMLFormElement.<anonymous> (jquery.validate.min.js?ver=3.5.1.3:4:1086)
    at HTMLFormElement.dispatch (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:43184)
    at y.handle (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:41168)
    at Object.trigger (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:71790)
    at HTMLFormElement.<anonymous> (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:72385)
    at Function.each (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:3003)
    at e.<computed>.each (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.2.1:2:1481)

Any idea what it can be?

Thanks. Best.

#2608605

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

As we do not have any sort of integration with the plugin in question we will not be able to give a guarantee work with the conflict here.

But at least I can check the browser console to see if I can have more information. Would you please give the URL that throws the error for further investigation?

The error you pasted here seems to be originated from jquery.validate.min.js and it usually indicates that there is another JS file using a method that interferes with the normal flow of the file in question.

But I can not have more insight unless I see ethe error and maybe dig a little bit deeper.

To make sure we are on the same page, we will do our best to give you pointers on what to do next but we will not guarantee a fix as we do not have integration with the plugin in question.

Thanks.

Le sujet ‘[Fermé] Cannot create or edit custom post type’ est fermé à de nouvelles réponses.