更新到 WordPress 2.6 之後, Where did they go from here 這個 plugin 就會跳 warning 出來. warning: unserialize() expects parameter 1 to be string, array given in /home/xxxxxxxx/public_html/wp-content/plugins/wheredidtheygov1.php on line 97 參考其他 plugin 的解法是先用 is_serialized() 判斷, 如下修改即可 64,66c64 < if (is_serialized($linkpostids)) { < $linkpostids = unserialize($linkpostids); < } --- > $linkpostids = unserialize($linkpostids); 99,101c97 < if [...]
Continue reading about 修正 WhereDidTheyGo plugin 在 WP 2.6 的錯誤訊息
記下我的 VirtualBox 網路設定 安裝 sudo apt-get install uml-utilities bridge-utils /etc/network/interfaces auto lo iface lo inet loopback name Loop interface auto br0 iface br0 inet static pre-up ifconfig eth0 down post-up ifup eth0 address 192.168.22.2 network 192.168.22.0 netmask 255.255.255.0 broadcast 192.168.22.255 gateway 192.168.22.1 bridge_ports eth0 auto eth0 iface eth0 inet manual name Ethernet LAN card /etc/vbox/interfaces [...]





近期迴響