Hi there,
I get the following error when viewing an order;
Order View
Information Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving.

Similar issue over at https://stackoverflow.com/questions/51381289/click-orders-and-im-getting-information-changes-have-been-made/51438854#51438854
Be interesting to hear some thoughts :)
Hi @bedroomathletics. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento-engcom-team give me {$VERSION} instance
where {$VERSION} is version tags (starting from 2.2.0+) or develop branches (2.2-develop +).
For more details, please, review the Magento Contributor Assistant documentation.
@bedroomathletics do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
@magento-engcom-team give me 2.2.5 instance
Hi @bedroomathletics. Thank you for your request. I'm working on Magento 2.2.5 instance for you
Hi @bedroomathletics, here is your Magento instance.
Admin access: https://i-16958-2-2-5.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.
Hello @bedroomathletics, thank you for your report. I cannot reproduce this issue. Could you please provide more details?
@bedroomathletics, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.
@bedroomathletics disables module Temando_Shipping can be solved
Disabling Temando_Shipping fixed this for me as well. Probably something to due with existing data on a magento instance being upgraded.
Disabling Temando_Shipping fixed this for me as well. Strange things is, that on dev-server it was working but on live server error was shown ...
I have disabled the temando shipping extension but the issue still persists? it works on my local environment, but not on my staging environment (which has production mode enabled)
Any ideas?
Hello,
This is present in Magento 2.2.7 also. Bug is related to strict type and the method Magento\Sales\Block\Adminhtml\Items\Column\Name::truncateString()
For me error appears for Downloadable products in phtml file:
vendor/magento/module-downloadable/view/adminhtml/templates/sales/items/column/downloadable/name.phtml
So override the file in your theme and just above:
<?= $block->truncateString($_option['value'], 55, '', $_remainder) ?>
add:
<?php
// This is a fix for "PHP Fatal error: Uncaught TypeError: Argument 4 passed to ... truncateString"
// Happens when you try to open a Sales > Orders then to open an order
// You must initialize the $_remainder variable to empty string
$_remainder = '';
?>
Alternative way is to fix method definition to except null as an argument. Magento\Sales\Block\Adminhtml\Items\Column\Name::truncateString()
I believe it is a line:
string &$remainder = '',
and should be
?string &$remainder = '',
The ? means null is allowed as a value. (Be aware ?string is allowed only in php 7.1+)
Hope this helps.
Best Regards
The related commit, which introduce strict types, the nullable argument is missing: https://github.com/magento/magento2/commit/c199ed0076b5ab65f6c7b52dcc58aba83790ac54
It is only present on 2.2.x. It has never been merged (why?).
In M2 2.3 EE, error thrown to orders having bundle items only.
Disabling Temando Shipping Module fixes the issue.
Will report to Mage Team.
Hi @bedroomathletics. Thank you for your report.
The issue has been fixed in magento/magento2#20849 by @emilie-blackbird in 2.2-develop branch
Related commit(s):
The fix will be available with the upcoming 2.2.10 release.
I have the same error in 2.3.1 tomado shipping is allready disabled
1) I have the same error in 2.2.9 Temando_Shipping is already removed in 2.2.9 magento version
2) I have also tried following solution but in name.php there is already " &$remainder = ''," value set
solution link : https://github.com/magento/magento2/pull/20849/files/891123b5b3683f6bee77f8488f60e1e7a9a90d71
app/code/Magento/Sales/Block/Adminhtml/Items/Column/Name.php
I also have this issue in 2.3.3 Community Edition. I have not yet tried to disable Temando Shipping as suggested by others. When I try to view a couple of orders on our system, we get the message...
"Information Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving."
Viewing the source html does not list any specific error. It is only happening on two specific orders. One has a status of 'closed' which was refunded, the other 'processing'. I am able to view other orders without issue.
I have the same error in 2.2.6 and disabling Temando_Shipping don't fixed it also i tried overriding vendor/magento/module-downloadable/view/adminhtml/templates/sales/items/column/downloadable/name.phtml but error doesn't fixed
I have the same error in 2.2.6 and disabling Temando_Shipping don't fixed it also i tried overriding vendor/magento/module-downloadable/view/adminhtml/templates/sales/items/column/downloadable/name.phtml but error doesn't fixed
Me too ! do you have a solution please !
Hi please delete following attribute from database "eav_attribute" table
ts_packaging_type
ts_packaging_id
ts_country_of_origin
On Mon, May 11, 2020 at 11:37 AM AmiraBa-Dev notifications@github.com
wrote:
I have the same error in 2.2.6 and disabling Temando_Shipping don't fixed
it also i tried overriding
vendor/magento/module-downloadable/view/adminhtml/templates/sales/items/column/downloadable/name.phtml
but error doesn't fixedMe too ! do you have a solution please !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/16958#issuecomment-626780410,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSXAVPCRN5ADAKFKQVEC7TRRALSZANCNFSM4FK6ZN5A
.
Hi please delete following attribute from database "eav_attribute" table
but take first table backup and then delete entry
ts_packaging_type
ts_packaging_id
ts_country_of_origin
On Tue, Jan 28, 2020 at 5:38 AM mdsoft123456 notifications@github.com
wrote:
I have the same error in 2.2.6 and disabling Temando_Shipping don't fixed
it also i tried overriding
vendor/magento/module-downloadable/view/adminhtml/templates/sales/items/column/downloadable/name.phtml
but error doesn't fixed—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/16958?email_source=notifications&email_token=AMSXAVIWUCZEFCWL5GNPY63RAADKDA5CNFSM4FK6ZN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKC2FVY#issuecomment-579183319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSXAVPVA6GPQVUR3HB5VM3RAADKDANCNFSM4FK6ZN5A
.
Hi please delete following attribute from database "eav_attribute" table
but first take table backup and then delete entry
ts_packaging_type
ts_packaging_id
ts_country_of_origin
On Tue, Oct 22, 2019 at 3:44 PM chrisperver notifications@github.com
wrote:
I also have this issue in 2.3.3 Community Edition. I have not yet tried to
disable Temando Shipping as suggested by others. When I try to view a
couple of orders on our system, we get the message..."Information Changes have been made to this section that have not been
saved. This tab contains invalid data. Please resolve this before saving."Viewing the source html does not list any specific error. It is only
happening on two specific orders. One has a status of 'closed' which was
refunded, the other 'processing'. I am able to view other orders without
issue.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/16958?email_source=notifications&email_token=AMSXAVM6XIOQW5RXP25CUSLQP5JZHA5CNFSM4FK6ZN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB66NQI#issuecomment-545121985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSXAVJZFJ34TRPVG26BEG3QP5JZHANCNFSM4FK6ZN5A
.
Run the below command to solve the issue :
php bin/magento module:disable Temando_Shipping --clear-static-content
I have this error - I can't access the order nor delete it.
Running Magento 2.3.5-p1
Any solution? temando_Shipping does not exist.
I just found out if a product that belongs to the order is deleted, you can't access the order view page anymore and you see the same error message. As a workaround, I restored the product and updated the order_item table with the new product id. And, I was able to access the order page again.
I restored the product and updated the order_item table with the new product id.
how did you do the above please?
I restored the product and updated the order_item table with the new product id.
how did you do the above please?
@Aswan2016 I created a product with the same SKU (m-sample-sku) which was deleted after the order was placed.
After that, I searched for the item rows using order_id in sales_order_item and replaced the previous product_id with a new product id of (m-sample-sku).

Most helpful comment
@bedroomathletics disables module Temando_Shipping can be solved