Hello everyone
When a new customer registers, the following error message appears after confirmation: (in the frontend). In the backend the customer is saved normally.
==> Call to undefined function setNextUpdatePrices
A few days ago I adjusted the css default values, but I can't imagine that this leads to this error? I found UpdatePrices 3 times in UserController.php, but don't know what I should change here.
function loginsave
$model = JSFactory::getModel(‘userlogin’, ‘Site’);
if ($model->login($username, $password, array(‘remember’=>$remember))){
Helper::setNextUpdatePrices();
$app->redirect($model->getReturnUrl());
}else{
$app->redirect($model->getUrlBackToLogin());
}
}
function accountsave:
$model->updateJoomlaUserCurrentProfile();
Helper::setNextUpdatePrices();
Factory::getApplication()->triggerEvent(‘onAfterAccountSave’, array(&$model));
function logout(){
$model = JSFactory::getModel(‘userlogin’, ‘Site’);
$model->logout();
Helper::setNextUpdatePrices();
Factory::getApplication()->redirect($model->getReturnUrl());
}
Does anyone here know the solution to my problem?
Many thanks in advance for your input.
Greetings
Kari
Joomla: 5.1.2
JoomShopping: 5.5
PHP: 8.1
MySQL: 10.6.19-MariaDB
Website Url: negnuja.ch/jo-Shop
JoomShopping: 5.5
PHP: 8.1
MySQL: 10.6.19-MariaDB
Website Url: negnuja.ch/jo-Shop
Последнее изменение: 23.08.2024 14:14



