I am facing an issue with this plugin because the plugin creates conflict on my website. It causes issues with proper data loading and completing the request. This plugin is not showing the proper data on the website in many places such as the orders page. So please, can you tell me something about this issue or update the plugin.
]]>I am working on a woocommerce website. I am using the latest version of wordpress, woocommerce and transdirect shipping. I am seeing the error below when pressing draft or publish products.
These are the last 3 lines of error log from a website.
[07-Feb-2024 08:31:36 UTC] PHP Warning: Trying to access array offset on value of type null in /home/argiegri/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php on line 601 [07-Feb-2024 08:31:56 UTC] PHP Warning: Trying to access array offset on value of type null in /home/argiegri/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php on line 601 [07-Feb-2024 08:39:45 UTC] PHP Warning: Trying to access array offset on value of type null in /home/argiegri/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php on line 601
Can you help me please?
WordPress Version: Version 6.4.2
Woocommerce Version: Version 8.0.3
Does this plugin not support the latest version of wordpress? We’re no longer able to use transdirect and are looking at shipstation as an alternative if we can’t resolve this
See the error I am receiving below:
Warning: Undefined array key “products” in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php on line 91
Fatal error: Uncaught TypeError: count): Argument #1 ($value) must be of type Countable|array, null given in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php:91 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php(56): product_sync-
]]>get_product_data() #1 /home/xxx/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php(992): product_sync->sync_updated_product) #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(326):
action_woocommerce_update_product() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters) #4 /home/xxx/public_html/wp-
includes/plugin.php(517): P_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(275): do_action() #6 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196):
WC_Product_Data_Store_CPT->update() #7 /home/xxx/public_html/wp-
content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1432):
WC_Data_Store->update() #8 /home/xxx/public_html/wp-|
content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(424): WC_Product->save() #9 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Meta_Box_Product_Data::save) #10 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11
/home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action( #12
/home/xxx/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(273): do_action() #13 /home/xxx/public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes) #14
/home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()15 /home/xxx/public_html/w-includes/plugin.php(517): WP_Hook->do_action( #16/home/xxx/public_html/wp-includes/post.php(4760): do_action() #17
/home/xxx/public_html/wp-includes/post.php(4862): wp_insert_post) #18
/home/xxx/public_html/wp-admin/includes/post.php(453): wp_update_post() #19 /home/xxx/public_html/wp-admin/post.php(227): edit_post) #20 {main} thrown in /home/xxx/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php on line 91
There has been a critical error on this website. Please check your site admin email inbox for
Hi there, somewhat hoping this has happened to someone else or someone knows what to do so this can get resolved ASAP. If you add anything to your cart on the website above you will see what I’m describing.
Everything is working up until the Transdirect section where customers are able to add their delivery post codes etc. and they should receive quotes accordingly. Unfortunately, nothing happens when we enter postcodes into the relevant section.
Does anyone know what to do? Thanks!
]]>Hi,
I am experiencing a few issues with this plugin:
PHP Fatal error: Uncaught Error: Call to a member function get_sku() on null in l/wp-content/plugins/transdirect-shipping/includes/quotes.php:286
Stack trace:
0 /wp-content/plugins/transdirect-shipping/includes/order_sync.php(151): Quotes->td_get_cart_items(Array, false)
1 /wp-content/plugins/transdirect-shipping/includes/order_sync.php(237): order_sync->td_sync_all_orders(Object(WC_Order))
2 /wp-content/plugins/transdirect-shipping/transdirect_shipping.php(946): order_sync->td_create_order()
3 /wp-includes/class-wp-hook.php(308): td_my_repeat_function()
4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
5 /wp-includes/plugin.php(565): WP_Hook->do_action(Array)
6 /wp-cron.php(188): do_action_ref_array(‘mycronjob’, Array)
]]>Hello!
I may have a similar problem, as in this post https://www.ads-software.com/support/topic/transdirect-plugin-not-compatible-with-elementor /.
We have WordPress 6.2 and Woocommerce 7.5.1 installed. We also use a theme where the main editor is Elementor. The Transdirect plugin is installed and the api key is entered. The test was passed normally. The settings have been made in the personal account of the transdirect account. But I don’t see a calculator in the order basket. Can you help with my problem? You can contact me at [email protected] .
]]><span class=”Y2IQFc” lang=”en”>
<span class="Y2IQFc" lang="en">Hello.</span></span>
<span class=”Y2IQFc” lang=”en”>
<span class="Y2IQFc" lang="en">I had a possibly similar problem as in this post https://www.ads-software.com/support/topic/transdirect-plugin-not-compatible-with-elementor/. We have WordPress 6.2 and Woocommerce 7.5.1 installed. The theme is also used, where the main editor is Elementor. Transdirect plugin installed and api key entered. The test passed normally. The settings have been made in the personal account of the transdirect account. But I don't see a calculator in the shopping cart. Can you help with my problem? I can be contacted at [email protected].</span></span> ]]>
Hi guys we had the following issue:
The ajax call https://shop.mysite.com.au/?wc-ajax=update_order_review returns 403 Forbidden when a rate is selected.
My programmer had to do a modification to solve this:
`Reason: The plugin “transdirect-shipping” adds very long data to <form>’s <input name=”billing_value”> field (15kb), and the form ajax sends with it then causes 403 Forbidden.
Solution: I changed /wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js
post_data:g(‘form.checkout’).serialize()
to
post_data:g(‘form.checkout’).find(‘input[name!=billing_value]’).serialize()
in order to exclude the very long data “billing_value”.
Can you guys please review and release a proper fix for this issue?
Thank you, Eco.
The plugin shows an error in the browser console. Because of this error the shipping cost is not calculated.
“Uncaught ReferenceError: imageUrl is not defined”
]]>It appears that the below suburb + postcode combination doesn’t bring up any freight calculations.
Nulla Vale VIC 3435
However, other nearby suburbs that appear under postcode “3435” show results fine. Is this an issue?
Thank you
]]>Is it possible to setup multi warehouse feature with Transdirect in WooCommerce? We are setting up a new warehouse in Brisbane. As I do not see any option in Shipping Zones, is there any alternate way to set this up?
]]>Since updating to WordPress 5.9.2. I am getting a critical error when saving any product related details. Eg Saving a draft, or saving changes to attributes.
The error is:
WARNING: wp-content/plugins/transdirect-shipping/includes/order_sync.php:252 – Attempt to read property “post_type” on null
get_default_post_to_edit, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, td_save_post_callback, order_sync->td_update_order
Email states:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Transdirect Shipping.`
Running Transdirect 7.1.3 plugin
If I disable the plugin, the products save without issue.
@transdirect If you need more info, please share an email where we can send more information to you.
]]>Checking the site today and although the plugin is active with latest version, it does not even show up in the Woocommerce shipping tab – not at all. Any pointers?
]]>https://d.pr/i/bSvbJ5
https://d.pr/i/wBSV0d
https://d.pr/i/1zyoCS
https://d.pr/i/Wrxgcc
Hi,
Calculated shipping cost for the order is not being added to the order. Therefore, customers can’t complete the order, it is keep saying “Please select a shipping quote” at checkout page.
Can the support team assist me with this issue?
]]>After installing the plugin, I can not create or edit the products section in woo-commerce It is giving an error. Also I got mail with below error.
Error Details
=============
An error of type E_ERROR was caused in line 104 of the file /home/ag4oz5mqnn1q/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/ag4oz5mqnn1q/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php:104
Stack trace:
#0 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/transdirect-shipping/includes/product_sync.php(56): product_sync->get_product_data()
#1 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php(992): product_sync->sync_updated_product()
#2 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(309): action_woocommerce_update_product()
#3 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /home/ag4oz5mqnn1q/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#5 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(275): do_action()
#6 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(179): WC_Product_Data_Store_CPT->update()
#7 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1383): WC_Data_Store->update()
#8 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/woocommerce-custom-thank-you-pages/includes/admin/product-functions.php(163): WC_Product->save()
#9 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(309): WooCommerce_Custom_Thank_You_Pages\Admin\save_custom_thank_you_page()
#10 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#11 /home/ag4oz5mqnn1q/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#12 /home/ag4oz5mqnn1q/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(224): do_action()
#13 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->save_meta_boxes()
#14 /home/ag4oz5mqnn1q/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#15 /home/ag4oz5mqnn1q/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()
#16 /home/ag4oz5mqnn1q/public_html/wp-includes/post.php(4686): do_action()
#17 /home/ag4oz5mqnn1q/public_html/wp-includes/post.php(4788): wp_insert_post()
#18 /home/ag4oz5mqnn1q/public_html/wp-admin/includes/post.php(426): wp_update_post()
#19 /home/ag4oz5mqnn1q/public_html/wp-admin/post.php(227): edit_post()
#20 {main}
thrown
]]>
We use the PW Gift Card plugin to create gift cards of various values that users can purchase. These are virtual products only and so should not attract any freight. Transdirect, which works well normally, asks the user to select a freight quote, however, none are available when only a gift card is in the cart and so the user cannot finish the checkout.
Can you please confirm that TransDirect ignores virtual products for freight calculations and advise what can be done.
Thanks
Steve
Hi,
I’m having issues with Transdirect presenting a “Couldn’t find any quote for your order” when customers try to place an order.
I’ve tried some of the other solutions mentioned here, like making sure our transdirect profile has address details entered, but it doesn’t seem to work.
I’ve tried reaching out to Transdirect multiple times with no response (like usual).
Has anybody had any luck fixing this issue?
Thanks,
Cameron
Bright Light Marketing.
Any ideas on this one:
Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/xxx.com/public_html/wp-content/themes/Avada/header.php:14) in /home/customer/www/xxx.com/public_html/wp-content/plugins/transdirect-shipping/transdirect_shipping.php on line 216
Hi,
Simplified mode not syncing with woocommerce/my template. It shows “enter correct postcode details”. It seems like combination of postcode and suburb sequence issue.
In the absence of Simplified mode, I am force to use Full Calc mode. However, users have to enter postcode and suburb details twice, once in woocommerce default shipping which then allow to open Transdirect calculator at the bottom of the page, users have to enter the postcode again in calculator.
Are you able to guide me on below two issues?
(1) How can I use simplified mode so when user enter shipping details in default woocommerce fields, Transdirect shipping fee is displayed?
(2) how can full calc mode use postcode and suburb details directly when user enter shipping details into default woocommerce fields?
Is that my theme which is causing this problem of others are also facing the issue?
I hope to resolve this soon.
Thanks
]]>Hi everyone,
I’m getting the following two errors –
On Cart page, when trying to add Suburb and Postcode to generate a shipping quote – “Please check transdirect settings”.
On the Checkout page, when trying to add Suburb and Postcode, it gives the following error, “Couldn’t find any quote for your order.”.
I tried the ideas suggested here -> https://www.ads-software.com/support/topic/couldnt-find-any-quote-for-your-order/ about the updating of the profile. All profile details are fine.
Rules have been set up, and simplified to ensure that a test will surely work based on the information here -> https://transdirect-1.gitbook.io/transdirect/#module-setup, but no dice.
Tried emailing Transdirect support, but it’s fallen on deaf ears. Called Transdirect, and redirected to website and forums. Feels like I’m just being given the run around at this point.
]]>Hi,
I’ve been trying to activate the plugin on my live website with no success. I keep getting
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16777224 bytes) in /home/XX/YY/wp-includes/wp-db.php on line 2023
On my dev site, which runs on MAMP, I have no problems.
The dev site has 140 products, and the live site has about 180.
]]>When customer is at checkout and they enter their postcode to obtain shipping quote it just continuously loads but doesn’t result with a quote.
]]>I got a loading error during checkout when choosing shipping options provided by this plugins. The calculator took forever calculating the total product cost.. However this did not happen when I use the default woocommerce shipping option. Is there any setting that I falsely made or any clear fix for this problem? Kindly assist.
]]>I’m having trouble getting the plugin working on a website with elementor (and elementor pro) installed. Stripping the website back with all other plugins, it will only work once this is uninstalled. Can you please advise if you are working on a fix for this?
]]>hi i need help to activate this plugin, cant get my shipping to work correctly
]]>Receiving a 403 forbidden error when searching for a postcode using the calculator.
When the calculator is not present (simplified mode) I receive a “Please sure postcode/suburb is selected)
Please advise – ERROR BELOW from console:
jquery.min.js?ver=3.5.1:2 GET https://scrapltd.com.au/wp-content/plugins/transdirect-shipping/includes/locations.php?q=2912&requestNumber=7 403
send @ jquery.min.js?ver=3.5.1:2
ajax @ jquery.min.js?ver=3.5.1:2
s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
S.<computed> @ jquery.min.js?ver=3.5.1:2
getJSON @ jquery.min.js?ver=3.5.1:2
td_autocomplete @ (index):522
(anonymous) @ (index):501
dispatch @ jquery.min.js?ver=3.5.1:2
v.handle @ jquery.min.js?ver=3.5.1:2
my email address is [email protected] for support of this client’s website.
]]>Hi Team,
We’ve had issues activating the plugin on our store.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/theredcowcomau_719/public/wp-includes/wp-db.php on line 2022
Looking into the activation code I can see the plugin attempts to load *every* WooCommerce order into memory. This will cause issues for many stores due to their size or hosting limitations.
See td_run_at_activation
A suggestion would be to do any metadata checks when needed per order.
I hope that helps
Thanks!
Morgan
I am unable to activate your plugin. I get the following error
Plugin could not be activated because it triggered a fatal error.
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) in /Applications/MAMP/htdocs/traps/wp-includes/wp-db.php on line 2022
If I deactivate WooCommerce then activate Transdirect it will activate but if I then activate WooCommerce it crashes the site. I have tried increasing Allowed Memory in the wp-config.php, php.ini and .htaccess in all sorts of combination but nothing works.
I have cloned the live site to a Local host MAMP site to try to rectify this am using the latest WordPress and PHP 7.4 have disabled all plugins except Woocommerce (see above) I have tried changing Themes all to no avail.
I tested it on MAMP on another website with WooCommerce install on and that one it activated fine. But need to be using on the site that is having the issue with. It has nearly 500 products.
All help greatly appreciated.
]]>