Skip Navigation

[Resolved] Admin – ReferenceError Jquery

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.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 1 year, 10 months ago.

Author
Posts
#2689450
Capture d’écran 2024-03-25 à 10.48.42.png
Capture d’écran 2024-03-25 à 10.48.19.png

When I try to modify a custom field or a relationship, I see a loading bar that rotates in a vacuum.
When I try to modify a view, I can't save it.

There seems to be a problem with the toolset Jquery connection because in the console I see :
Uncaught ReferenceError: jQuery is not defined at admin.php?page=toolset-dashboard:1496:1

I tried to:
reinstall wordpress
reinstall PHP
reinstall toolset Types & views
Disconnect all plugin except toolset

Wordpress 6.4.3
PHP 8.3

Installed Plugin all up to date
— Toolset Types & Views
— WooCommerce
— WooCommerce PayPal Payments
— Simple Custom Post Order

#2689466

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

jQuery is bundled with WordPress—and Toolset depends upon it—so to see errors reporting that it is unavailable suggests that something is disabling it.

Can you check with only Types active, and switch to a default theme, like twentytwentyone?

Also, I note you are using a very current version of PHP (8.3.3), and I would recommend using a version that is not quite so leading edge.

WordPress itself only declares beta support for PHP 8.3. Toolset should work well with versions up to 8.2; PHP 8.3 isn't formally tested yet.

#2689479

Hi Nigel,

Thank you for your quick intervention. I was able to understand that the problem came from a code that I added to function.php in order to remove all the automatic scripts from wordpress. I didn't think jquery was one of them. Everything is in order now.
Thanks again