Strict Standards: Non-static method ... should not be called sta
งงใช่มั้ย ไปดูตัวอย่างกันเลย
class gcms {
    public function functionName() {
    }
}โค้ดด้านบน เป็น class gcms ที่สร้างไว้ครับ และเรียกใช้ class แบบนี้
$result = gcms::functionName();จะเกิด Error Strict Standards: Non-static method ... should not be called statically in ... on line ...
class gcms {
    public static function functionName() {
    }
}การแก้ไขให้ใส่คีย์เวอร์ด static ลงไปในชื่อฟังก์ชั่นด้วยครับ แค่นี้ก็หายแล้ว