[ad_3]Cara Membuat Blog Gratis di Wordpress: Membuat Blog Gratis di…
WordPress update comment type cache expected to be a reference
[ad_5]Wordpress update comment type cache expected to be a reference: WordPress and PHP 5.3.x: Parameter 1 to wordpress update_comment_type_cache() expected to be a reference, value given in wp-includes/plugin.php on line 166 , pesan error ini keluar setelah server hosting upgrade php ke versi 5. Dimana website kita akan keluar pesan error:
1 2 3
Parameter 1 to update_comment_type_cache() expected to be a reference, value given in wp-includes/plugin.php on line 166
Untuk memperbaiknya, kita tinggal mengedit kode yang ada di file function.php
Cari baris sebagai berikut:
1
function update_comment_type_cache(&$queried_posts) {
Setelah itu hilangkan tanda “&“, menjadi:
1
function update_comment_type_cache($queried_posts) {
Selesai… refresh halaman index dan admin Anda. Pesan error Parameter 1 to update_comment_type_cache() expected to be a reference, value given in wp-includes/plugin.php on line 166. Tutorial Wordpress update comment type cache expected to be a reference selesai.