Skip Navigation

[Resolved] jQuery/JavaScript errors when add new CRED form for add new post

This support ticket is created 5 years, 8 months 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 – 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 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 22 replies, has 2 voices.

Last updated by marcoR-9 5 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1277621
Schermata 2019-06-26 alle 16.37.02.png

I am trying to:
Create a new CRED Form for add a new custom post type.
I try to add "jQuery Updater" plugin and deregister old jQuery version and register update jQuery version but it doesn't work!

Instead, I got:
When I click "Finish" button in the CRED Wizard, the action fired enter in an infinite loop, and the console returns me some errors.

#1277651

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Thank you for contacting our support forum.

I would not recommend that you do this, as various plugins normally load their own versions on jQuery in their own way. Loading a global jquery would cause issues.

Is there a reason you want to do this ?

Please let me know.

Thanks,
Shane

#1277655

I need to create this CRED Form for add/edit Custom Post Types, but for these errors I can't do that.

How can I resolve this issues if my tries isn't recommended?

Thanks

#1277661

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Because as mentioned each plugin will load its own self contained version of jQuery or rely on the version of JQuery that wordpress is using.

I don't see any reason for you to want to have a newer version of jQuery added to the site. I'm sure this won't just conflict with our plugin.

However is there a reason why you want to have the jQuery Updater plugin installed?

Thanks,
Shane

#1277685

The screenshot I attach show the errors of "Toolset CRED Scaffold Editor", "WPML popover tooltip" and "editor.scaffold".
I ask to the support is there is a way to resolve this.

IMHO I think these errors are causes of an obsolete version of jQuery and I try to update it..
Any other way to resolve this errors?

#1277693

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

I'm still not sure why you would want to install a later version of jQuery on the site.

I don't think there is another way of resolving this unless you remove the plugin because of the incompatibilities .

Thanks,
Shane

#1277729

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Also it should be noted that the plugin author also posted this


Warning

If you are not familiar with beta testing, bugfixing, javascript or running bleeding edge software it`s not recommended.
I will not provide help on JavaScript and jQuery!

Thanks,
Shane

#1278137

Ok.. I remove the "jQuery Updater" plugin.
But the TOOLSET CRED errors still remain and this doesn't works anyway!

Can you help me to resolve this for work with your plugin?

Thanks.

#1278501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Sure would it be possible to gain access to the site to see exactly whats going on here.

I may need to take a copy of your site for further debugging.

Looking forward to hearing from you soon.

Thanks,
Shane

#1281031

How I can send you the access credentials?

Thanks

#1281087

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

I've enabled the private fields for the next response.

Thanks,
Shane

#1281949

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Thank you for the credentials.

I tried to find the form on the frontend but couldn't find it. Could you send a direct link to the form on the frontend ?

Also have you tried to disable the non-toolset plugins to see if this issue still remains ?

Please let me know.

Thanks,
Shane

#1282813

Hi Shane,
when I create the frontend form the jquery error appear in the console and it doesn't allow me to save it!
So.. there aren't a direct link for the frontend form created with CRED..

#1283257

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

I see you are running older versions of your plugins.

Could you perform an update on them and let me know if the issue still remains ?

Thanks,
Shane

#1283747

Yeah I'll update these plugins and I'll let you know as soon as possible.

Thank you..