Skip to content

Instantly share code, notes, and snippets.

View HandyGadget's full-sized avatar

Terence Milbourn HandyGadget

View GitHub Profile
Command Error:
2016-08-24 10:56:44,203 (DEBUG) ee : Moving file from /var/www/ukmailwoodglue.com/htdocs/wp-config.php to /var/www/ukmailwoodglue.com
2016-08-24 10:56:44,205 (DEBUG) ee : Setting up WordPress tables
2016-08-24 10:56:44,206 (DEBUG) ee : Creating tables for WordPress Single site
2016-08-24 10:56:44,206 (DEBUG) ee : php /usr/bin/wp --allow-root core install --url='ukmailwoodglue.com' --title='ukmailwoodglue.com' --admin_name='ukmail' --admin_password= --admin_email='admin@ukmailwoodglue.com'
2016-08-24 10:56:44,391 (DEBUG) ee : Command Output: ,
Command Error: PHP Fatal error: Uncaught Error: Call to undefined function apply_filters() in /var/www/ukmailwoodglue.com/htdocs/wp-includes/load.php:317
Stack trace:
#0 phar:///usr/bin/wp/php/utils-wp.php(22): wp_debug_mode()
#1 phar:///usr/bin/wp/php/wp-settings-cli.php(59): WP_CLI\Utils\wp_debug_mode()
### WordPress Environment ###
Home URL: http://dogaholics.london
Site URL: http://dogaholics.london
WC Version: 2.3.13
WC Database Version: 2.3.13
Log Directory Writable: /srv/users/serverpilot/apps/dogaholics/public/wp-content/uploads/wc-logs/
WP Version: 4.2.3
WP Multisite: –
WP Memory Limit: 256 MB
@HandyGadget
HandyGadget / gist:5c5aa2aba2fab9f22dba
Created March 22, 2015 13:49
System configuration
### WordPress Environment ###
Home URL: https://petpal.directory
Site URL: https://petpal.directory
WC Version: 2.3.7
WC Database Version: 2.3.7
Log Directory Writable: ✔ /srv/users/serverpilot/apps/wordpress/public/wp-content/uploads/wc-logs/
WP Version: 4.1.1
WP Multisite: –
@HandyGadget
HandyGadget / gist:5289624
Created April 2, 2013 03:04
Cornerstone loop
/* Cornerstone Loop */
<?php if ( cnr_have_children() ) : while ( cnr_have_children() ) : cnr_next_child(); ?>
<h3><?php the_title(); ?></h3>
<div><?php the_excerpt(); ?></div>
<?php endwhile; endif; ?>
@HandyGadget
HandyGadget / Cornerstone
Last active December 15, 2015 13:58
Alternative Genesis loop that handles blog posts with the category "Projects" within a page.
<?php
/**
*
* Template Name: Projects
* This file handles blog posts with the category Projects within a page.
*
*/
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'custom_do_cat_loop');