after upgrade to new worpdress jquery stop working.
Uncaught TypeError: Cannot read property 'expr' of undefined
2
Uncaught TypeError: Property 'jQuery' of object [object Window] is not a function www.xxx.si:313
Uncaught TypeError: Property 'jQuery' of object [object Window] is not a function thickbox.js:18
Uncaught TypeError: undefined is not a function jquery.form.min.js:12
Uncaught TypeError: undefined is not a function scripts.js:3
Uncaught TypeError: Property 'jQuery' of object [object Window] is not a function
Uncaught TypeError: Property 'jQuery' of object [object Window] is not a function
details for example:
cannot read property 'expr' of undefined
jQuery.extend(jQuery.expr[‘:’], {
undefined is not a function scripts.js:3
$(function() {
what is wrong? how can I solve this?
EDIT:
Mat help me to find this noConflict jquery which is part of event calendar plugin
// jQuery DOM extreme protection management
$options = get_option('optionsEventsCalendar');
echo ' <script type="text/javascript">',"\n\t";
echo '// <![CDATA[',"\n\t";
echo 'var ecd = {};',"\n\t";
echo 'ecd.jq = jQuery.noConflict('.$options['jqueryextremstatus'].');',"\n\t";
echo '//]]>',"\n";
echo ' </script>',"\n";
echo "<!-- End Of Script Generated By Events-Calendar - ".EVENTSCALENDARVERS." -->\n";
Your code on http://www.mdns-maribor.si uses $.noConflict:
This will remove the
jQueryand$variables. You don’t need jQuery.noConflict unless you want to override thejQueryand$values. If you do need it wait until the rest of the code has run before calling it.