Wordpress

PHP error log - operator not supported

[] 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 …

[] operator not supported for strings – PHP Read More »

Web.config 405 method not allowed iis

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 …

405 method not allowed – IIS and Gutenberg Read More »

WordPress: Cookies are blocked or not supported

WordPress Multisite sometimes gets into a login loop with a reauth querystring parameter due wo domain mapping: “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. ” Solution 1 (Multisite):Add this to your wp-config.php file: define(‘COOKIE_DOMAIN’, false); Solution 2:” I went into PhpMyAdmin > wp_usermeta > and deleted the meta_value …

WordPress: Cookies are blocked or not supported Read More »

Visual Studio Code

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

Scroll to Top