strange error when using php joomla.php check-updates
4 years 9 months ago - 4 years 9 months ago #338035
by Joomill
strange error when using php joomla.php check-updates was created by Joomill
-- 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 :
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.
-- 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 :
Code:
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.
Last edit: 4 years 9 months ago by Joomill. Reason: solved
Please Log in or Create an account to join the conversation.
4 years 9 months ago #338042
by nicolas
Replied by nicolas on topic strange error when using php joomla.php check-updates
Hi,
This seems to be an issue with how some akeeba extension work and the user synchronization plugin in HikaShop which doesn't handle the console mode of Joomla (which is usually not used).
This was actually reported to us by Nicholas from Akeeba yesterday and we've included a hot fix in HikaShop at the time, with a new release of HikaShop to follow soon.
So you can download the install package of HikaShop on our website and install it on yours and you won't have the error anymore.
This seems to be an issue with how some akeeba extension work and the user synchronization plugin in HikaShop which doesn't handle the console mode of Joomla (which is usually not used).
This was actually reported to us by Nicholas from Akeeba yesterday and we've included a hot fix in HikaShop at the time, with a new release of HikaShop to follow soon.
So you can download the install package of HikaShop on our website and install it on yours and you won't have the error anymore.
The following user(s) said Thank You: Joomill
Please Log in or Create an account to join the conversation.
4 years 9 months ago #338049
by Joomill
Replied by Joomill on topic strange error when using php joomla.php check-updates
Thanks,
I will re-download and install this.
I will re-download and install this.
Please Log in or Create an account to join the conversation.
Time to create page: 0.191 seconds