Skip to content
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

Errors after enable module #17

Open
felek000 opened this issue Sep 21, 2022 · 3 comments
Open

Errors after enable module #17

felek000 opened this issue Sep 21, 2022 · 3 comments

Comments

@felek000
Copy link

Hello,
I add module using composer. But not enable it by start. After some time run use commands:
bin/magento module:enable MiraklSeller_Api MiraklSeller_Core MiraklSeller_Process MiraklSeller_Sales && bin/magento s:up
That made error like so:

MiraklSeller_Api schema: current version - none, required version - 1.2.0
MiraklSeller_Api data: current version - none, required version - 1.2.0
MiraklSeller_Process schema: current version - none, required version - 1.0.0
MiraklSeller_Process data: current version - none, required version - 1.0.0
MiraklSeller_Core schema: current version - none, required version - 1.0.0
MiraklSeller_Core data: current version - none, required version - 1.0.0
MiraklSeller_Sales schema: current version - none, required version - 1.0.2
MiraklSeller_Sales data: current version - none, required version - 1.0.2

So I add to table module proper data modules were visible as enabled.
However there were no databse tables related to module. I create them manually.
Also check MiraklSeller_Sales and add some costom fields to order/shippment/creditmemo table like in setup page.

However when i enable modules i get error on sales/order table in admin
Notice: Undefined index: mirakl_connection_id in /data/web/magento2/vendor/mirakl/magento2-seller-connector/Sales/Ui/Component/Sales/Order/Grid/Column/OrderSource.php on line 62

From stonefront i cant make any order.
I disable only MiraklSeller_Sales module and table and order works fine.
How can I solve this ?
Is it possible to remove this module and install it again using composer ?
If possible what files/composer entry/database entry/or settings should i remove before ?

Regards

@jreinke
Copy link
Collaborator

jreinke commented Sep 21, 2022

Hello,

May I ask you how you installed the connector please? (which command has been executed)
Also, what was the output of the module:enable command on the MiraklSeller_* modules?

Thank you.

@felek000
Copy link
Author

On start we have it on dev serwer, and works well.
We have auto comands to prod for sync and we get copy entire vendor and dependency. Ten module was not enabled since we want to enable it later. So standard s:up was triggered. Few other modules triggered that way works fine however after
php bin/magento module:enable MiraklSeller_Api MiraklSeller_Core MiraklSeller_Process MiraklSeller_Sales we have errors described up.
Regards

@felek000
Copy link
Author

felek000 commented Sep 22, 2022

I solved it by adding columns to mysql and now i have no errors in modules. I see now one error whatever filters i set my Products / Prices & Stocks (0) are always 0. Should i run some extra command (refresh product did not show elements)
I try run command from cli:
bin/magento mirakl:seller:listing-refresh --all fter that i have always 0 products

Condition is
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants