Deprecated: Assigning the return value of new by reference is deprecated in /var/www/html/index.php on line 8Cách xử lý như sau, bạn hãy mở file lỗi ra, tìm đến dòng nó báo warning, ở đây là:
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/html/includes/dbconnect.php on line 4
- index.php on line 8
- dbconnect.php on line 4
tìm dòng có cấu trúc như (thủ thuật: hãy tìm những dòng có ký tự "&"):
Code:
$tên_biến = & new abc;
Bạn bỏ kí tự "&" đi là hết lỗi thôi.
Chúc bạn thành công.