2011-02-01 32 views
1

我已經通過的切線相關問題,這是一個擺搜查,但沒有精確,所以這裏有雲:WordPress的jQuery的錯誤:「遺漏的類型錯誤:不能設置爲null的屬性‘值’」

我一直(不幸的是)在WordPress上使用三種不同的jQuery插件(索引上的圖像輪播,圖片庫插件「Galleria」,Portfolio頁面,聯繫我們頁面上的自定義聯繫表7)上工作。

一些幫助,我已經能夠消除大部分它被扔我作爲一個結果,錯誤的,但我有一個最後離開現在:

Uncaught TypeError: Cannot set property 'value' of null

我拆東西因此,被稱作的header.php如下:

<link href="http://www.cypresshilldevelopment.com/wp-content/themes/CHD2/galleria.css" rel="stylesheet" type="text/css" media="screen, print"/> 

而且在footer.php那麼剩下的被稱爲:

<script type="text/javascript" src="http://www.cypresshilldevelopment.com/wp-content/themes/CHD2/galleria_wp/js/jquery.galleria.js"></script> 
<script type="text/javascript"> 
    $ = jQuery; 
    $(function(){ $('ul.gallery').galleria({tempClass: 'active', thumbnail_caption: ''}); }) 
</script> 

    <!-- script for jQuery image carousel --> 
    <script type="text/javascript" src="/wp-content/themes/CHD2/js/jquery.cycle.all.min.js"></script> 
    <script type="text/javascript" src="/wp-content/themes/CHD2/js/jquery.easing.compatibility.js"></script> 
    <script type="text/javascript" src="/wp-content/themes/CHD2/js/jquery.easing.1.3.js"></script> 

    <script type="text/javascript" src="/wp-content/themes/CHD2/js/app.js"></script> 
    <!--[if lte IE 6]> 
     <script type="text/javascript" src="supersleight-min.js"></script> 
    <![endif]--> 

我在這裏做錯了什麼?我錯誤地分解了代碼嗎?該錯誤指向代碼中的一行代碼WordPress爲定義wphc_value的值的頁面生成,但對於我而言,我一直無法在任何正在使用的php或js文件中找到對「wphc」的任何引用。

+0

這是PHP錯誤還是JavaScript錯誤?看起來像一個JavaScript錯誤,但`wphc_value`似乎與Wordpress Hashcash插件有關。 – 2011-02-02 03:05:08

回答

相關問題