更新到 3.6 版后,我的 wordpress 页面出现问题。我没有对代码进行任何更改,但网站现在无法运行,显示错误
Uncaught TypeError: Cannot call method 'cookie' of undefined
代码:
<head>
<link rel="stylesheet" href="http://www.ewerosinska.com/wp-content/themes/ewe/style.css" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Quicksand:400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" id="superstyle-css" href="http://www.ewerosinska.com/wp-content/themes/ewe/js/supersized.core.css" type="text/css" media="screen">
<script type="text/javascript" src="http://www.ewerosinska.com/wp-includes/js/jquery/jquery.js?ver=1.10.2"></script>
<script type="text/javascript" src="http://www.ewerosinska.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1"></script>
<script type="text/javascript" src="http://www.ewerosinska.com/wp-content/plugins/jquery-vertical-accordion-menu/js/jquery.hoverIntent.minified.js?ver=3.6"> </script>
<script type="text/javascript" src="http://www.ewerosinska.com/wp-content/plugins/jquery-vertical-accordion-menu/js/jquery.cookie.js?ver=3.6"></script>
<script type="text/javascript" src="http://www.ewerosinska.com/wp-content/plugins/jquery-vertical-accordion-menu/js/jquery.dcjqaccordion.2.9.js?ver=3.6"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.ewerosinska.com/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.ewerosinska.com/wp-includes/wlwmanifest.xml">
<meta name="generator" content="WordPress 3.6">
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
<script type="text/javascript" src="http://www.ewerosinska.com/wp-content/themes/ewe/js/supersized.3.2.7.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
if($.cookie('has_seen_palms')!='1'){
错误出现在最后一行,我的网站地址是ewerosinska.com 有谁知道要修复它吗?非常感谢伊芙琳