-
Notifications
You must be signed in to change notification settings - Fork 12
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
[BUGFIX] Solved Missing Configuration because of Illegal string offse… #13
base: master
Are you sure you want to change the base?
Conversation
@lewisvoncken Using PHP's error suppression is typically not recommended. I'm not exactly sure why that error is getting triggered as I don't have steps to reproduce, but I'm guessing it's because the
|
Hi Erik, I'm currently experiencing the same error. You're correct it's because the $option variable is not an array. It's a Phrase object in this case. The error seems to occur only in Commerce. I'm on 2.2.4, the errors occurs on the field catalog/magento_catalogpermissions/grant_catalog_product_price. Your proposed fix does not work if it's a Phrase object, the fix below does.
|
@rubenexp Can you provide detailed steps to reproduce this issue? I'm not able to on a Magento 2.2.3 Commerce site. I tested on an environment running in both development mode and production mode. |
@erikhansen I think it's related to different scope settings.
Maybe this only occurs in 2.2.4, I don't have the option atm to test this on 2.2.3 myself. |
If I may intervene, I just had the exact same issue. This only occurs when Magento B2B Extension is installed as at least one of the source models used in one of the B2B modules implements a source model that does not return the expected array structure. |
This has been changed |
For the record, I just ran into this error after configuring the TaxJar extension at different scopes:
This fix in this PR didn't solve the problem, as I had to slightly tweak it: Before:
After:
|
@erikhansen |
…t 'value'