Tag: WordPress VIP

  • Fix Uncaught Error: Illegal offset type in vip-debug-bar-panels.php

    Receiving the following error when trying to add a new page in the WordPress admin on a local install of a WordPress VIP site: Fix Fatal error: Uncaught Error: Illegal offset type in isset or empty in mu-plugins/vip-helpers/vip-debug-bar-panels.php on line 384 Fixed (locally) by modifying the function to return early:

  • Download WordPress VIP database to local install

    First, download what you need via VaultPress and then merge the files with the following command in the terminal. (It helps to name filename.sql to the database name you are going to import to). If you don’t want to overwrite the current database, comment out the previous one and create a new one in wp-config.php:…

  • PHP_CodeSniffer for WordPress VIP Go

    phpcs –standard=WordPress-VIP-Go -sp –basepath=. –ignore=vendor path/to/your/code Source: Install PHP_CodeSniffer for WordPress VIP · WordPress VIP Documentation