เมื่อ Joomla แจ้ง Warning: Parameter 1 to modMainMenuHelper::buildXML()
วันนี้มีโอกาศ เอาเว็ปไซต์ที่ทำจาก Joomla ขึ้น host ปรากฏว่าเจอ
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /xxwx/xxx/libraries/joomla/cache/handler/callback.php on line 99
ลองไปถามท่าน google ก็ได้คำตอบดังนี้
ให้เข้าไปที่ : /modules/mod_mainmenu/helper.php
แล้วหา function buildXML และแก้ไขตามข้างล่าง
function buildXML(&$params)
เป็น
function buildXML($params)
Off
27
Jul