createscape
Forum Replies Created
-
I found this alternative which has been updated for 5.5:
Forum: Plugins
In reply to: [Invoices for WooCommerce] Exclude categoryI’ve found your “bewpi_skip_invoice_generation” function and have made it work for excluding product ids….
function bewpi_skip_invoice_generation( $skip, $status, $order ) { $products = $order->get_items(); $excludeids = array( 2815 ); foreach ( $products as $product ) { if ( !in_array( $product->get_id(), $excludeids ) ) { return true; } } } add_filter( 'bewpi_skip_invoice_generation', 'bewpi_skip_invoice_generation', 10, 3 );
…however I need the invoice to send if they purchase another product in the same order which is tax deductible along with the one that isn’t, but to exclude the one product from the invoice table.
I’m sorry, somehow I’ve landed on the wrong tax receipt plugin page again! Please disregard.
It looks like this plugin is no longer being maintained. You could hide the error by modifying your debug settings in wp-config.php:
But it might be a good idea to replace the plugin.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] html previewHello Kluver,
I don’t have a Status tab on my PDF Invoices settings page. There is only General, Template, and Debug.Thanks
- This reply was modified 5 years ago by createscape.
Forum: Plugins
In reply to: [User Specific Content] Error in php error logThank you @miss-d,
Your code worked for me.Hello,
I’ve been using Cookie Notice plus the MonsterInsights EU Compliance Addon (https://www.monsterinsights.com/addon/eu-compliance/) that works with cookie notice to block google analytics. I tested it and it does block GA scripts if a user clicks the “No cookies” button.When I updated to PHP 7.2, it gave me some additional error log info:
[07-Aug-2018 23:54:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php:265
Stack trace:
#0 /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php(160): PostmanSendGridMailEngine->addAttachmentsToMail(Object(PostmanMessage))
#1 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(200): PostmanSendGridMailEngine->send(Object(PostmanMessage))
#2 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(55): PostmanWpMail->sendMessage(Object(PostmanMessage), Object(PostmanEmailLog))
#3 /wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(116): PostmanWpMail->send(‘info@myemailaddress…’, ‘Custom EZ Quote…’, ‘<!DOCTYPE html …’, Array, Array)
#4 /wp-content/plugins/vfb-pro/public/class-email.php(243): wp_mail(‘info@myemailaddress…’, ‘Custom in /wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php on line 265Thank you very much for your help. I updated the PHP version to 7.1 (hosting plan didn’t offer 7.2) and installed 5.9.5.1 dev version of this plugin. I’ve tested the recurring events and it works fine now. Thank you for finding the solution.
My client has renewed their pro subscription in order to post this problem on their pro support forum. If they or I come up with a solution I will post it here.
Hi there,
I’ve done some further testing myself. I’ve created a duplicate site where I’ve switched to the Twenty Seventeen theme and deactivated all the other plugins. I’m still seeing the same problem. This is a screenshot of the list of recurring events:I just installed the plugin on another site and it’s working fine there (also rules out user error in entering the recurring event details wrong).
Do you have any other suggestions of what I can check?
Thanks
Hello angelo,
The WordPress Time zone is set to Vancouver. The Events plugin setting (under general) is set to Vancouver.
I took a look at Events > Settings > Admin Tools > Reset Timezones and this also says Vancouver.This plugin has been working fine for them for a couple years before this.
Thanks
Forum: Plugins
In reply to: [UpdraftCentral Dashboard] The process has been aborted due to an errorHello,
Sorry for the delay in writing back to you. I re-designed my site and launched it this week. I just re-installed the Updraft Dashboard and the updates worked fine, without any errors.
The plugins were all from www.ads-software.com. I was using the Updates link in the left hand side menu.
Thank you for your help. I’m marking this as resolved.Forum: Plugins
In reply to: [UpdraftCentral Dashboard] The process has been aborted due to an errorHi David,
Sorry, it’s still not working. Here are the new console errors:UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.2:2 Error field: compare dashboard.min.js?ver=0.6.2:2 Error type: function dashboard.min.js?ver=0.6.2:2 Error value follows: dashboard.min.js?ver=0.6.2:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} dashboard.min.js?ver=0.6.2:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.2:2 Error field: compare dashboard.min.js?ver=0.6.2:2 Error type: function dashboard.min.js?ver=0.6.2:2 Error value follows: dashboard.min.js?ver=0.6.2:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} updates.min.js?ver=0.6.2:2 Uncaught TypeError: Cannot read property 'focus' of null at HTMLAnchorElement.<anonymous> (updates.min.js?ver=0.6.2:2) at HTMLDivElement.dispatch (jquery.min.js:5) at HTMLDivElement.v.handle (jquery.min.js:5) dashboard.min.js?ver=0.6.2:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.2:2 Error field: compare dashboard.min.js?ver=0.6.2:2 Error type: function dashboard.min.js?ver=0.6.2:2 Error value follows: dashboard.min.js?ver=0.6.2:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} dashboard.min.js?ver=0.6.2:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.2:2 Error field: compare dashboard.min.js?ver=0.6.2:2 Error type: function dashboard.min.js?ver=0.6.2:2 Error value follows: dashboard.min.js?ver=0.6.2:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0}
Forum: Plugins
In reply to: [UpdraftCentral Dashboard] The process has been aborted due to an errorHello,
Thank you, however it is still not working. There are some new error messages in the console:dashboard.min.js?ver=0.6.1:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.1:2 Error field: compare dashboard.min.js?ver=0.6.1:2 Error type: function dashboard.min.js?ver=0.6.1:2 Error value follows: dashboard.min.js?ver=0.6.1:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} dashboard.min.js?ver=0.6.1:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.1:2 Error field: compare dashboard.min.js?ver=0.6.1:2 Error type: function dashboard.min.js?ver=0.6.1:2 Error value follows: dashboard.min.js?ver=0.6.1:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} dashboard.min.js?ver=0.6.1:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.1:2 Error field: compare dashboard.min.js?ver=0.6.1:2 Error type: function dashboard.min.js?ver=0.6.1:2 Error value follows: dashboard.min.js?ver=0.6.1:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0} dashboard.min.js?ver=0.6.1:2 UpdraftCentral: send_site_rpc(updates.do_updates) - the submitted data parameter contains unserializable types (follows) dashboard.min.js?ver=0.6.1:2 Error field: compare dashboard.min.js?ver=0.6.1:2 Error type: function dashboard.min.js?ver=0.6.1:2 Error value follows: dashboard.min.js?ver=0.6.1:2 function (d){if(this.length!=d.length)return!1;for(var b=0;b<d.length;b++)if(this[b].compare&& !this[b].compare(d[b])||this[b]!==d[b])return!1;return!0}