Magento script error.

Closed Posted 6 years ago Paid on delivery
Closed

Please have a look at the gist. [login to view URL]

This function will delete products and attributes based on the category.

When I run this function, and then run another function to insert products, it will give me this foreign key error.

If I first run the delete, stop the script, then run the insert --> no error.

This needs to be fixed.

Please include a brief idea of the problem in your proposel.

Magento Open Cart PHP Prestashop Shell Script

Project ID: #15344633

About the project

40 proposals Remote project Active 6 years ago

40 freelancers are bidding on average €45/hour for this job

bestworkontime9

Hi, I have gone through with your requirements and understood the issue. I am an experienced Magento developer and much able to fix this issue with perfection and can start work now. I have over 7+ year of wor More

€37 EUR / hour
(624 Reviews)
8.5
safecodedev

Hi, can I help you ? I am magento developer and designer, I am interested to work with you, I will do this job, can we discuss about project ? waiting for your reply. bye.

€40 EUR / hour
(164 Reviews)
6.6
sunnysmile911

Hi I am interested in this project. I have checked gist error and it seems you are adding attribute which is not in db, or some error occurred in attribute process. Let us discuss in detail Thank you

€40 EUR / hour
(33 Reviews)
6.6
pradipmanna2000

Hello, I am really interested to work on this project. I am working on magento 1.9 and magento 2 last 6 years. Also working on PHP, Wordpress, shopify, Joomla etc. Over all 12 years on web development experience. you More

€40 EUR / hour
(105 Reviews)
6.3
somalime

Hello, My name is Soma, a full stack certified Magento developer with more than 5 years of experiences. It looks like the problem is in your database, but I need to check it to make sure. Feel free to contact More

€40 EUR / hour
(8 Reviews)
5.4
IcreativeTech

Hello, Hope you are doing well. We are one of the best It company of USA working on magento since long time and we have developed many magento solutions till now. Our expertise team have worked on many project More

€47 EUR / hour
(12 Reviews)
5.3
DariaBest

Strange you are customers, or do not believe the right people or take Indians) As promised, I write after getting acquainted with the problem. Did not you try to use $model->delete() instead of deleting it through th More

€37 EUR / hour
(6 Reviews)
4.9
omniscient04

Hello We are a contemporary and excellent Website design and development team with a focus on user-centered design while helping clients to achieve the desired result. We are a dynamic and outstanding team with 5+y More

€36 EUR / hour
(20 Reviews)
4.8
mayankinnovative

I am expertise in php, core php, CMS, HTML5, CSS3, bootstrap, WordPress, OpenCart, Magento, PSD to HTML, Angular JS, Node JS photoshop, OPencart, Codeignitor, Laravel and many other technologies. I have 10 year of exp More

€36 EUR / hour
(187 Reviews)
4.7
AnExpertcoder

Hi there! Did go through your Job Description and glad to share that I have experience in working with php and Magento (1&2) platform.  I also have expertise with Joomla, WordPress, PHP, PHP Scripting, laravel and Code More

€39 EUR / hour
(19 Reviews)
3.9
unikinfoways

We have 7+ years expertise magento developer team and we can easily fix script error for you. Can you please share your best time for the chat so we can discuss further and move ahead?

€36 EUR / hour
(3 Reviews)
3.3
skynetfreelance

it's look like data not deleted perfectly one solution is you can disable foreign key check at product insert time. and enable after insertion.

€40 EUR / hour
(0 Reviews)
0.0