Cannot create a custom field assign to contact

  • Posts: 45
  • Thank you received: 0
  • Hikashop Business
5 years 10 months ago #293834

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 7.1.18
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Table xxx.#__hikashop_contact' doesn't exist

Hi,

When I try create a new custom fiel assign to contact to show in contact form I receive the message:
Table xxx.#__hikashop_contact' doesn't exist

I tryed reinstall Hikashop and the problem remains.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13069
  • MODERATOR
5 years 10 months ago #293871

Hi,

Thank you for your feedback.
While you get the error, you can ignore it and proceed to use the custom field.
If you want to remove the error, you can add the code:

if(in_array($table_name, array('contact')))
					continue;
before the line:
$query = 'ALTER TABLE '.$this->fieldTable($table_name).' ADD `'.$field->field_namekey.'` TEXT NULL';
in the file administrator/components/com_hikashop/classes/field.php

We'll add the patch on our end.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum