Joomla AS Menu 1.0.2 error: A non-numeric value encountered

  繼前一篇安裝佈景主題出現”A non-numeric value encountered”錯誤後,在安裝AS Menu這支Mod也導致出現同樣的類似的錯誤訊息—”Warning: A non-numeric value encountered in D:\xxx\modules\mod_as_menu\tmpl\styles.php on line 26″,同樣打開問題檔案styles.php來研究,試了老半天結果是因為沒加括號導致字串跟數值相加,因此只要補上括號即可解決。

錯誤訊息

把$font_size1跟2加上括弧即可

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.