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
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
<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
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
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
{ | |
"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
{ | |
"Versions:": { | |
"WordPress": "4.8.1", | |
"ElasticPress": "2.3.2", | |
"Elasticsearch": "2.3.4", | |
"WooCommerce": "3.1.1" | |
}, | |
"Active Features": [ | |
"search", | |
"related_posts", |
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
56662 = https://dunorthdesigns.com/product/but-first-wine-tank/ | |
57698 | |
58086 | |
10463 | |
32389 | |
63478 | |
60303 | |
60287 | |
60277 | |
60308 |
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
# Add Aelia cookies to the cache key. This will create multiple copies of each | |
# cached page (one for each combination of currency, country and province/state) | |
proxy_cache_key "$scheme$request_method$host$request_uri $cookie_aelia_cs_selected_currency$cookie_aelia_customer_country$cookie_aelia_customer_state$cookie_aelia_billing_country"; | |
# IMPORTANT | |
# This is an example configuration file, and the settings apply to the entire server. | |
# You should probably adapt these settings to apply to a specific location, instead, | |
# so that they only affect your specific ecommerce site. | |
# | |
# If you are not familiar with Nginx configuration, we recommend to contact your |