• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BUG Uncaught TypeError: $ is not a function

cybokron

New member
Messages
1
Likes
0
Points
1
#1
Hello;

We are getting the following error message. We use Yootheme PRO. The Yootheme developer support team told us that a third-party plugin would be causing the issue.

How do we solve the following problem?

Our problem

Web site URL:
Note: Please do not post the URL in the forum and do not use it.

Plugin: Woody code snippets (PHP snippets | Insert PHP) 2.4.7 (17.01.2023)

HTML:
Uncaught TypeError: $ is not a function

    at 3244.js?ver=1610971012:4:1
----

JS Code:

JavaScript:
/******* Do not edit this file *******

Woody ad snippets CSS and JS

Saved: Jan 18 2021 | 11:56:52 */

$('vs_iframe').load( function() {

    $('vs_iframe').contents().find("head")

      .append($("<style type='text/css'>  .vslink{display:none;}  </style>"));

});
 

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#2
Hi.

This is the problem of your snippet code, but not the plugin.
Replace $ with jQuery in this code