Jacob Schwartz
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAuction software] Auction emails not sendingAnd to clarify, the redacted part of that screenshot is a field without a value – but it shows the site admin’s email address as a placeholder.
Forum: Plugins
In reply to: [WPAuction software] Auction emails not sendingHere’s a screenshot of the settings for one of the emails that did not send:
https://drive.google.com/file/d/1V3Hxf4zpy4kr17TZd2TJxQonpueo0wK6/view?usp=sharingBTW, when I added
$this->customer_email = true;
to the constructor of WC_Auction_Software_End, I got an email to send.Forum: Plugins
In reply to: [WPAuction software] Auction emails not sendingEmail sending is configured properly on the site – we have both an email sending service that tracks all sends, and an email log plugin installed.
Did you mean something else about the emails being configured correctly? I don’t see any error messages when I save the email settings for each email, and each is enabled.
In our testing, we have not seen those emails go out for either the customer or an admin.
Thanks @wfphil
I’ve sent the diagnostics report.
The server and website become very slow, but not completely unresponsive. My logs for the affected periods show a continuous block of 100% CPU, a load average of about 4 (on a single-CPU server), and a single HTTPD process (with the same PID as the HTTPD requests above) using about 80% of the CPU. The process was at those levels for several hours before I ended it. I had to manually kill that process to get the server and website behaving normally.
Side note – that was 3 days ago, and I haven’t had a recurrence since. There haven’t been any configuration changes since before the issue.
Forum: Plugins
In reply to: [W3 Total Cache] Override settings in wp-config?Thanks guys, that’s an interesting idea. If I go down the route of controlling master.php myself and testing for defined constant overrides, I could potentially manage a lot of W3TC config in git, which is appealing.
Here’s an idea for how to extensibly achieve overrides in master.php:
<?php /* * The regular W3TC config array, but assigned to * a variable instead of returned directly. */ $conf = array(...); /* * W3TC_CONF_OVERRIDES can be either an array * to be merged directly, or a stringified JSON * representation of same. */ if(defined('W3TC_CONF_OVERRIDES')) { $conf_overrides = W3TC_CONF_OVERRIDES; if(is_string($conf_overrides)) { $conf_overrides = json_decode($conf_overrides, TRUE); } if(is_array($conf_overrides) && !empty($conf_overrides)) { $conf = array_merge($conf, $conf_overrides); } } return $conf;
And then in wp-config.php:
define('W3TC_CONF_OVERRIDES', json_encode(array( 'version' => 'abc123', // you probably wouldn't actually want to override this :P 'dbcache.memcached.servers' => array('local.memcache:11211') )));
Note the JSON action, which allows defined constants to be loaded with structured data pre-PHP7.
Of course it’d be best if the plugin author adopted this as a solution, but in the meantime I’ve got something to work with!
Forum: Plugins
In reply to: [W3 Total Cache] Override settings in wp-config?Thanks Ash, but modifying the plugin (without the author’s support) might be a bad idea. I know this plugin doesn’t get updated all that often, but my changes would eventually be overridden with a plugin update.
On the other hand, if the plugin author wants to chime in, a plugin modification might resolve the issue!
Forum: Plugins
In reply to: [W3 Total Cache] Object storage not persisting with memcached@destac could you elaborate a little please?
Forum: Plugins
In reply to: [W3 Total Cache] Object storage not persisting with memcachedSome system information:
PHP 5.5, Apache 2.0, Memcached 1.4.15
memcache support enabled
Version 3.0.8
Revision $Revision: 329835 $Directive Local Value Master Value
memcache.allow_failover 1 1
memcache.chunk_size 32768 32768
memcache.compress_threshold 20000 20000
memcache.default_port 11211 11211
memcache.hash_function crc32 crc32
memcache.hash_strategy consistent consistent
memcache.lock_timeout 15 15
memcache.max_failover_attempts 20 20
memcache.protocol ascii ascii
memcache.redundancy 1 1
memcache.session_redundancy 2 2Memcached stats:
STAT pid 2936
STAT uptime 621965
STAT time 1463600950
STAT version 1.4.15
STAT libevent 2.0.18-stable
STAT pointer_size 64
STAT rusage_user 12874.472000
STAT rusage_system 32000.452000
STAT curr_connections 114
STAT total_connections 298856
STAT connection_structures 240
STAT reserved_fds 20
STAT cmd_get 808966998
STAT cmd_set 699541958
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 721404846
STAT get_misses 87562152
STAT delete_misses 23198
STAT delete_hits 25514
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 1476985785425
STAT bytes_written 1427663566196
STAT limit_maxbytes 536870912
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT bytes 125214222
STAT curr_items 42795
STAT total_items 699541958
STAT expired_unfetched 5498200
STAT evicted_unfetched 56150128
STAT evictions 63417084
STAT reclaimed 5962470This issue impacted me too, but with the FacetWP plugin. It looks like every plugin that uses an AJAX request to list content would be impacted.
Here’s the support page from FacetWP on the issue:
https://facetwp.com/compatibility-with-the-post-types-order-plugin/FYI, WordPress considers AJAX requests to occur within the admin scope, even if they are made by unauthenticated visitors. The AJAX URL used by every plugin and theme is /wp-admin/admin-ajax.php.
What I find particularly horrible about this conflict, is that it impacts post types that aren’t even managed using the Post Types Order plugin.
Forum: Alpha/Beta/RC
In reply to: 4.5-beta1: Image Upload Fatal Error ImagQuickstart is this ??
https://vip.wordpress.com/documentation/quickstart/I know, wp.com/VIP cross-post!
Running Ubuntu updates seems to have fixed the issue. I didn’t think I was that far out of date, maybe a month or two.
Forum: Alpha/Beta/RC
In reply to: 4.5-beta1: Image Upload Fatal Error ImagI’m getting the same error when running an import. I’m using wp-cli on multisite with Quickstart. WP version 4.5-beta1-36733. I’ve logged a support request with WP VIP, I’ll update here when I find out more.
Huzzah, WordPress now has support for taxonomy meta! Looking forward to seeing this in Types.
FYI I had luck opening the badly encoded CSV file in TextEdit (on a Mac) and copying the contents into a new file. The new file imported just fine.
Forum: Plugins
In reply to: [Address Geocoder] Why is a Google Maps API key requiredI’m guessing it’s the difference between server-side and client-side API. This plugin seems to use javascript to do the geocoding client-side in the editor. But Google does seem to require an API key for client-side geocoding.
Here’s the reference on Google’s site:
https://developers.google.com/maps/documentation/javascript/get-api-key
https://developers.google.com/maps/documentation/javascript/usageThe limits on Javascript geocoding are pretty high, much higher than server-side geocoding.
Hi Marcin,
I posted in the support forum already, but it would be great to have:
– A custom field type for post reference (separate to parent/child). I think you mentioned that you were planning this.
– Custom fields for taxonomies (though given the lack of support for taxonomy meta fields in WP, I understand your reluctance).Cheers,
Jacob