Skip to content
This repository was archived by the owner on Apr 30, 2023. It is now read-only.

Delete The connection #61

Open
MuhammadAbdullah805 opened this issue Jun 21, 2021 · 3 comments
Open

Delete The connection #61

MuhammadAbdullah805 opened this issue Jun 21, 2021 · 3 comments

Comments

@MuhammadAbdullah805
Copy link

I want to disconnect the Facebook connection for some reason, But I am unable to delete the connection from under stores->Facebook->setup by pressing this button "Delete Connection",
Can you please let me know the steps that I will follow to disconnect/delete the connection ?

@benxutech
Copy link

benxutech commented Jul 6, 2021

I had trouble with this as well and looking through the code I couldn't see anything that would actually unset the config for installation. It did seem to remove the Facebook connection though, but just not on Magento's side.

It may not be the best solution, but what I did was truncate/drop the facebook_business_extension_config table and then run php bin/magento setup:upgrade. It no longer appeared after that (and I was able to connect to another one again).

Edit: My bad, there is indeed a method in the code that deletes the connection on Magento. It seems to not be firing because of an XHR returning an error when pressing the delete button.

@MuhammadAbdullah805
Copy link
Author

Exactly, I did also change the facebook_business_extension_config table by one of its entry related to enable disable from 1 to 0,It solved my issue . But that is not the ultimate solution. The Extension provider must provide a solution of this problem ASAP

@tanolalano
Copy link

Same issue here. I'm Using truncate table suggestions @benxutech
Magento 2.4.3 and Facebook for Magento 1.4.2

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

No branches or pull requests

3 participants