WP-CLI Error: PHP Deprecated: implode(): Passing glue string after array is deprecated.

I use WP-CLI to maintain my WordPress sites. It’s simple, it handy, and it works without any issues.

For example, I can updates all my plugins and themes (if updates are available) by executing wp theme update --all and wp plugin update --all. If WordPress core engine is available, I only need to run wp core update.

But there is a problem when I update WordPress plugins recently. Running wp plugin update --all to update all available plugin updates give me an error:

PHP Notice:  Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 663
Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 663

But, all updatable plugins were updated successfully. I tried to find the solutions, but I found nothing. I also try to use the nightly version via wp update --nightly, but still no luck.

Here are my wp --info

OS: Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php7.4
PHP version: 7.4.3
php.ini used: /etc/php/7.4/cli/php.ini
MySQL binary: /usr/bin/mysql
MySQL version: mysql Ver 8.0.21-0ubuntu0.20.04.4 for Linux on x86_64 ((Ubuntu))
SQL modes:
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /home/path/to/my/directory/
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.5.0-alpha-068c252

Site Resources for Admin and Dashboard Themes

At work, when admin/dashboard interfaces are needed, rather than building everything from scratch, using available theme options is a good choice — using the free or paid version. Some resources to look: WrapBootstrap, Start Bootstrap, or Theme Forest.

Let's talk about the (new) Yahoo's email service

Recently, Yahoo redesigned its mail service again. I’ve talked about Yahoo Mail last August. I hoped for an improvements. Recently, on its 16th birthday, Yahoo gives a new look for its mail service. Quoting from a release published at Yahoo’s blog:

We redesigned Yahoo Mail to be more efficient, too. Things you do all of the time like search, starring, and deleting are now one-click actions that appear when you hover over an email. We also wanted to give you more breathing room in your inbox, so you can collapse the left-hand toolbar to be more productive.

I’m not a big fan of Yahoo email service actually, I’m sold to Google Mail. I use Gmail web-based interface on my daily basis. So, what Yahoo offered on this redesign this time?

1 TB of storage to handle email and attachments.

Yes, that’s huge! Currently, Google ‘only’ offers 15 GB of free storage (shared between Google Drive, Gmail, and Google+ Photos) with some detailed conditions. The 1 TB storage is tempting for marketing purpose and by number. Do I really need 1TB? I can live with 15 GB Google offers. By having 1 TB of storage, it can handles more than 54 million of emails.
Previously, if you’re a Flickr user, Yahoo also offers 1 TB of storage to store more than 500,000 photos in original quality. This one is really a good deal!

Themes

I’m not a fan of themes for email service. I left my Gmail in the standard look, without fancy themes. Yahoo — since it also owns Flickr — brings some selected photos from Flickr to choose as the background theme. Here how it looks.
Yahoo mail themes
For the web interface, I choose the of of the clean theme styles.

Are you using WordPress' Post Formats feature?

If you have upgraded your WordPress installation to the latest version (right now, it’s Version 3.1), you can take advantage of its “Post Formats” feature. So, what is it anyway? WordPress Codex explains:

A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post. The Post Formats feature provides a standardized list of formats that are available to all themes that support the feature. Themes are not required to support every format on the list. New formats cannot be introduced by themes nor even plugins. The standardization of this list provides both compatibility between numerous themes and an avenue for external blogging tools to access to this feature in a consistent fashion. In short, with a theme that supports Post Formats, a blogger can change how each post looks by choosing a Post Format from a radio-button list.

This feature might be useful if you want to “format” your blog posts, especially when you want to have different output format from your WordPress theme. Just think about Tumblr service. Tumblr is very easy to use when you want to make a kind of item collections. Sometime you want to embed a video, post a link, make a regular blog post, or even embed an audio file. If you want to create a new post, you will have something like this:

10 Reasons Why I Love Posterous

After using Posterous in the last few weeks more frequenlty, I feel that I like it more than before. It feels right. These are 10 reasons why I like Posterous — and why you should love it, too.

1. Email-friendly, of course

One of the internet feature I regularly check is email inbox. Sometime, I want to post something directly from email sent into my inbox. Posterous is about working directly from the email — web-based email or email clients.

2. Free

It’s a free service. Right now, I have 1 GB of free storage. Since it does not offer types of account (free or paid account), Posterous said that we can have more than 1 GB if we hit the limit. If I have to pay to get more storage or features, I will consider to subscribe. But, I hope it offers the right price/package. And, we can have multiple Posterous sites using a single email address.

3. Autopost

How many social media accounts I have? How to distribute or send something to those service easily — if I want to share something using those services? The autopost feature is just perfect. I can send photos to Flickr, send videos to YouTube, post something to my own blog. But, I can do them all automagically from Posterous. And, I can choose whether I want to share them directly or not. Or, I can share only to specific targets.

Posterouseptember: Posterous Features in September

logo_posterousThis September, Posterous blogging service released some new features and improvements. If you’re not familiar with Posterous — or never heard about it before, it’s a service that will help you put something online. You can post text, photos, videos and also documents. The big difference is that you can do it directly from your email. This service was launched back in July 2008. And, this is my Posterous page. If you have a Posterous account but you haven’t logged in for few months — or want to try it, here are some new features:

Feedburner feed tracking

If someone subscribe to your Posterous RSS feed, you can find out how many feed subscribers you have. This process should be easy because you can integrate your feed to Feedburner account. Using this, you can use all Feedburner’s features.

Autopost to Scribd

Posterous offers auto post ability. Using this, you can send your posts from Posterous to different websites/service. If you send a document, you can deliver it directly to Scribd.

Themes and Custom Themes!

If you want to have your own custom look for your Posterous page, you can do it easily now. There are some themes available. Once you select your theme, you can do some modifications  like colors, custom image header, etc. If you’re good at HTML and CSS, and want to create your very own theme, an advanced customization feature is also available. For some people — at least for me — this is a killer feature!

Embed songs from Lala.com and videos from Viddler and Google Video

If you want to embed audio files from Lala.com and videos from Viddler and Google Video, you don’t have to deal with embed codes. Just put the links, and Posterous will do the rest for you.

WordPress Automatic Upgrade and Default Theme

Last few weeks, I worked on a WordPress theme design. But, it was the first time I used default as its theme folder. If you use WordPress, you might know how WordPress will deal with default theme folder. It will be used if something goes wrong with the theme. For example, you’re working on a theme file, and it’s broken, your WordPress theme will be automatically reverted to the default folder.
I chose to use default folder because I always want to have this theme loaded. But, I found that it was not the best decision to make. Why?
It’s about WordPress automatic upgrade feature. When WordPress 2.7.1 was available, I upgraded using its web-based upgrade system. Click on the automatic ugprade button, and voila! Latest version was installed. BUT, it will overwrite my theme files, which are located in the default theme folder. Luckily, I still have the backup. So, I re-uploaded the theme files into different theme folder.

Blogpemilu.com

BlogPemilu.com
Last year, I bought a domain. It was blogpemilu.com. I wanted to build a site related to General Election in Indonesia. But, I haven’t figured out what to make.
In the last few weeks, I decided to use it as a tumblelog using Tumblr with custom domain service. Why not using self-hosted blogging? The answer is simple and straight forward: I do not want to get busy preparing the tecnical stuff like themes, etc.
There are many Tumblr users from Indonesia, and since a Tumblr-powered tumblelog can have multiple authors, it’s just perfect. I started writing some texts, quotes, photos, etc. Then, I invited some Tumblr users I know — from Twitter — to contribute. So, here it is now: Blog Pemilu. Big thanks to all contributors!
If you want to contribute, you can. You only need a Tumblr account. Just contact me directly or by email — the information is available on the site. Other requirement? Well, you want to share Pemilu-related stuff. :)

New design for this blog

I have been very busy in the last few weeks, many things to do. I needed to recharge my energy. And this is the result: a new design for my blog. I created this theme for fun, at least to keep my mood in balance, to bring my mood back to the other design work.
After upgrading to WordPress 2.7 few days ago, I wanted to have some changes here, especially by taking advantages from new features introduced in the latest WordPress, e.g. built-in threaded comment. Here are some notes on my new blog design.

Template tags

Still related to template tags, I try to take advantage from the way WordPress produces CSS selectors. Here is an example. Open index.php in default theme folder, you should see this for the entry loop:

<div <?php post_class() ?> id="post-<?php the_ID(); ?>">

The code above will produce something like this:
<div class="post hentry category-services category-sites category-www category-webdev tag-htaccess tag-facebook tag-linkedin tag-service tag-twitter tag-url" id="post-1026">
Do you see the pattern? It will produce some post classes on the entry data (categories and tags). This function is called post_class(). By this, we can customize how each entry (inside the loop) should be displayed, just work with the stylesheet.
If you want to make you theme compatible well with WordPress 2.7, just head to Migrating Plugins and Themes to 2.7 article at WordPress Codex. There are some other useful information for theme designers — and also for you as bloggers.

WordPress Troubleshooting: WordPress Admin Area (Dashboard) Redirect Loop

Yesterday, I helped one of my clients with her WordPress-powered blogs. When I tried to find the solution — using search engines — I could not find any exact solution.
Problem overview
Okey, here’s the problem: When I tried to login to WordPress dashboard — not WordPress.com, but self-hosted — I always got these errors:

Redirect Loop
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

  • Have you disabled or blocked cookies required by this site?
  • NOTE: If accepting the site’s cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

I’m not sure what caused this problem. I thought it was my browser (Firefox), but I got the same problem on other browsers.

Themes for Google Chrome

When I heard about Google Chrome, I downloaded right away. Even now I have it installed, but I do not use it for daily work. Mozilla Firefox and Opera are still on my top list.
If you’re using Chrome and you want to have different looks, there are some Google Chrome themes available to download. I haven’t tried to install a theme yet. Maybe later. Anyway, if you want to use some other themes, do not forget to install XChrome. What is XChrome?

XChrome is a theme manager for Googles Chrome browser, it allows users to install a skin in seconds without having to move default.dll around and it allows you to view the author and various other details before installing.
XChrome also allows users who do not have XChrome install to install themes by double clicking the themes .exe file, they are prompted to install the theme, they agree the theme is copied to Chromes Default.dll

Pimp your WordPress 2.5 Dashboard

One of the gret improvements offered by WordPress 2.5 is on the dashboard interface. Collaborating with Happy Cog studio, WordPress offers some great improvements. One of them is about managable widgets for dashboard. It means, we can manage what kind of ‘widgets’ should be presented on the dashboard.
Also, we can create a new admin interface theme. There are already some admin themes available like WP Tiger, Spotmilk, or Fluency. If we want to customize or creating our own admin theme, we can do it too. WordPress 2.5 introduces another option to have per user admin color scheme. The idea is “call another stylesheet into the dashboard”. And, it’s per user basis. So, every person in the system can have their own theme. Nice, eh? Read more about this if you want to create one. Anyway, by default we will have two color schemes. It’s Classic and Fresh.

WPhone: Admin Interface for Your Phone

WPhone screenshot
WPhone (plugin page) is a plugin that gives you an option to replace the default admin interface with one designed for your phone. There are two versions of the mobile admin interface:

  • an iPhone / iPod Touch specific interface with full Javascript and animation support
  • a lightweight, simple version designed for all other phone types (no Javascript or anything else required)

Go to information page about this WPhone for more features. The screenshot page tells all about it. It seems that it is designed for use with the latest version of WordPress, but since standard API calls on the back end. So, I assume that it will also work for WPMU. Is it? Well, I haven’t tried it, but I will. Or, anyone tried it on WPMU environment?

Mozilla Firefox 2.0.0.2

Mozilla Firefox 2
Few days ago, I upgraded my Mozilla Firefox to the latest version: 2.0.0.2 which was released on February 23, 2007. It was a smooth upgrade. I jumped from 1.5.0.9. After upgrading, the first thing I checked was the extension I installed. I have all extension work without any problems. Here are some extensions installed in my Firefox 2.0.0.2:

  • Adblock Plus (0.7.2.4)
  • All-in-One Sidebar (0.7.1)
  • ColorZilla (1.0) — With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program.
  • DownThemAll! (0.9.9.7) — DownThemAll lets you download all the links or images contained in a webpage and much more: you can refine your downloads by fully customizable criteria to get only what you really want.
  • Dummy Lipsum (1.1.6) — It generates “Lorem Ipsum” dummy text (the text is taken from the Lorem Ipsum site
  • Firefox Extension Backup Extension (FEBE) (4.0.4) — Backup and port your extensions and themes.
  • MeasureIt (0.3.6) — Draw a ruler across any webpage to check the width, height, or alignment of page elements in pixels.
  • ViewSourceWith (0.0.8.39) — Open (and in some cases edit) page source with external applications
  • Web Developer (1.1.3) — Add a menu and a toolbar with various web developer tools.

Besides those I-must-have extensions, I have some other installed. Great!

WP Themes: Umalas and Chipshot

Didats Triadi, an Indonesian designer, released a WordPress theme called Umalas. Great work Didats! When I visited his blog, I found a link to “another Umalas theme”. The new theme called ChipShot can be downloaded for free at blogging themes, a free blog template collection.
I downloaded the two templates. I am 10,000% sure that Umalas is originally created by Didats Triadi. When I tried to compare the stylesheet, images, I found that they are too similar, even the file names!
Well, you know who the original author of that theme. They are the same, only in different name… –sigh.