URGENT - SITE DOWN Critical fatal errors when try to updating to 6.5.2 version

  • Posts: 2
  • Thank you received: 0
  • Hikaserial Subscription Hikashop Business
3 hours 28 minutes ago #372821

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6.1.2
-- PHP version -- : 8.4.23
-- Browser(s) name and version -- : Google Chrome Versione 150.0.7871.130 (Build ufficiale) (a 64 bit)
-- Error-message(debug-mod must be tuned on) -- : Si è verificato un errore.
0 Value of type null is not callable
Call Stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/helpers/helper.php:4175
2 include_once() JROOT/tmp/install_6a622329dc365/install.hikashop.php:14
3 com_hikashop_install() JROOT/tmp/install_6a622329dc365/install.hikashop.php:1447
4 com_hikashopInstallerScript->update() JROOT/libraries/src/Installer/LegacyInstallerScript.php:159
5 Joomla\CMS\Installer\LegacyInstallerScript->__call() JROOT/libraries/src/Installer/LegacyInstallerScript.php:188
6 Joomla\CMS\Installer\LegacyInstallerScript->callOnScript() JROOT/libraries/src/Installer/LegacyInstallerScript.php:70
7 Joomla\CMS\Installer\LegacyInstallerScript->update() JROOT/libraries/src/Installer/InstallerAdapter.php:1093
8 Joomla\CMS\Installer\InstallerAdapter->triggerManifestScript() JROOT/libraries/src/Installer/InstallerAdapter.php:777
9 Joomla\CMS\Installer\InstallerAdapter->install() JROOT/libraries/src/Installer/Installer.php:688
10 Joomla\CMS\Installer\Installer->install() JROOT/administrator/components/com_installer/src/Model/InstallModel.php:215
11 Joomla\Component\Installer\Administrator\Model\InstallModel->install() JROOT/administrator/components/com_installer/src/Controller/InstallController.php:52
12 Joomla\Component\Installer\Administrator\Controller\InstallController->install() JROOT/libraries/src/MVC/Controller/BaseController.php:730
13 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
14 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
16 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:206
17 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:320
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
19 require_once() JROOT/administrator/index.php:32

Hi Nicolas and the HikaShop Support Team,

**URGENT - PRODUCTION SITE IS CURRENTLY OFFLINE AND LAUNCH IS BLOCKED.**

Today we were scheduled to launch the commercialization of our product. However, after attempting to update HikaShop Business to version 6.5.2, our production site completely crashed with fatal PHP errors.

We hold active paid subscriptions for both HikaShop Business and HikaSerial, yet this update has completely halted our business operation. This is not the first time I have reported similar compatibility breakages after an update. It is deeply frustrating as a paying customer to face a crashed site right before a commercial launch and have to act as a QA tester for legacy code issues.

---

### Environment Details
* **Joomla Version:** 6.1.2
* **PHP Version:** 8.4.23 (Ubuntu NTS)
* **Web Server:** Apache/2.4.58 (Ubuntu)
* **Software:** HikaShop Business 6.5.2 & HikaSerial

---

### Technical Breakdown of the Fatal Errors

#### 1. HikaShop Core: `TypeError: 0 Value of type null is not callable`
* **File:** `administrator/components/com_hikashop/helpers/helper.php` (lines ~4175 and ~1811)
* **Stack Trace:** Triggered during installation via `hikashop_loadTranslationFile()` inside `install.hikashop.php`.
* **Root Cause:** Under PHP 8.4, `$resetOverride->bindTo($lang, 'JLanguage')` returns `null`. The code attempts to directly invoke `$resetOverrideCB()` without checking `is_callable()`, instantly triggering a fatal `TypeError` crash.

#### 2. HikaSerial / Helper: Missing Legacy Joomla 3 Classes
* **File:** `administrator/components/com_hikaserial/helpers/helper.php` & `plg_hikashop_serials`
* **Stack Trace:** Triggered during the `onHikashopBeforeCheckDB` event.
* **Root Cause:** The HikaSerial helper still relies on obsolete Joomla 3 legacy classes that do not exist on Joomla 6.1.2, throwing consecutive fatal errors:
* `Class "JURI" not found`
* `Class "JControllerLegacy" not found`
* `Class "JObject" not found`

---

### Request
Please provide an immediate patched ZIP package or hotfix for both HikaShop Business and HikaSerial that safely checks for callables under PHP 8.4 and replaces legacy Joomla 3 calls with native Joomla 6 namespaces.

Since our store is offline and our product launch is completely halted, a prompt response and resolution would be greatly appreciated.

Thank you.

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

  • Posts: 85949
  • Thank you received: 14136
  • MODERATOR
2 hours 16 minutes ago #372827

Hello,

We are sorry for the disruption. We found the cause and we have a fix.

The error comes from the old Joomla class names (like JLanguage, JObject, JPlugin) that several HikaShop add-ons still use. On Joomla 6, when Joomla's own Backward Compatibility plugin is enabled, HikaShop was leaving it to that plugin to provide those names. But that plugin only sets them up later during the page load, while some elements can need them earlier in some cases. So the name was not defined yet at that moment, which is the "Value of type null is not callable" error you saw in helper.php, and the "class not found" errors related to HikaSerial.

HikaShop now sets these names up itself, early and in every case, so the update completes and the shop and the add-ons load normally. HikaSerial does not need any change.

Download the new install package of HikaShop on our website and install it on yours and it will add the patch and it should all work fine again.

We reproduced your exact configuration (Joomla 6, HikaShop 6.5.2, HikaSerial, with the compatibility plugin enabled), confirmed the crash, and confirmed that this fix removes it. It will also be included in the next HikaShop release.

The following user(s) said Thank You: EmanueleP

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

Time to create page: 0.056 seconds
Powered by Kunena Forum