bheadrick
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Search with Algolia] Do not index certain postswould this filter cause a post to be deindexed if it had already been indexed?
Forum: Plugins
In reply to: [Jilt for WooCommerce] Unable to claim actions. Database error.’After a bit more troubleshooting, it looks like the problem was caused by another plugin.
Forum: Plugins
In reply to: [WooCommerce] Subcategories repeatedly disappearingOriginally, this issue existed even when only storefront and woocommerce were active, but I tested again, and this is no longer the case. Now, it appears to be related to another plugin, so it’s definitely not a WC problem anymore
Forum: Plugins
In reply to: [WooCommerce] Subcategories repeatedly disappearingI’ve restored a db to a local dev environment where the production site was in this state and upgraded to 5.2.1. The subcategories are still not displaying, and running recount terms as well as rebuilding the products table does not resolve the issue.
I have confirmed that works.
That really doesn’t make any sense as a default behavior, though.
Forum: Plugins
In reply to: [WP GDPR Cookie Notice] accept action is too slowAny plans on improving performance?
Forum: Plugins
In reply to: [WooCommerce] resize images with phpthe image size used for the single product image is controlled by the theme.
If you have a decent theme, it will allow you to alter the size in the customizer:
https://docs.woocommerce.com/document/image-sizes-theme-developers/the way image sizes work is wp creates a copy of the original image for each size that is defined.
If you change the configured size, you can use https://ww.wp.xz.cn/plugins/regenerate-thumbnails/
to update the sizes of existing imagesForum: Plugins
In reply to: [XL NMI Gateway for WooCommerce] Completely Broken with 1.8.6scroll to the bottom of this page, and you can download previous versions:
https://ww.wp.xz.cn/plugins/woofunnels-woocommerce-nmi-gateway/advanced/
Forum: Plugins
In reply to: [CloudSearch] Add hook for additional filtersThat works.
I also noticed a few other undefined index errors:
Undefined index: filter_query in cloud-search/actions/cloud-search-action-search.php on line 37
Undefined index: extras in cloud-search/actions/cloud-search-action-search.php on line 41
Undefined index: post_content in cloud-search/actions/cloud-search-action-search.php on line 300Forum: Plugins
In reply to: [CloudSearch] Add hook for additional filtersthe resulting query of adding that filter is this:
(and site_id:1 blog_id:1 (or post_type:’post’ post_type:’product’ (not ct_product_visibility:’exclude-from-search’)))so, that’s not ideal.
if the parentheses from the last “or” clause had been closed, that would work.
as a workaround, I got this to work:
return ') (not ct_product_visibility:\'exclude-from-search\' ';While it is working, I’m seeing the following in the log.
(re-saving the settings cleared it up)Undefined property: stdClass::$acs_schema_fields_legacy_types in /plugins/cloud-search/cloud-search-utils.php on line 662
- This reply was modified 6 years, 1 month ago by bheadrick.
“Sometimes however, other plugins do their own stuff on the same hook and actually short-circuit all other plugins listening on the same hook.”
What would that code look like?
I confirmed that the missing orders were, in fact, missing via searches from postman.
I just added that filter, reactivated the plugin in production, and then reindexed orders. (from prod site)
Now, the orders that had been missing are there. Also, newer orders that were pending-payment status are there (in algolia)
Note that just before I noticed the problem where specific orders were missing, it looked like a few of the recent orders were missing, prompting me to perform the reindexing (from the admin panel).
It was after this had completed that the pending-payment orders came in, and somehow failed to get indexed.
ah, that filter is useful!
There are plugins that add order statuses, but that’s it.
I don’t have direct access to the algolia dashboard, as the account is provided through our web host, but I might be able to get more details poking around the api with postman
Forum: Plugins
In reply to: [Pixel Caffeine] xml writer exhausted allowed memoryI saw that option initially, and I thought I had enabled it, but apparently not.
after enabling that and saving, I see this:
[07-Nov-2019 18:31:21 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /app/public/wp-includes/meta.php on line 952 [07-Nov-2019 18:31:21 UTC] PHP Stack trace: [07-Nov-2019 18:31:21 UTC] PHP 1. {main}() /app/public/wp-admin/admin-ajax.php:0 [07-Nov-2019 18:31:21 UTC] PHP 2. do_action() /app/public/wp-admin/admin-ajax.php:173 [07-Nov-2019 18:31:21 UTC] PHP 3. WP_Hook->do_action() /app/public/wp-includes/plugin.php:465 [07-Nov-2019 18:31:21 UTC] PHP 4. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 [07-Nov-2019 18:31:21 UTC] PHP 5. AEPC_Admin_Ajax::ajax_get_posts() /app/public/wp-includes/class-wp-hook.php:286 [07-Nov-2019 18:31:21 UTC] PHP 6. get_posts() /app/public/wp-content/plugins/pixel-caffeine/includes/admin/class-aepc-admin-ajax.php:606 [07-Nov-2019 18:31:21 UTC] PHP 7. WP_Query->query() /app/public/wp-includes/post.php:1961 [07-Nov-2019 18:31:21 UTC] PHP 8. WP_Query->get_posts() /app/public/wp-includes/class-wp-query.php:3404 [07-Nov-2019 18:31:21 UTC] PHP 9. update_post_caches() /app/public/wp-includes/class-wp-query.php:3163 [07-Nov-2019 18:31:21 UTC] PHP 10. update_postmeta_cache() /app/public/wp-includes/post.php:6416 [07-Nov-2019 18:31:21 UTC] PHP 11. update_meta_cache() /app/public/wp-includes/post.php:6434but on the plus side, it does look like the feed built successfully.
I’ll have to wait until the next update to see if it continues to build successfully.One issue, is that because the build failed at some point, the .tmp file was in the directory, so the “in progress” message was in the panel, making it impossible to look at/edit the settings.
I had to dig through the code to find out that the tmp file being there is what caused that message to display.Forum: Plugins
In reply to: [WooCommerce variations Select2] Doesn’t work with Product Bundles pluginthe theme I’m using is a custom theme, but I was also able to duplicate the issue with the storefront theme active.
I created a vanilla site with only woocommerce, wc bundles, and this plugin active, and it did work, so I guess there’s a plugin that’s conflicting with it.
I tried disabling several, but I haven’t been able to identify which one.