Git Product home page Git Product logo

Comments (7)

zlik avatar zlik commented on June 26, 2024 1

@nix0x00, thanks for sharing the details – super helpful for understanding the problem!

A quick fix should be enabling these 2 Magento modules (you might need to add them back to composer.json as well):

  • Magento_InventoryApi
  • Magento_InventorySourceDeductionApi

Guide: https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html

Also, we're going to prepare a new version of the extension later this week in which multi-source inventory will be optional so the extension will work without enabling those modules.

from facebook-for-magento2.

zlik avatar zlik commented on June 26, 2024

@nix0x00, thanks for opening a fresh task. Does vendor/magento/module-inventory-api/Api/SourceRepositoryInterface.php exist in your Magento codebase? Is Magento_InventoryApi module enabled in your etc/config.php file? Also, can you please try removing all files in the ./generated directory and rerunning bin/magento setup:di:compile?

from facebook-for-magento2.

nix0x00 avatar nix0x00 commented on June 26, 2024

@nix0x00, thanks for opening a fresh task. Does vendor/magento/module-inventory-api/Api/SourceRepositoryInterface.php exist in your Magento codebase? Is Magento_InventoryApi module enabled in your etc/config.php file? Also, can you please try removing all files in the ./generated directory and rerunning bin/magento setup:di:compile?

@zlik I have disabled all the modules for module-inventory*. As its a single store and no much of these extensions are required. Therefore, as recommended by yireo I had used their replace modules in compose.json to increase the performance.

from facebook-for-magento2.

duxabilii avatar duxabilii commented on June 26, 2024

Similar issue from admin panel when try to save product
( ! ) Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryApi\Api\SourceItemRepositoryInterface in /var/www/magento-multisite/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50
facebook_module_issue.zip

from facebook-for-magento2.

nix0x00 avatar nix0x00 commented on June 26, 2024

@nix0x00, thanks for sharing the details – super helpful for understanding the problem!

A quick fix should be enabling these 2 Magento modules (you might need to add them back to composer.json as well):

  • Magento_InventoryApi
  • Magento_InventorySourceDeductionApi

Guide: https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html

Also, we're going to prepare a new version of the extension later this week in which multi-source inventory will be optional so the extension will work without enabling those modules.

Alright, that will be good. I shall wait for that version then for now as I do not want to enable these extra modules.

from facebook-for-magento2.

nix0x00 avatar nix0x00 commented on June 26, 2024
  • Magento_InventoryApi

I have installed the modules you mentioned and now I do not see that error. However, I get following message on browser when I click Stores > Config > Facebook >

An error has happened during application run. See exception log for details.

System.log :

https://raw.githubusercontent.com/nix0x00/newsletter_subscribers/master/facebook-1.2.7.log

from facebook-for-magento2.

zlik avatar zlik commented on June 26, 2024

Reverted multi-source implementation in 1.4.0. Please update to this version and reopen the task if the issue is still happening for you. Thanks!

from facebook-for-magento2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.