Skip to content

Could not save category: No such entity with id = 3218 #8

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

Open
SergioVillarBermejo opened this issue May 22, 2025 · 8 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@SergioVillarBermejo
Copy link

I get this error when I try to save the URL KEY, the title, etc. Everything works fine except the URL.

@thomas-kl1 thomas-kl1 self-assigned this May 22, 2025
@thomas-kl1 thomas-kl1 added the bug Something isn't working label May 22, 2025
@thomas-kl1
Copy link
Member

Hello @SergioVillarBermejo

Your issue is not clear, could you give me some exemple of data you are trying to import and that throws this error please?

Regards,

@SergioVillarBermejo
Copy link
Author

SergioVillarBermejo commented May 22, 2025

Hello @thomas-kl1

I import the following data and as I told you, if I don't change the URL it saves it correctly, but if I change the URL it gives me that error.

"category_code","umm_cat_label","description","is_active","meta_description","meta_robots","name","meta_title","category_seo_name","url_key","use_in_crosslinking","store","parent_code"
"root_catalog_store_url",,"<div data-content-type=""html"" data-appearance=""default"" data-element=""main""><h2>Gemelos de camisa hombre originales</h2><p>&iquest;Necesitas unos <strong>gemelos para camisa</strong> originales? &iquest;Quieres algo &uacute;nico y diferente al resto? Si tienes un acto, un evento o una celebraci&oacute;n clave y quieres un toque original, sin duda en store tenemos lo que buscas. Contamos con <strong>ofertas de gemelos originales</strong> ordenados en diferentes categor&iacute;as que van desde los m&aacute;s divertidos a otros de dise&ntilde;o personalizado, exclusivo o antiguo.</p><p>En <a href=""https://store/complementos-y-accesorios-para-hombre.html"" title=""store"">store</a> puedes <strong>comprar gemelos originales online</strong> al mejor precio y con gran variedad de temas. Si quieres unos gemelos diferentes sin duda aqu&iacute; tienes los que buscas. Contamos con un cat&aacute;logo que incluyen gemelos de <a href=""https://strote/gemelos-variados/gemelos-de-camisa-animales.html"" title=""Gemelos de animales"">animales</a>, banderas, ceremonias, juegos, LGTBI, frases, naturaleza, nudos, cine, divertidos, motor, aviones, calaveras, comidas, equipos, militares, m&uacute;sica, deportes, letras, g&oacute;ticos, n&aacute;utica, y muchos m&aacute;s.</p>","1","Découvrez nos boutons de manchette originaux en ligne classés par catégories allant des plus amusants aux plus exclusifs ou personnalisés. Trouvez les vôtres !",,"Boutons de manchette originaux","Acheter boutons de manchette originaux en ligne",,"boutons-de-manchette-originaux","1","fr","root_catalog_store"

@thomas-kl1
Copy link
Member

Thank you, I'll take a look this afternoon!

@SergioVillarBermejo
Copy link
Author

Thanks

@thomas-kl1
Copy link
Member

@SergioVillarBermejo I did not face errors while importing your file (I've replaced the store code and parent_code).
Do you use the latest version of the module? Also could you look what throws your error (Could not save category: No such entity with id = 3218)? It could be a plugin or an after save action.

@SergioVillarBermejo
Copy link
Author

I downloaded the repository from the download button

@SergioVillarBermejo
Copy link
Author

Hello @thomas-kl1

I have already found the error, they are old URLs and the category no longer exists.

@thomas-kl1
Copy link
Member

I suggest you to install any third party module through composer!

Ok so all good with the module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants