- Posts: 21
- Thank you received: 7
Editing Prd0 Call to a member function get() on null
3 years 8 months ago #350056
by cboyd213
Editing Prd0 Call to a member function get() on null was created by cboyd213
-- HikaShop version -- : 4.7.1
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.25
-- Browser(s) name and version -- : Chrome 111.0.5563.64
-- Error-message(debug-mod must be tuned on) -- : 0 Call to a member function get() on null
When editing products after hitting save getting the following error:
0 Call to a member function get() on null
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.25
-- Browser(s) name and version -- : Chrome 111.0.5563.64
-- Error-message(debug-mod must be tuned on) -- : 0 Call to a member function get() on null
When editing products after hitting save getting the following error:
0 Call to a member function get() on null
Please Log in or Create an account to join the conversation.
3 years 8 months ago #350058
by nicolas
Replied by nicolas on topic Editing Prd0 Call to a member function get() on null
Hi,
Please activate the "debug" setting of the Joomla configuration and try again. It will display an error message with more information about the problem and this will allow us to tell you what to do.
Please activate the "debug" setting of the Joomla configuration and try again. It will display an error message with more information about the problem and this will allow us to tell you what to do.
Please Log in or Create an account to join the conversation.
3 years 8 months ago #350101
by cboyd213
Replied by cboyd213 on topic Editing Prd0 Call to a member function get() on null
An error has occurred.
0 Call to a member function get() on null
C:\inetpub\wwwroot\weldonflavorings.com\administrator\components\com_finder\helpers\indexer\adapter.php:151
Call stack
# Function Location
1 () JROOT\administrator\components\com_finder\helpers\indexer\adapter.php:151
2 FinderIndexerAdapter->__construct() JROOT\plugins\finder\hikashop\hikashop.php:27
3 plgFinderHikashopBridge->__construct() JROOT\libraries\src\Plugin\PluginHelper.php:280
4 Joomla\CMS\Plugin\PluginHelper::import() JROOT\libraries\src\Plugin\PluginHelper.php:182
5 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT\plugins\system\hikashopuser\hikashopuser.php:64
6 plgSystemHikashopuser->onBeforeProductUpdate() JROOT\libraries\joomla\event\event.php:70
7 JEvent->update() JROOT\libraries\joomla\event\dispatcher.php:160
8 JEventDispatcher->trigger() JROOT\libraries\src\Application\BaseApplication.php:108
9 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT\administrator\components\com_hikashop\classes\product.php:2772
10 hikashopProductClass->save() JROOT\administrator\components\com_hikashop\classes\product.php:684
11 hikashopProductClass->backSaveForm() JROOT\administrator\components\com_hikashop\classes\product.php:50
12 hikashopProductClass->saveForm() JROOT\administrator\components\com_hikashop\helpers\helper.php:2249
13 hikashopController->store() JROOT\administrator\components\com_hikashop\helpers\helper.php:2189
14 hikashopController->apply() JROOT\libraries\src\MVC\Controller\BaseController.php:702
15 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_hikashop\helpers\helper.php:2436
16 hikashopController->execute() JROOT\administrator\components\com_hikashop\hikashop.php:73
17 require_once() JROOT\libraries\src\Component\ComponentHelper.php:402
18 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT\libraries\src\Component\ComponentHelper.php:377
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:101
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:159
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:225
22 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\index.php:51
0 Call to a member function get() on null
C:\inetpub\wwwroot\weldonflavorings.com\administrator\components\com_finder\helpers\indexer\adapter.php:151
Call stack
# Function Location
1 () JROOT\administrator\components\com_finder\helpers\indexer\adapter.php:151
2 FinderIndexerAdapter->__construct() JROOT\plugins\finder\hikashop\hikashop.php:27
3 plgFinderHikashopBridge->__construct() JROOT\libraries\src\Plugin\PluginHelper.php:280
4 Joomla\CMS\Plugin\PluginHelper::import() JROOT\libraries\src\Plugin\PluginHelper.php:182
5 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT\plugins\system\hikashopuser\hikashopuser.php:64
6 plgSystemHikashopuser->onBeforeProductUpdate() JROOT\libraries\joomla\event\event.php:70
7 JEvent->update() JROOT\libraries\joomla\event\dispatcher.php:160
8 JEventDispatcher->trigger() JROOT\libraries\src\Application\BaseApplication.php:108
9 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT\administrator\components\com_hikashop\classes\product.php:2772
10 hikashopProductClass->save() JROOT\administrator\components\com_hikashop\classes\product.php:684
11 hikashopProductClass->backSaveForm() JROOT\administrator\components\com_hikashop\classes\product.php:50
12 hikashopProductClass->saveForm() JROOT\administrator\components\com_hikashop\helpers\helper.php:2249
13 hikashopController->store() JROOT\administrator\components\com_hikashop\helpers\helper.php:2189
14 hikashopController->apply() JROOT\libraries\src\MVC\Controller\BaseController.php:702
15 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_hikashop\helpers\helper.php:2436
16 hikashopController->execute() JROOT\administrator\components\com_hikashop\hikashop.php:73
17 require_once() JROOT\libraries\src\Component\ComponentHelper.php:402
18 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT\libraries\src\Component\ComponentHelper.php:377
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:101
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:159
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:225
22 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\index.php:51
Please Log in or Create an account to join the conversation.
3 years 8 months ago #350103
by nicolas
Replied by nicolas on topic Editing Prd0 Call to a member function get() on null
Hi,
Please edit the file plugins/finder/hikashop/hikashop.php and change the code:
to:
This should fix the problem.
Please let us know how it goes so that we can include the modification on our end.
Please edit the file plugins/finder/hikashop/hikashop.php and change the code:
Code:
parent::__construct($subject, $config);
if(isset($this->params))
return;
$plugin = JPluginHelper::getPlugin('finder', 'hikashop');
$this->params = new JRegistry(@$plugin->params);
Code:
if(!isset($this->params)) {
$plugin = JPluginHelper::getPlugin('finder', 'hikashop');
$this->params = new JRegistry(@$plugin->params);
}
parent::__construct($subject, $config);
Please let us know how it goes so that we can include the modification on our end.
The following user(s) said Thank You: cboyd213
Please Log in or Create an account to join the conversation.
3 years 8 months ago #350172
by cboyd213
Replied by cboyd213 on topic Editing Prd0 Call to a member function get() on null
That fixed it, thanks!
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.047 seconds