-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.5
-- PHP version -- : 8.0.13
Hi,
We are trying to find a strange issue on our website and also try to explain why there is hikashop output found in here :
php joomla.php check-updates
Symfony\Component\ErrorHandler\Error\UndefinedMethodError^ {#468
#message: "Attempted to call an undefined method named "getUserState" of class "Joomla\CMS\Application\ConsoleApplication"."
#code: 0
#file: "/home/dostchadlidev/public_html/plugins/system/hikashopuser/hikashopuser.php"
#line: 23
trace: {
/home/dostchadlidev/public_html/plugins/system/hikashopuser/hikashopuser.php:23 {
plgSystemHikashopuser->__construct(&$subject, $config)^
› $app = JFactory::getApplication();\r
› **$this->currency = $app->getUserState('com_hikashop.currency_id');**\r
› $this->entries = $app->getUserState('com_hikashop.entries_fields');\r
}
/home/dostchadlidev/public_html/libraries/src/Extension/ExtensionManagerTrait.php:242 { …}
/home/dostchadlidev/public_html/libraries/src/Extension/ExtensionManagerTrait.php:160 { …}
/home/dostchadlidev/public_html/libraries/src/Extension/ExtensionManagerTrait.php:94 { …}
/home/dostchadlidev/public_html/libraries/src/Plugin/PluginHelper.php:235 { …}
/home/dostchadlidev/public_html/libraries/src/Plugin/PluginHelper.php:193 { …}
/home/dostchadlidev/public_html/libraries/src/Application/ConsoleApplication.php:228 { …}
/home/dostchadlidev/public_html/cli/joomla.php:76 { …}
}
}
And also inspiration on what to try next to find the cause of this.
If I can supply more info, let me know and I will.
Thanks in advance for any help.