Update: đã khắc phục được lỗi, set PHP version của hosting về 5.6 (site mình bị lỗi ở php 7.2).
-------
Site của em chỉ dùng module shops mặc định, thời gian gần đây bị lỗi trang trắng khi vào chi tiết 1 sản phẩm bất kỳ, các trang danh mục sản phẩm không bị, trang chủ cũng không bị.
Error_log:
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.input_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 15]
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.internal_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 16]
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.output_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 17]
[Thu, 06 Jun 2019 00:35:35 +0700] [42.116.121.151] [Error(1): Uncaught Error: [] operator not supported for strings in /home/tmcrackv/phukienturack.com/modules/shops/funcs/detail.php:196
Stack trace:
#0 /home/tmcrackv/phukienturack.com/index.php(273): require()
#1 {main}
thrown] [FILE: /modules/shops/funcs/detail.php] [LINE: 196]
[Thu, 06 Jun 2019 00:35:39 +0700] [42.116.121.151] [Warning(2): Use of undefined constant NV_BASE_SITEURL - assumed 'NV_BASE_SITEURL' (this will throw an Error in a future version of PHP)] [FILE: /includes/functions.php] [LINE: 1604]
[Thu, 06 Jun 2019 00:36:13 +0700] [42.116.121.151] [Run-time notices(8192): The each() function is deprecated. This message will be suppressed on further calls] [FILE: /modules/shops/admin/items.php] [LINE: 388]
-------
Site của em chỉ dùng module shops mặc định, thời gian gần đây bị lỗi trang trắng khi vào chi tiết 1 sản phẩm bất kỳ, các trang danh mục sản phẩm không bị, trang chủ cũng không bị.
Error_log:
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.input_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 15]
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.internal_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 16]
[Thu, 06 Jun 2019 00:35:20 +0700] [42.116.121.151] [Run-time notices(8192): iconv_set_encoding(): Use of iconv.output_encoding is deprecated] [FILE: /includes/utf8/iconv_string_handler.php] [LINE: 17]
[Thu, 06 Jun 2019 00:35:35 +0700] [42.116.121.151] [Error(1): Uncaught Error: [] operator not supported for strings in /home/tmcrackv/phukienturack.com/modules/shops/funcs/detail.php:196
Stack trace:
#0 /home/tmcrackv/phukienturack.com/index.php(273): require()
#1 {main}
thrown] [FILE: /modules/shops/funcs/detail.php] [LINE: 196]
[Thu, 06 Jun 2019 00:35:39 +0700] [42.116.121.151] [Warning(2): Use of undefined constant NV_BASE_SITEURL - assumed 'NV_BASE_SITEURL' (this will throw an Error in a future version of PHP)] [FILE: /includes/functions.php] [LINE: 1604]
[Thu, 06 Jun 2019 00:36:13 +0700] [42.116.121.151] [Run-time notices(8192): The each() function is deprecated. This message will be suppressed on further calls] [FILE: /modules/shops/admin/items.php] [LINE: 388]