Comments (7)
@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.
@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, thanks for opening a fresh task. Does
vendor/magento/module-inventory-api/Api/SourceRepositoryInterface.php
exist in your Magento codebase? IsMagento_InventoryApi
module enabled in youretc/config.php
file? Also, can you please try removing all files in the./generated
directory and rerunningbin/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.
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, 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.
- 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.
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)
- [Bug]: Response header name 'FacebookAds\\CrashReporter ' contains invalid characters, aborting request
- Critical | Magento commerce 2.4.4 | Facebook Business Extension compatibility issue HOT 7
- Cannot connect FB Business account HOT 5
- [Bug]: this method dont work on varnish cache (trackServerEvent on .phtml) HOT 2
- [Bug]: Magento Frontend Not loading after installing the version 1.4.5 HOT 1
- PHP8 compatibility patches for Facebook Magento 2 Extension.
- Add to cart issue
- Setup not being saved HOT 1
- [Bug]: Magento 2.4.x and PHP8.x Compatibiliy HOT 2
- [Bug]: Table name missing dynamic prefix [fix]
- Facebook Pixel (Catalog API): Not working HOT 2
- [Bug]: Front controller reached 100 router match iterations
- [Bug]: Security errors in Facebook Magento 2 extension | V1.4.6
- [Bug]: Error while update extension by composer HOT 1
- [Bug]: GDPR Not Managed
- [Bug]: InitiateCheckout and Purchase did not calculate the discounted price
- [Bug]: Showing blank screen at frontend
- Couldn't use the extension in Multiwebsite environment in Magento 2
- [Bug]: Products with special price not getting saved HOT 1
- [Bug]: Send Event add to cart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-for-magento2.