[Skip to main content](#vessel-content)

#   HikaShop Smart Search plugin causes PHP warnings in Finder\\Result.php after Nove

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 637
- Thank you received: 26
-
-
-

1 year 1 week ago -  1 year 1 week ago [\#369215](#369215) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[HikaShop Smart Search plugin causes PHP warnings in Finder\\Result.php after Nove](/forum/25-install-update/909859-hikashop-smart-search-plugin-causes-php-warnings-in-finder-result-php-after-nove#369215 "-- HikaShop version -- : 6.1.0 (old and new) -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  Hi HikaShop team,  After updating from the September 4th build of HikaShop 6.1.0 to the November 3rd build of the same version, I started getting multiple PHP warnings on all Joomla Smart Search (com&#95;finder) pages.  The warnings are:  What I found:  The issue appears only when the HikaShop Products Smart Search plugin is enabled.  When I disable that plugin and rebuild the index, the warnings disappear.  When I re-enable it and rebuild the index again, the warnings return immediately.  The rest of the Finder plugins (Content, Tags, etc.) work fine.  This behavior is reproducible on multiple websites after updating to the 6.1.0 (November 3) release.  Steps to reproduce:  Update HikaShop 6.1.0 (September 4 build) → 6.1.0 (November 3 build)  Go to Components → Smart Search → Index → Rebuild  Perform a frontend search (via com&#95;finder or YOOtheme integration) → PHP warnings appear in Finder&#92;Result.php  Temporary workaround: Disabling the plugin and rebuilding the index eliminates the issue. It seems the plugin returns an array instead of an object during indexing.  Hope you can fix this issue.  Thanks in advance for your help, Lumiga")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- HikaShop version -- : 6.1.0 (old and new)
-- Joomla version -- : 5.4.0
-- PHP version -- : 8.3

Hi HikaShop team,

After updating from the September 4th build of HikaShop 6.1.0 to the November 3rd build of the same version, I started getting multiple PHP warnings on all Joomla Smart Search (com_finder) pages.

The warnings are:
Code:

Warning: Undefined property: stdClass::$id in /administrator/components/com_finder/src/Indexer/Result.php on line 576 Warning: Attempt to read property "state" on array in /administrator/components/com_finder/src/Indexer/Result.php on line 577 Warning: Attempt to read property "access" on array in /administrator/components/com_finder/src/Indexer/Result.php on line 578

What I found:

The issue appears only when the HikaShop Products Smart Search plugin is enabled.

When I disable that plugin and rebuild the index, the warnings disappear.

When I re-enable it and rebuild the index again, the warnings return immediately.

The rest of the Finder plugins (Content, Tags, etc.) work fine.

This behavior is reproducible on multiple websites after updating to the 6.1.0 (November 3) release.

[ ![screenshot-23&#95;2025-11-03.png](/forum/attachment/60964) ](/forum/attachment/60964 "...2025-11-03.png")

Steps to reproduce:

Update HikaShop 6.1.0 (September 4 build) → 6.1.0 (November 3 build)

Go to Components → Smart Search → Index → Rebuild

Perform a frontend search (via com_finder or YOOtheme integration)
→ PHP warnings appear in Finder\Result.php

Temporary workaround:
Disabling the plugin and rebuilding the index eliminates the issue.
It seems the plugin returns an array instead of an object during indexing.

Hope you can fix this issue.

Thanks in advance for your help,
Lumiga

---

Kind regards,
Lumiga

- [ ![screenshot-23&#95;2025-11-03.png](/forum/attachment/60964) ](/forum/attachment/60964 "...2025-11-03.png") [ ](/forum/attachment/60964?download=1 "...2025-11-03.png")

Last edit: 1 year 1 week ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwOTg1OS1oaWthc2hvcC1zbWFydC1zZWFyY2gtcGx1Z2luLWNhdXNlcy1waHAtd2FybmluZ3MtaW4tZmluZGVyLXJlc3VsdC1waHAtYWZ0ZXItbm92ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

1 year 1 week ago -  1 year 1 week ago [\#369216](#369216) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HikaShop Smart Search plugin causes PHP warnings in Finder\\Result.php after Nove](/forum/25-install-update/909859-hikashop-smart-search-plugin-causes-php-warnings-in-finder-result-php-after-nove#369216 "-- HikaShop version -- : 6.1.0 (old and new) -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  Hi HikaShop team,  After updating from the September 4th build of HikaShop 6.1.0 to the November 3rd build of the same version, I started getting multiple PHP warnings on all Joomla Smart Search (com&#95;finder) pages.  The warnings are:  What I found:  The issue appears only when the HikaShop Products Smart Search plugin is enabled.  When I disable that plugin and rebuild the index, the warnings disappear.  When I re-enable it and rebuild the index again, the warnings return immediately.  The rest of the Finder plugins (Content, Tags, etc.) work fine.  This behavior is reproducible on multiple websites after updating to the 6.1.0 (November 3) release.  Steps to reproduce:  Update HikaShop 6.1.0 (September 4 build) → 6.1.0 (November 3 build)  Go to Components → Smart Search → Index → Rebuild  Perform a frontend search (via com&#95;finder or YOOtheme integration) → PHP warnings appear in Finder&#92;Result.php  Temporary workaround: Disabling the plugin and rebuilding the index eliminates the issue. It seems the plugin returns an array instead of an object during indexing.  Hope you can fix this issue.  Thanks in advance for your help, Lumiga")*

Hi,

Thanks for the feedback. While I was able to reproduce the issue on my end, it didn't came from something changed in HikaShop 6.1.0. I was even able to reproduce the warning with previous versions of HikaShop and we didn't change anything related to the Smart search (finder) since almost 6 months ago.

From what I could see, it comes from several things together :
- the error reporting displaying warnings on your website. This should not be the case on live websites, for security reasons
- the lack of checks when unserializing taxonomies in the finder component's helper result file during the display of results on the frontend
- the finder component only storing taxonomy nodes for the last element of the branch array instead of doing it for all of them, resulting in missing node ids during the indexing
- the finder plugin in HikaShop not properly reseting the taxonomies array when indexing the elements because of a lack of that capability provided by the joomla finder component's helper while handling multilingual capabilities
I think it might also be linked to changed in Joomla 5.4 / 6.0 with the finder component since this was not a problem before

I was able to circumvent the issue by reseting the taxonomies in a crude way during the indexing so as the finder component can do its work without unexpected data. I've added the patch on our end. Download the install package of the 6.1.0 on our website and install it on yours to get the patch. You'll have to reindex the content so that the plugin can provide data to the finder component without unexpected data.

Last edit: 1 year 1 week ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwOTg1OS1oaWthc2hvcC1zbWFydC1zZWFyY2gtcGx1Z2luLWNhdXNlcy1waHAtd2FybmluZ3MtaW4tZmluZGVyLXJlc3VsdC1waHAtYWZ0ZXItbm92ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.067 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
