Author Topic: Empty slug product with id 341, entries exists for language  (Read 2994 times)

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Hello.

Today I have updated Joomla 3.10.9 - > 3.10.10 and VirtueMart 3.8 -> 4.0.2

And now I have error for some products:

Empty slug product with id 341, entries exists for language? ru-RU You may contact the administrator

Screenshot: https://prnt.sc/v4JY1BP7svA_

Most of products displays without errors but little some have message like above. Display of errors disabled anywhere. Please, help me to solve this problem.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3935
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Empty slug product with id 341, entries exists for language
« Reply #1 on: June 24, 2022, 15:18:59 pm »
You have to check id 341 and see what is missing for this, skug ?, translation ? etc

editing descriptions when wrong back end language is actiivated can lead to this...

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #2 on: August 11, 2022, 18:26:19 pm »
About this problem: message about product with I'd 341 shows not in product with Id 341. It have another id.
I have found reason: id 341 - it is a product which I have deleted many time ago. And until update from VM 3 to VM 4 that I'd didn't made any problems to me. But now I see same messages very often.
Solve: I have to create new product and change its id through database directly. It takes many time.

Maybe somebody know how to disable the message? Or may be devepers will fix this problem in nearest relies?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10440
  • VirtueMart Version: 3+
Re: Empty slug product with id 341, entries exists for language
« Reply #3 on: August 14, 2022, 01:29:40 am »
did you delete a child product?

I have some "ghost" child products I cant fully delete.




zaldiar

  • Beginner
  • *
  • Posts: 10
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #4 on: August 31, 2022, 16:06:48 pm »
Same issue with deleted products, I have tried to update database un WM tools but same result...

Is someone have a solution ?

Thx !

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #5 on: September 11, 2022, 05:40:38 am »
did you delete a child product?

I have some "ghost" child products I cant fully delete.

I don't remember. But I think that most of products was childs themselves. It was years ago and it wasn't problem until update to virtuemart 4.

I think that this message is a bag that need to be fixed in next release of virtuemart.

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #6 on: September 11, 2022, 05:45:37 am »
Same issue with deleted products, I have tried to update database un WM tools but same result...

Is someone have a solution ?

Temporary solution is to create new product and change its id to that is showing in error through database directly. But it is problem if you see this error in many products, it is too boring.

Thx !

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #7 on: January 20, 2023, 08:54:59 am »
Problem is still exist.

Does anybody can say how to disable this error message? may be by editing core files.

I had other message that I need to set VM as menu item (during when I have VM menu item). I had to edit router.php to disable this message.

sirius

  • Jr. Member
  • **
  • Posts: 191
    • OCTeam
  • VirtueMart Version: 3.8.6
Re: Empty slug product with id 341, entries exists for language
« Reply #8 on: January 20, 2023, 10:10:31 am »
You could try to check if this product with ID 341 is not still attached as a related product to some of product.
J3.10.11 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777

scriner

  • Beginner
  • *
  • Posts: 31
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #9 on: January 20, 2023, 10:44:58 am »
You could try to check if this product with ID 341 is not still attached as a related product to some of product.

No. It is deleted product.

This time, I can fix it manualy by creating new product and chenging its ID to 341 in virtuemart_products and virtuemart_products_ru_ru tables in DB.

But I tired to fix it every time. This error message dont help any way, just irritate.

Best solve may be to disable this message at all.

macigatto

  • Beginner
  • *
  • Posts: 18
  • A beginner
Re: Empty slug product with id 341, entries exists for language
« Reply #10 on: January 20, 2023, 13:58:34 pm »
i have same problem. is there a way to disabled the error message to show ?

thanks

sirius

  • Jr. Member
  • **
  • Posts: 191
    • OCTeam
  • VirtueMart Version: 3.8.6
Re: Empty slug product with id 341, entries exists for language
« Reply #11 on: January 26, 2023, 09:40:00 am »
Guys,
just look in this other topic, it could help
https://forum.virtuemart.net/index.php?topic=145058.msg516739#msg516739
J3.10.11 | PHP 7.4.33 + APC + memcached + Opcode
VM Prod : 3.8.6 | VM Test : 4.0.12.10777