Ask penyebab eror wordpress 4.5


Status
Not open for further replies.

mustafaramadhan

Hosting Guru
Semua WP yang saya kelola sudah pakai 4.5. Tidak ada error.

Jadi, kalau ada warning di WP, kesalahan ada di php module.

Ini contoh php module untuk php 5.4 di Kloxo-MR:
Code:
> dir -l /opt/php54m/etc/php.d
total 364
-rw-r--r-- 1 root root  3069 Jan 27 08:35 apc.nonini
-rw-r--r-- 1 root root  1695 Jan 27 08:35 apcu_used.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 bcmath.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 bz2.ini
-rw-r--r-- 1 root root    57 Oct 16  2015 calendar.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 ctype.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 curl.ini
-rw-r--r-- 1 root root    47 Jan 27 08:35 dba.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 dom.ini
-rw-r--r-- 1 root root    55 Jan 27 08:35 enchant.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 exif.ini
-rw-r--r-- 1 root root    57 Oct 16  2015 fileinfo.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 ftp.ini
-rw-r--r-- 1 root root    45 Oct 16  2015 gd.ini
-rw-r--r-- 1 root root    57 Jun 21  2014 gearman.ini
-rw-r--r-- 1 root root    51 May 29  2015 geoip.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 gettext.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 gmp.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 iconv.ini
-rw-r--r-- 1 root root   293 Sep 13  2014 igbinary.ini
-rw-rw-r-- 1 root root    55 Jan 27 08:35 imagick.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 imap.ini
-rw-r--r-- 1 root root    59 Jan 27 08:35 interbase.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 intl.ini
-rw-r--r-- 1 root root   279 May 24  2015 ioncube-loader_used.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 json.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 ldap.ini
-rw-r--r-- 1 root root    47 May 29  2015 lzf.nonini
-rw-r--r-- 1 root root    57 Oct 16  2015 mbstring.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 mcrypt.ini
-rw-r--r-- 1 root root  1329 Jan 27 08:35 memcache.nonini
-rw-r--r-- 1 root root   297 May 29  2015 memcached.nonini
-rw-r--r-- 1 root root  1185 May 29  2015 mongo.nonini
-rw-r--r-- 1 root root    51 Jan 27 08:35 mssql.nonini
-rw-r--r-- 1 root root    51 Oct 16  2015 mysql.nonini
-rw-r--r-- 1 root root    53 Oct 16  2015 mysqli.nonini
-rw-r--r-- 1 root root    55 Jan 27 08:35 mysqlnd.ini
-rw-r--r-- 1 root root  1484 Jan 27 08:35 mysqlnd_ms.ini
-rw-r--r-- 1 root root    67 Jan 27 08:35 mysqlnd_mysql.ini
-rw-r--r-- 1 root root    69 Jan 27 08:35 mysqlnd_mysqli.ini
-rw-r--r-- 1 root root    49 Jan 27 08:35 odbc.nonini
-rw-r--r-- 1 root root   645 Aug 27  2014 opcache-default.blacklist
-rw-r--r-- 1 root root  3546 Jan 27 08:35 opcache.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 pdo.ini
-rw-r--r-- 1 root root    59 Jan 27 08:35 pdo_dblib.nonini
-rw-r--r-- 1 root root    65 Jan 27 08:35 pdo_firebird.nonini
-rw-r--r-- 1 root root    59 Oct 16  2015 pdo_mysql.nonini
-rw-r--r-- 1 root root    63 Jan 27 08:35 pdo_mysqlnd.ini
-rw-r--r-- 1 root root    57 Jan 27 08:35 pdo_odbc.nonini
-rw-r--r-- 1 root root    59 Jan 27 08:35 pdo_pgsql.nonini
-rw-r--r-- 1 root root    61 Oct 16  2015 pdo_sqlite.ini
-rw-r--r-- 1 root root    51 Jan 27 08:35 pgsql.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 phar.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 posix.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 pspell.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 recode.ini
-rw-r--r-- 1 root root   290 Jan 27 08:35 redis.nonini
-rw-r--r-- 1 root root    51 Oct 16  2015 shmop.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 simplexml.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 snmp.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 soap.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sockets.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sqlite3.ini
-rw-r--r-- 1 root root 43806 May 29  2015 suhosin.nonini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvmsg.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvsem.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvshm.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 tidy.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 tokenizer.ini
-rw-r--r-- 1 root root    49 May 29  2015 wddx.nonini
-rw-r--r-- 1 root root  1117 May 29  2015 xcache.nonini
-rw-r--r-- 1 root root    92 Jan 27 08:35 xdebug.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 xml.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 xml_wddx.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 xmlreader.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 xmlrpc.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 xmlwriter.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 xsl.ini
-rw-r--r-- 1 root root  4587 Oct  9  2014 z-memcached.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 zip.ini
 

DraCoola

Expert 1.0
kemaren bantuin upgrade 4.5 trus kena warning message kalo fungsi "wp_get_currentuserinfo()" deprecated
yang bikin saia herman tuh yg dianggap deprecated justru ada di daleman file wordpress sendiri :

------------------------------------------------------
wp-includes/user.php
wp-includes/wp-db.php
wp-includes/pluggable.php
------------------------------------------------------

coba² replace folder wp-includes bulet² dari installer wordpress45 tulen juga tetep ndak bergeming.
bahkan replace juga foler wp-admin utuh, sama aja tetep muncul warning message yg sama.
akirnya saia coba :

Code:
grep -Rl get_currentuserinfo > anu

ketemu semua deh yg mengandung "get_currentuserinfo" dikumpulin list nya di dalem file anu
termasuk yg ada di dalemnya file plugin dan theme.
setelah itu replace smua file di dalem list anu pake fungsi baru yg diminta wordpress :

Code:
xargs replace 'get_currentuserinfo' 'wp_get_current_user' -- < anu

sembuh seketika :64:

brati team wordpress spertinya lupa ngganti fungsi get_currentuserinfo di installer mreka ndiri.
moga aja hari ini dah di replace.
 

GPLHosting

Hosting Guru
kemaren bantuin upgrade 4.5 trus kena warning message kalo fungsi "wp_get_currentuserinfo()" deprecated
yang bikin saia herman tuh yg dianggap deprecated justru ada di daleman file wordpress sendiri :

------------------------------------------------------
wp-includes/user.php
wp-includes/wp-db.php
wp-includes/pluggable.php
------------------------------------------------------

coba² replace folder wp-includes bulet² dari installer wordpress45 tulen juga tetep ndak bergeming.
bahkan replace juga foler wp-admin utuh, sama aja tetep muncul warning message yg sama.
akirnya saia coba :

Code:
grep -Rl get_currentuserinfo > anu

ketemu semua deh yg mengandung "get_currentuserinfo" dikumpulin list nya di dalem file anu
termasuk yg ada di dalemnya file plugin dan theme.
setelah itu replace smua file di dalem list anu pake fungsi baru yg diminta wordpress :

Code:
xargs replace 'get_currentuserinfo' 'wp_get_current_user' -- < anu

sembuh seketika :64:

brati team wordpress spertinya lupa ngganti fungsi get_currentuserinfo di installer mreka ndiri.
moga aja hari ini dah di replace.

Tumben ga pake ejaan lama Om ... lumayan ga bikin puyeng bacanya ... :D

Team wordpress lupa replace get_currentuserinfo,
Om @DraCoola lupa sm ejaan lamanya .. Xixixi :D
 

MyhostingID

Poster 2.0
Semua WP yang saya kelola sudah pakai 4.5. Tidak ada error.

Jadi, kalau ada warning di WP, kesalahan ada di php module.

Ini contoh php module untuk php 5.4 di Kloxo-MR:
Code:
> dir -l /opt/php54m/etc/php.d
total 364
-rw-r--r-- 1 root root  3069 Jan 27 08:35 apc.nonini
-rw-r--r-- 1 root root  1695 Jan 27 08:35 apcu_used.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 bcmath.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 bz2.ini
-rw-r--r-- 1 root root    57 Oct 16  2015 calendar.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 ctype.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 curl.ini
-rw-r--r-- 1 root root    47 Jan 27 08:35 dba.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 dom.ini
-rw-r--r-- 1 root root    55 Jan 27 08:35 enchant.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 exif.ini
-rw-r--r-- 1 root root    57 Oct 16  2015 fileinfo.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 ftp.ini
-rw-r--r-- 1 root root    45 Oct 16  2015 gd.ini
-rw-r--r-- 1 root root    57 Jun 21  2014 gearman.ini
-rw-r--r-- 1 root root    51 May 29  2015 geoip.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 gettext.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 gmp.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 iconv.ini
-rw-r--r-- 1 root root   293 Sep 13  2014 igbinary.ini
-rw-rw-r-- 1 root root    55 Jan 27 08:35 imagick.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 imap.ini
-rw-r--r-- 1 root root    59 Jan 27 08:35 interbase.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 intl.ini
-rw-r--r-- 1 root root   279 May 24  2015 ioncube-loader_used.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 json.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 ldap.ini
-rw-r--r-- 1 root root    47 May 29  2015 lzf.nonini
-rw-r--r-- 1 root root    57 Oct 16  2015 mbstring.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 mcrypt.ini
-rw-r--r-- 1 root root  1329 Jan 27 08:35 memcache.nonini
-rw-r--r-- 1 root root   297 May 29  2015 memcached.nonini
-rw-r--r-- 1 root root  1185 May 29  2015 mongo.nonini
-rw-r--r-- 1 root root    51 Jan 27 08:35 mssql.nonini
-rw-r--r-- 1 root root    51 Oct 16  2015 mysql.nonini
-rw-r--r-- 1 root root    53 Oct 16  2015 mysqli.nonini
-rw-r--r-- 1 root root    55 Jan 27 08:35 mysqlnd.ini
-rw-r--r-- 1 root root  1484 Jan 27 08:35 mysqlnd_ms.ini
-rw-r--r-- 1 root root    67 Jan 27 08:35 mysqlnd_mysql.ini
-rw-r--r-- 1 root root    69 Jan 27 08:35 mysqlnd_mysqli.ini
-rw-r--r-- 1 root root    49 Jan 27 08:35 odbc.nonini
-rw-r--r-- 1 root root   645 Aug 27  2014 opcache-default.blacklist
-rw-r--r-- 1 root root  3546 Jan 27 08:35 opcache.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 pdo.ini
-rw-r--r-- 1 root root    59 Jan 27 08:35 pdo_dblib.nonini
-rw-r--r-- 1 root root    65 Jan 27 08:35 pdo_firebird.nonini
-rw-r--r-- 1 root root    59 Oct 16  2015 pdo_mysql.nonini
-rw-r--r-- 1 root root    63 Jan 27 08:35 pdo_mysqlnd.ini
-rw-r--r-- 1 root root    57 Jan 27 08:35 pdo_odbc.nonini
-rw-r--r-- 1 root root    59 Jan 27 08:35 pdo_pgsql.nonini
-rw-r--r-- 1 root root    61 Oct 16  2015 pdo_sqlite.ini
-rw-r--r-- 1 root root    51 Jan 27 08:35 pgsql.nonini
-rw-r--r-- 1 root root    49 Oct 16  2015 phar.ini
-rw-r--r-- 1 root root    51 Oct 16  2015 posix.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 pspell.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 recode.ini
-rw-r--r-- 1 root root   290 Jan 27 08:35 redis.nonini
-rw-r--r-- 1 root root    51 Oct 16  2015 shmop.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 simplexml.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 snmp.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 soap.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sockets.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sqlite3.ini
-rw-r--r-- 1 root root 43806 May 29  2015 suhosin.nonini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvmsg.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvsem.ini
-rw-r--r-- 1 root root    55 Oct 16  2015 sysvshm.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 tidy.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 tokenizer.ini
-rw-r--r-- 1 root root    49 May 29  2015 wddx.nonini
-rw-r--r-- 1 root root  1117 May 29  2015 xcache.nonini
-rw-r--r-- 1 root root    92 Jan 27 08:35 xdebug.nonini
-rw-r--r-- 1 root root    47 Oct 16  2015 xml.ini
-rw-r--r-- 1 root root    49 Oct 16  2015 xml_wddx.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 xmlreader.ini
-rw-r--r-- 1 root root    53 Oct 16  2015 xmlrpc.ini
-rw-r--r-- 1 root root    59 Oct 16  2015 xmlwriter.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 xsl.ini
-rw-r--r-- 1 root root  4587 Oct  9  2014 z-memcached.ini
-rw-r--r-- 1 root root    47 Oct 16  2015 zip.ini
ada warnig seperti itu tp g bisa masuk ke wp-admin kena itu pak ?
plugin n themes udh non aktif
 
Status
Not open for further replies.

Top