-
Notifications
You must be signed in to change notification settings - Fork 110
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
Error in ebizmarts_ecommerce after upgrading to 1.0.26 #186
Comments
Hi @andrewkett thanks for your feedback. Best |
@gonzaloebiz, I can confirm the same behavior reported by @andrewkett on 2.1.10. Seeing this on Magento Cloud in the cron log:
I hope that helps a little. Thanks for looking at this. |
i just try with a clean magento 2.1.10 installation with sample data. mc-magento2/Setup/InstallData.php Line 16 in e156b17
Line 311 in 5e58cbe
Waiting for more information. Best |
Sorry @gonzaloebiz somehow I left this info off my origin comment. I have updated it with preconditions. |
i will check with magento 2.2.1 and back to you Best |
@gonzalobiz, I agree it's not immediately obvious that this is related to the extension but that does seem to be the case to me at the moment. After going back to 1.0.25 I don't get the issue anymore. As you said the stack trace doesn't reference the extension so it's hard to pinpoint the exact cause. When I a chance (probably won't be for a few days) I will try with PHP 7.0 and 5.6 to rule the php version out as the problem. |
Clearing out the Here's the trace I was able to surface by logging the exception in this
The field causing the issue in my case was On a more positive note, the Notably, uncommenting the orders sync after that did not cause the error to return, and I could see some order records had been inserted in Based on this, it seems that:
Does this check out for you, @gonzaloebiz and @andrewkett? |
this issue is looks like not the same as the original, please open a new one Best |
apply the associate commit. Best |
@gonzaloebiz what are your timeframes for the 1.0.27 release? Currently 1.0.26 isn't usable for us so would be great to have the next release with this fix in it. |
Hi @andrewkett can you confirm if the commit fix your issue? Best |
this issue is the same I was having, #190 No error message are logged if ebizmarts_ecommerce cron job is already stuck at a status of running. Once I cleared the running job .... I was able to reproduce the following php error
I can confirm that this commit fixed the php error and is now allowing us to sync |
The #191 commit does seem to resolve the issue thanks @gonzaloebiz 👍 |
Issue Description
Running ebizmarts_ecommerce after upgrading to 1.0.26 results in a fatal php error if DI has been compiled using setup:di:compile
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given, called in /var/www/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /var/www/src/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php:26
Preconditions
Steps to reproduce
php bin/magento cron:run
if the job is scheduled)Expected Result
ebizmarts_ecommerce task runs successfully
Actual Result
ebizmarts_ecommerce dies with fatal php error highlighted above
The text was updated successfully, but these errors were encountered: