Blank page and fatal error when saving a product in backend

  • Posts: 27
  • Thank you received: 0
3 years 4 months ago #334140

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.6.38
-- Browser(s) name and version -- : Firefox 89.0.2
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Joomla\Utilities\ArrayHelper' not found in /storage/content/nn/nnnnnn/site.com/public_html/plugins/finder/hikashop/hikashop.php on line 178

It all started just a week ago, after having worked for years. Without debug mode and error reporting, the page is just blank as I save an updated product or create a new one. However, the changes are actually stored and visible when I refresh the product page.

Is it possible to fix this with the setup we have?

Thanks,

Andor

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 4 months ago #334150

Hi,

Yes. If it happened just a week ago, it's probable that you've configured the "smart search" on your website just before it started happening.
That bug comes from a change we made for Joomla 4 support in the smart search plugin which breaks the compatibility with Joomla 2.5.
Replace the line:
$item = Joomla\Utilities\ArrayHelper::toObject($row, 'FinderIndexerResult');
by:
$item = ArrayHelper::toObject((array) $row, 'FinderIndexerResult');
in /storage/content/nn/nnnnnn/site.com/public_html/plugins/finder/hikashop/hikashop.php and that should fix the problem.
If not, you can also disable the finder hikashop plugin via the Joomla plugins manager so that products won't be indexed by the smarch search mechanism.
We'll make a patch for that for the next version of HikaShop.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum