This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cluster_name": "elasticsearch", | |
"nodes": { | |
"UHLSl8KCSVy1qYZE294JcA": { | |
"name": "dunorthdesigns.vps.pagelyhosting.com-dunorthdesigns", | |
"transport_address": "10.0.6.143:9300", | |
"host": "10.0.6.143", | |
"ip": "10.0.6.143", | |
"version": "2.3.4", | |
"build": "e455fd0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I also found this, which may be helpful: https://github.com/allan23/ep-troubleshoot - doesn't seem to be in the plugin marketplace so you'd have to install it manually, but may be helpful in generating more debug info specific to what's happening in elasticpress land. | |
Looking more closely at the exception being logged during indexing: | |
Caused by: SearchParseException[failed to parse search source [{"from":0,"size":5,"sort":[{"post__in":{"order":"desc"}}],"query":{"match_all":{"boost":1}},"post_filter":{"bool":{"must":[{"bool" | |
:{"must_not":[{"terms":{"terms.product_visibility.name.raw":["outofstock"]}}]}},{"bool":{"must":{"terms":{"post_id":[56662,57698,58086,10463,32389,63478,60303,60287,60277,60308,60268,15626,65731,65444,65712]}}}},{"term":{"post_type.raw":"product"}},{"term":{"post_status":"publish"}}]}}}]]; nested: SearchParseException[No mapping found for [post__in] in order to sort on]; | |
I would guess the issue is with one of those post ids: 56662,57698,58086,10463,32389,63478,60303,60287,60277,60308,60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action('woocommerce_single_product_summary','woocommerce_template_single_add_to_cart', 30); | |
add_action('woocommerce_single_product_summary','woocommerce_template_single_add_to_cart', 15 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.glow { | |
-webkit-animation-duration: 1s; | |
-webkit-animation-name: glow; | |
-webkit-animation-direction: alternate; | |
-webkit-animation-iteration-count: infinite; | |
animation-duration: 1s; | |
animation-name: glow; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^carriedils\.com [NC] | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://carriedils.com/$1 [R=301,L] | |
// First line kinda obvious // | |
// Second line is the old URL // | |
// Line 3 is techinical server hooplah // | |
// This one says, "Yo. All three of my dubya's are gone. And, btw Google, this is a PERMANENT change (301) // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bkg_autocheck_tos( $terms_is_checked ) { | |
return true; | |
} | |
add_filter( 'woocommerce_terms_is_checked', 'bkg_autocheck_tos', 10 ); | |
add_filter( 'woocommerce_terms_is_checked_default', 'bkg_autocheck_tos', 10 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Wayne Changes Text Field | |
* Plugin URI: https://bradgriffin.me | |
* Description: Changes the stock text - BOTH of them. Not just one! | |
* Version: 1 | |
* Author: Brad | |
* Author URI: https://bradgriffin.me | |
* Requires at least: 4.6 | |
* Tested up to: 4.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Alyssa Gets to Change Her Text | |
* Plugin URI: https://bradgriffin.me | |
* Description: Engage Maverick | ENGAGE! Make a conversation with your customer and customize EVERY piece of Text! | |
* Version: 1 | |
* Author: Brad | |
* Author URI: https://bradgriffin.me | |
* Requires at least: 4.6 | |
* Tested up to: 4.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* <--------Careful! */ | |
/** | |
* Plugin Name: Per product Redirect | |
* Description: Empowers WooCommerce Store owners to add a custom redirect page on add-to-cart for EVERY product | |
* Version: 1.0.0 | |
* Author: Brad Griffin | |
* Author URI: https://woocamp.com | |
* License: GNU General Public License v3.0 | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// hide coupon field on cart page | |
function hide_coupon_field_on_cart( $enabled ) { | |
if ( is_cart() ) { | |
$enabled = false; | |
} | |
return $enabled; |