Define the folder Product → Manufacturer + 1 warning

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 2 days ago #337309

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.4
-- PHP version -- : 8.0
-- Browser(s) name and version -- : 8.0.12

Hi,

I just installed an Hikashop Business with few data migrated (with a demo of Cart2Cart) from a VirtueMart website.

In the back-end, when I select Products → Manufacturer, i'm redirected to a strange folder (specific manufacturer, root folder, or an other) : folder changed when I added or removed a folder.
I would like choose my folder 'Manufacturer' (which contains all my manufaturers) that I created. Is it possible ?

I also have a warning message that appeared sometimes :

Warning: Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on bugs.php.net
/administrator/components/com_hikashop/helpers/helper.php on line 1381

Thank you in advance for your help.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 day ago #337313

Hi,

There is no Products>Manufacturers menu. It should be Products>Brands. I suppose it's something linked to your translation of HikaShop.
Normally, when you go there you should see something like that:
i.imgur.com/Or2kpvj.png
You can see that the "brand" main category should be preselected on the left side explorer and the right side listing should contain the listing of the brands.
What are you seeing ? Could you provide a screenshot of what you see ?

Regarding the warning, it seems to be something linked to a bug in opcache with the compiling of PHP files.
So I don't think we can do anything on our end to avoid it.
Best is to report it on bugs.php.net

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 day ago #337327

For the warning, noted. Thanks.

For my other problem, I tested by creating several folders (Brand, Brands, Manufacturer), here the result :

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 day ago #337328

Hi,

This indicates a problem with the data of the main brand element in the database. The "category_type" must have been changed to something else than "manufacturer" and thus the system is not able to find it.
So I would recommend you open the table hikashop_category via your PHPMyAdmin. You should get something like this:
i.imgur.com/huAkRcV.png
There, you can see that there is an entry with the category_name being "manufacturer" and the category_type being "manufacturer".
That's the main brand entry which should be selected by default on the left explorer when you access the Products>Brands menu.
I suppose that you must have its category_type changed to "product" instead of "manufacturer" and thus the system doesn't find it anymore. So you can edit the entry directly there and restore its type.

The following user(s) said Thank You: FDBI

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 day ago #337337

Perfect, my problem is solved.

Your assumption was correct and I just followed your instructions.

Thank You.

The following user(s) said Thank You: Philip

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

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
2 years 11 months ago #338004

Did you manage to sort the warning? I'm struggling and get a similar message. Any help would be welcome.

It only happens on PHP 8.0.13
It shows up in the back end and the front end

Warning: Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on bugs.php.net in /var/www/vhosts/xxxxxxx/httpdocs/administrator/components/com_hikashop/helpers/helper.php on line 1381

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #338005

Hi,

Regarding the warning, it seems to be something linked to a bug in opcache with the compiling of PHP files.
So I don't think we can do anything on our end to avoid it.
Best is to report it on bugs.php.net

In the meantime, you can either:
- turn off the "error reporting" in the Joomla settings in order to hide the warning.
- remove that line from the code as HikaShop can work without it.

The following user(s) said Thank You: Barnard

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

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
2 years 11 months ago #338019

I've turned error reporting off. Thank you for the information. Very much appreciated.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum