ashworth
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce order query timing out with memory errorsMy test that I was conducting locally from
functions.php
was not wrapped in an init action or anything. Apparently it was running before CPTs were being loaded; which would be a no-go.Adjusting to simply limit (even with a high-ish number) is ultimately what solved this.
$orders = wc_get_orders(array( 'status' => array('wc-processing', 'wc-on-hold'), 'type' => 'shop_order', 'limit' => 1000 ));
For our purposes, this works. Closing this thread now. Thanks!
- This reply was modified 3 years, 4 months ago by ashworth.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce order query timing out with memory errorsThank you.
I’m wondering if there’s a better method I should be attempting in order to fetch the order data without hitting limits like I am.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce order query timing out with memory errorsIt’s worth noting that I’ve already disabled plugins and switched to a default theme, so it’s not that. Something else is going on. Memory has also been increased as well; by as much as 2GB
Was there an update to this? I believe I’m having the same issue, but can’t confirm it because there hasn’t been an update.
We also have a site where we rely on the transparency, due to how the site is designed. JPG conversion or transparency removal makes sense for most cases and seems very efficient; but it’s not right for every case. I’m wondering if there’s an action in WordPress from the plugin that lets me disable that functionality on a site-by-site basis.
Curious to know what you learned!
Forum: Plugins
In reply to: [Visual Portfolio, Photo Gallery & Post Grid] Issues on mobilePersonally, I noticed this in Safari while using masonry + gallery. My assessment is that the images themselves aren’t being fully loaded before the masonry starts.
removed imagesloaded dependelcy
1.6.3This may solve it. Also, it’s only on first load. Subsequent refreshes work fine.
@icaleb – Just tried increasing the
max_input_vars
to 2000 with no success. Same issue.For all curious, I’m testing with WooCommerce 3.3.0 and WordPress 4.9.2, with zero plugins active other than WooCommerce. I’m also testing with the Twenty Seventeen theme with no modifications.
From what I can see, this is still an issue in WC 3.3.0.
Forum: Plugins
In reply to: [Comment Attachment] Manually placing the code to use this pluginActually, from what I can see in the theme’s code for
single.php
, it does use the functioncomments_template()
. I’m fairly certain this is where you’d be hooking to from your plugin.So now this has me stumped, and I’m not sure why it wouldn’t show up.
Forum: Plugins
In reply to: [Tumblr Crosspostr] 401 error, and p=xxxxx incorrect links posting to TumblrAlso, no matter what I do (even disconnecting and reconnecting), I cannot get rid of this message:
===
Crossposting to Tumblr failed. Remote service said:
Response code: 401
Response message: Not Authorized
This might mean your OAuth credentials are invalid or have been revoked by Tumblr. If everything looks fine on your end, you may want to ask Tumblr Support to confirm your app is still allowed to use their API.Additionally, you may want to turn on Tumblr Crosspostr’s “Enable detailed debugging information?” option to get more information about this error the next time it happens.
Forum: Fixing WordPress
In reply to: Gigantic media libraryThanks contentiskey!
I have considered a CDN, but the issue is less about how the files are served, and more about the fact that there is a ridiculously large amount of files being stored on the disk in question. It could mean we move them to a dedicated environment, but really…eventually as it grows it will become more of an issue.
It’s my understanding that there are CDN synchronization plugins which will sync your files to a CDN to be served, but in my experience, those source files remain on the hosting disk with the WordPress installation.
Unless there’s a way to “completely” and permanently offload media to Amazon S3 or something? That would certainly do the trick!
Forum: Plugins
In reply to: [Easy Table] Repeated left-aligned keys?Nothing? ??
Excellent, thank you!
Yep. Your plugin is certainly activated, as I can use it elsewhere in the WP site.
Just wasn’t sure how to “force” compatibility to let it work in their field, necessarily (or anyone else’s plugin for that matter). Would be a good trick to know if it’s something that can be re-used in various other plugins doing the same thing.
Forum: Plugins
In reply to: [Store Locator Plus? for WP] urlencode option in modifiers (please?)The modifiers I’m talking about would be located here:
https://www.charlestonsw.com/support/documentation/store-locator-plus/user-experience/map/bubble-layout/Specifically the
slp_location
section.I’m envisioning it would work something like this:
[slp_location company urlencode]
Doing so, should produce something like this:
Original text:
ABC Widgets & Co., Inc.
Encoded text:ABC+Widgets+%26+Co.%2C+Inc.
Tried a few things. I put this at the top of the content area they give me:
[insert_php]echo 'test';[/insert_php]
And this is what outputs to the browser when I do:
[insert_php]echo 'test';[/insert_php]
It’s basically not even being read in as a shortcode. Totally weird.
Perhaps Store Locator preempts the shortcode on the page.
The funny thing is, their own shortcodes do work in that same content area.
[slp_location name]