Tim
Forum Replies Created
-
Forum: Plugins
In reply to: [10WebSocial] Instagram fatal error – 10webI am getting this error as well; though the feed is displaying. Lines 49 and 322 of this file appear to be referring to array elements without first checking whether the result is actually an array.
Forum: Plugins
In reply to: [10WebSocial] PHP Fatal error just started appearingThank you!
Forum: Plugins
In reply to: [10WebSocial] PHP Fatal error just started appearingThanks for getting back to me.
We’re using the latest version of your plugin – v1.4.6.
Thank you for the explanation!
The Squeeze Form admin area is useful, but it doesn’t seem to show a total number of downloads for each item, which would be very helpful. The client was also confused as it wasn’t clear that the original download count would no longer be incremented as well as the squeeze form data being collected. Might be worth offering the option to do both? Anyway, my snippet does the job for this client so they are a happy bunny. 🙂
Update: I have made it work by adding this to my functions.php, but couldn’t work out why the plugin wasn’t doing it…?
`
// Make SDM downloads log
add_action( ‘sdm_sf_process_download_request’, ‘wt_record_download’, 10, 2 );
function wt_record_download( $download_id, $download_link ) {global $wpdb;
$table = $wpdb->prefix . ‘sdm_downloads’;
$data = array(
‘post_id’ => $download_id,
‘post_title’ => get_the_title( $download_id ),
‘file_url’ => $download_link,
‘visitor_ip’ => ”,
‘date_time’ => date( ‘Y-m-d H:i:s’ ),
‘visitor_country’=> $visitor_country,
‘visitor_name’ => ”
);$data = array_filter( $data ); //Remove any null values.
$insert_table = $wpdb->insert( $table, $data );if ( $insert_table ) {
//Download request was logged successfully
} else {
//Failed to log the download request
wp_die( __( ‘Error! Failed to log the download request in the database table’, ‘simple-download-monitor’ ) );
}}
- This reply was modified 4 years ago by Tim.
Forum: Plugins
In reply to: [Gift Wrapper for WooCommerce] Gift wrap message is \ escapedThat looks like it’s now fixed. Thank you so much for your helpful responsiveness! 🙂
Forum: Plugins
In reply to: [WooCommerce PayPal Checkout Payment Gateway] PSD2 / SCA ComplianceNot heard anything yet. The good news is that it appears the FCA won’t be enforcing this immediately, as long as companies are taking steps, which for us I would imagine means perfectly reasonably waiting for PayPal to update their systems.
It doesn’t look like you got any response to this, Matt. I am having similar concerns! The plugin appears to add several seconds to every page load in some cases and I’m trying to work out how to isolate the key ability (i.e. registering an order so it can send a follow-up email) from all the other bits. It doesn’t have to load a JS on every page for that. Or flush the cache!
Forum: Plugins
In reply to: [WooCommerce] How to prevent wp_woocommerce_session cookie being set?Just done some further testing and found that the session cookie only gets set for the whole site when the PayPal Checkout plugin is enabled.
Otherwise it just sets loads of cookies on the product page itself. Still not sure those are PECR-compliant without consent…
That’s really interesting, Pat. I’m fairly sure in my case it applied to published pages as well.
I also discovered that the problem doesn’t apply to the new Gutenberg editor, so with all my sites moving to that, it became less of an issue. I would still be very keen to hear from anyone who finds the exact cause! 🙂
Tim
Thanks for your efforts, Samir!
I’m still trying to track down the problem, and if I identify something specific, I’ll let you know. Otherwise it may be best to leave it for now. 🙂
Thanks — that is really helpful. 🙂
Amazing — thank you so much! So wp-blocks is no longer needed as a dependency I guess, and in fact including it now breaks everything.
Do you happen to know whether the rest of my line is still needed, with the wp-element, wp-components and wp-i18n dependencies? Don’t worry if you don’t; I realise Gutenberg docs are still a bit all over the place. But I thought I’d ask.
$deps = array( ‘wp-element’, ‘wp-components’, ‘wp-i18n’ )
Tim
Forum: Plugins
In reply to: [Grace: Instagram Feed Gallery] PHP noticesThanks – that worked!
Tim
I too would appreciate an official answer from iThemes Security on GDPR compliance, but I can tell you this for a start: iThemes Security does store IP addresses in your WordPress database, and I think it even shares them for its Network Protection. So those aspects of it might be a worry. HOWEVER I believe GDPR has specific exceptions for the use of personal data to maintain the security of the site. I’m struggling to find the paragraph in the legislation right now but I’ve read about it recently. It would make sense; after all, part of the point of GDPR is to keep users’ data safe, so it would be counter-productive if it was also illegal to use security software to prevent unauthorised access to that data.
On that basis I think I’m happy to continue using iThemes Security, but I would nonetheless appreciate an official post from them telling me exactly what data they collect and store, and how to control that.
Tim