diegosn79
Forum Replies Created
-
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] PHP Fatal error in log, with psr vendorHi, I installed it and it works perfectly.
Thank you very much for the help.
Kind regards.Forum: Plugins
In reply to: [Cart PDF for WooCommerce] PHP Fatal error in log, with psr vendorHello, I tested the version and I confirm that it works well. I can send the products to the cart and there are no errors in the log.
Thank you very much for the help.
Kind regards.Forum: Plugins
In reply to: [Cart PDF for WooCommerce] PHP Fatal error in log, with psr vendorHi, ok I’m going to use the previous version.
Thank you very much for the help.Forum: Plugins
In reply to: [Cart PDF for WooCommerce] PHP Fatal error in log, with psr vendorHI! Yes, we are using Flexible Shipping v4.25.8
I found that the Ajax template works, but not the others.
I’ll keep that in mind, thank you and best regards.
Forum: Plugins
In reply to: [WooCommerce] After the 8.5.0 update, I encountered an errorSame here! To solve it, I uploaded version 8.4 from ftp.
This is my site info:
### WordPress Environment ### WC Version: 8.4.0 REST API Version: ✔ 8.4.0 WC Blocks Version: ✔ 11.6.2 Action Scheduler Version: ✔ 3.7.0 Log Directory Writable: ✔ WP Version: 6.4.2 WP Multisite: – WP Memory Limit: 3 GB WP Debug Mode: – WP Cron: – Language: es_AR External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.1.26 PHP Post Max Size: 64 MB PHP Time Limit: 340 PHP Max Input Vars: 1000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 8.0.35-cll-lve Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.4.0 ### Theme ### Name: Flatsome Child Version: 3.0 Author URL: Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.18.2 Parent Theme Author URL: https://uxthemes.com WooCommerce Support: ✔ ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-external-affiliate settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2024-01-09 12:37:03 -03:00 Options: ✔ Notes: 7 Onboarding: completed ### Action Scheduler ### Completar: 244 Oldest: 2023-12-09 17:17:26 -0300 Newest: 2024-01-08 17:29:42 -0300 Pendiente: 1 Oldest: 2024-01-09 17:29:42 -0300 Newest: 2024-01-09 17:29:42 -0300 ### Status report information ### Generated at: 2024-01-09 09:35:42 -03:00- This reply was modified 2 years, 4 months ago by diegosn79.
Hi @mansurahamed! With all due respect to you for making the application. I found some bugs in the code that do not allow the plugin to work properly. in the file class-api.php, the case 2 must be the csa_woocommerce_bot_prompt, and case 3 the csa_custom_product_bot_prompt.
And the lines 83 and 84 in the file class-admin-settings.php where has the name=”chatbot_type” value inverted too.
With those changes, the option to work with Woocommerce Products Assistant allows the chat to answer basic questions, but it doesn’t manage to reach the database to take product data lie prices, description, etc. That’s another issue I haven’t managed to make it work.
I offer my help to make improvements if you need it.
Good week, greetings.Hello Mansur, how are you?
I admire your dedication and work, this plugin is very useful!
I was testing the plugin on a Woo site and I see that the response is always the same, even in the test site of the plugin also happens the same, you can see it in the image.Where do you think the problem could be? Thank you very much. Greetings from Argentina.
Hello Igor, the problem appears when using the credit card payment method managed by the NPS Ingenico plugin
https://github.com/Ingenico-NPS-Latam/nps-plugin-woocommerceThis plugin is not maintained by technical support.
I think the problem is generated when the plugin delivers the tax or installment applied with this format number that we use in Argentine $1,000.00.
I found the solution so that it doesn’t throw the error anymore and everything works correctly. It would be ideal if some wc expert could confirm this:
The “PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + string” error occurs when trying to add two values of type string instead of adding two numbers. In the line where the value of “value” is set, the wc_price function returns a string representing a formatted price, and tries to add that value with another string ($fee->get_total_tax()) to calculate the price including tax .
To fix the error, both values must be converted to numbers before adding them, for example, using floatval in file abstract-wc-order.php lines 2195-2197:
$total_rows[ ‘fee_’ . $fee->get_id() ] = array(
‘label’ => $fee->get_name() . ‘:’,
‘value’ => wc_price( ‘excl’ === $tax_display ? floatval( $fee->get_total() ) : floatval( $fee->get_total() ) + floatval( $fee->get_total_tax() ), array ( ‘currency’ => $this->get_currency() ) ),);Hi there! The same as @cagey1872 here, i have update to 1.3.12 and now the log in Chrome show this error:
Uncaught ReferenceError: pi_ppscw_setting is not defined
at managingCalculator.getMethods (pisol-product-page-shipping-calculator-woocommerce-public.js?ver=1.3.12:114:10)
at managingCalculator.onloadShippingMethod (pisol-product-page-shipping-calculator-woocommerce-public.js?ver=1.3.12:96:10)
at managingCalculator.init (pisol-product-page-shipping-calculator-woocommerce-public.js?ver=1.3.12:8:9)
at HTMLDocument. (pisol-product-page-shipping-calculator-woocommerce-public.js?ver=1.3.12:153:25)
at e (jquery.min.js?ver=3.6.1:2:30038)
at t (jquery.min.js?ver=3.6.1:2:30340)Any help is welcome
Hi!
Following your instructions, I managed to find the error, the “woo save and share carts” plugin generated a conflict, deleting it and reinstalling it solved the problem.
Thank you very much for your help.
RegardsForum: Plugins
In reply to: [Empty Cart Button for WooCommerce] Version 1.3.1 upgraded and new issueHi!
We have updated the last version and it´s working fine now.We appreciate you time and work!!!
Regards.