[] operator not supported for strings – PHP

I had a problem with Revolution Slider on a WordPress installation when upgrading to PHP 7.2+. It would generate the error – PHP Fatal error: [] operator not supported for strings in C:[path]\wp-content\plugins\revslider\includes\framework\base-admin.class.php:71 The problem was from the plugin attempting to use the short array push syntax on a string: The solution was to modify […]

Display Tiff files on the web

Do you want to display a TIFF image on a webpage? You can learn how here. TIFF files are not made for the web and are not well suited for the web. They used to work in many browsers but as of this writing, support is waning: http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support. TIFF files are very large and contain layer […]

Display TIFF Files on a Web Site in Chrome and Firefox

If you need to display TIFF files on the web, you might have problems. TIFF files used to be displayed by all browsers, but as they are not really suitable for web use, support has been dropping. See Image Support by Browser:  https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support This makes sense of course, if you are only trying to use the […]

405 method not allowed – IIS and Gutenberg

Some servers are not configured to allow all of the functionality for Gutenberg, the new WordPress editor. When saving, the PUT operation might be disallowed, giving you an error like: “405 method not allowed”. If you have access to your web.config file you can fix this problem with a minor change. Change: To: Or, just […]

WordPress Login Reauth Loop

Sometimes I run into this login loop and here is something that has worked: ” I went into PhpMyAdmin > wp_usermeta > and deleted the meta_value for session_token. “ It seems to be more frequent on multisite installations and on those it can take more steps. When the above fails, then adding the following lines to wp-config […]

Thai Green Curry Paste

1 stalk lemongrass, minced OR 3 Tbsp. prepared frozen or bottled lemongrass (available at Asian stores) 1-3 green chilies, sliced (Thai green chilies OR jalapeno) 1 shallot, sliced, OR 4 Tbsp. minced purple onion 4-5 cloves garlic 1 thumb-size piece of galangal OR ginger, thinly sliced 1/2 cup chopped fresh coriander/cilantro leaves & stems 1/2 […]

WordPress IDE – Visual Studio Code

I have decided to test out another WordPress IDE – Visual Studio Code *(or should I do PHP Tools for Visual Studio first?) Step 1: Install the Visual Studio Code IDE from: https://code.visualstudio.com/ References: Autocomplete and snippetrs: https://marketplace.visualstudio.com/items?itemName=tungvn.wordpress-snippet Review with recommended plugins, etc: https://tommcfarlin.com/vs-code-wordpress/ https://code.visualstudio.com/docs/languages/php

Bulk Migrate Users to New Blog on WordPress Multisite

Recently I had to move a large number of users from one blog to another on a Multisite install. These users had been mistakenly added to the wrong blog and most of them also had been assigned the wrong role. There were plugin options to do this one by one, but not to bulk migrate users. […]

Enabling SSL Over TLS For Filezilla Server

In order to encrypt communications via FTP, which is obviously more secure,  you should connect to a server using FTP over TLS. When you are using Filezilla Server this process is quite easy and can be completed in under 5 minutes. The certificate in the following steps will generate warnings as it isn’t issued by […]