New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertex: Magento 2.3.3. - Error on Store -> Sales -> Tax #25403
Comments
Hi @shikhamis11. Thank you for working on this issue.
|
Is there a patch for this? Having the same exact issue. Thank You |
Hello @MrAmbro We cannot reproduce this issue using the provided steps in the description.
Actual result: @shikhamis11 are you able to reproduce it? |
if it helps I experienced it on 2.3.3 Commerce and i had migrated taxes from Magento 1 to Magento 2 using the data migration tool. |
I have this problem in 2.3.3 opensource. I also migrated from magento 1 1.9.3.10. As the error message states the data retrieved by /.../vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php line 122 is not a string. parameter validation? anyone, anyone... #a quick command to force the file to rerun: A quick search finds these attributes in eav_attribute ( I hate that table and I've only been working on m2 for less than a month) I used phpadmin to add text frontend labels to all entries just in case an upgrade has the same code. |
Hello @MrAmbro and @mmmattera We have notified the vendor owner of Vertex about this report. We will provide updates as soon as we have it |
I can confirm the issue, as we also have migrated tax in our database. We migrated from 1.8.1.0 |
Hi there, we were facing the exact same error. We worked around this by disabling the Vertex module (which we anyhow do not use)
Maybe it helps you guys as well. After disabling the module all works fine again. Best regards |
This patch is not yet tested, but should resolve the issue: Index: vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php (revision 21bce02860fb6a0661f434dc38527664aaa7dded)
+++ vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php (date 1574367021765)
@@ -119,7 +119,7 @@
$attribute = $this->attributeFactory->create();
$attributeCode = $prefix . '.' . $eavAttribute->getAttributeCode();
$attribute->setAttributeCode($attributeCode);
- $attribute->setLabel($eavAttribute->getDefaultFrontendLabel());
+ $attribute->setLabel($eavAttribute->getDefaultFrontendLabel() ?: $eavAttribute->getAttributeCode());
$attribute->setOptionGroup(__($optionGroup)->render());
$attribute->setType($type);
$attribute->setProcessor($processor); If anyone using Vertex as their calculation engine needs a fix. Disabling the module also works well if you are not using Vertex as your calculation engine. A fully tested and proper fix should be included with Magento 2.3.4 |
This issue is fixed in Vertex 3.3.0 included in Magento 2.3.4 |
This issue fixed in Magento 2.3.4. |
I still see this logs on Magento 2.4..3. |
@MikeVelazcoMtz To confirm, you're unable to load the tax configuration page and see the vertex error in your log? Can you please copy/paste the error? |
I have a problem with my magento 2.3.3. installation. When i try to access the Store -> Sales -> Tax I receive this error:
Fatal error: Uncaught TypeError: Argument 1 passed to Vertex\Tax\Model\FlexField\FlexFieldProcessableAttribute::setLabel() must be of the type string, null given, called in /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php on line 122 and defined in /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/FlexFieldProcessableAttribute.php:112 Stack trace: #0 /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/Extractor/EavAttributeExtractor.php(122): Vertex\Tax\Model\FlexField\FlexFieldProcessableAttribute->setLabel(NULL) #1 /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/Processor/CustomerGetterProcessor.php(142): Vertex\Tax\Model\FlexField\Extractor\EavAttributeExtractor->extract('customer', 'customer.custom', 'Customer', 'Vertex\Tax\Mode...', Array) #2 /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/Processor/FlexFieldAttributeProcessor.php(68): Vertex\Tax\Model\FlexField\Processor\CustomerGetterPr in /home/shopmon0/public_html/vendor/vertex/module-tax/Model/FlexField/FlexFieldProcessableAttribute.php on line 112
The text was updated successfully, but these errors were encountered: