HomeTekno Info

Error line 2751, charset `UTF-7′ not supported, assuming iso-8859-1

Gara-gara update wordpress ver 3.6, muncul pesan error ini :

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `UTF-7′ not supported, assuming iso-8859-1 in /home/xxxxxx/public_html/wp-includes/formatting.php on line 2751

Penampakannya ini nih :

error

Asli, berantakan banget deh… 🙁

Solusinya ternyata mudah, Edit file formating.php wabil kusus, di baris ke-2751, cukup tambahkan akeong “@” di depan kode htmlspecialchars.

Sebelum :

2751 – $ safe_text = htmlspecialchars ($ text, ENT_QUOTES, get_option (‘blog_charset’));

Tambahkan akeong sehingga menjadi gini :

2751 – $ safe_text = @htmlspecialchars ($ text, ENT_QUOTES, get_option (‘blog_charset’));

 

Simpan.

Jika setelah sobat update file formating.php ini dan masih terdapat pesan error seperti  ini, 

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `UTF-7′ not supported, assuming iso-8859-1 in /home/xxxxxx/public_html/wp-includes/formatting.php on line 2540

Maka tambahkan akeong ‘@’ didepan htmlspecialchars di line 2540 dan 2558

error2540a

menjadi :

error2540b

Semoga membantu..

 

Kejadian serupa juga terjadi ketika saya update ke wordpress versi 3.7, pesan kesalahannya begini :
Warning: htmlspecialchars() [function.htmlspecialchars]: charset `UTF-7′ not supported, assuming iso-8859-1 in /home/xxxxxx/public_html/wp-includes/formatting.php on line 2747
Solusinya, sama dengan solusi kesalahan di atas.

Comments (20)

Leave a Reply to badrun Cancel reply

Your email address will not be published. Required fields are marked *

Maaf. klik kanan kami matikan.