Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

23.08.2024 13:54
#1
karibu
User karibu
Name: Kari
19.06.2014
Сообщения: 59
Quote
Shop Login - Call to undefinied function setNextUpdatePrices / frontend

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

Последнее изменение: 23.08.2024 14:14
 
24.08.2024 17:45
#2
karibu
User karibu
Name: Kari
19.06.2014
Сообщения: 59
Quote
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

The problem has suddenly disappeared?

I don't know why, but it's good for me.

Greetings
Kari

 
24.09.2024 00:33
#3
karibu
User karibu
Name: Kari
19.06.2014
Сообщения: 59
Quote
Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

Hallo again

After a month of peace and quiet, the error message appears again with the following registration. Maybe the error message was always there, but I didn't notice it. Because so far it has only appeared with the following registration method.

- I select a product
- go to the checkout
- register and send the order

now I get the error message ‘Call to undefined function setNextUpdatePrices’

If I register first and then add an item to the shopping basket and then go to the checkout, this error message does not appear.


When I look at function SetNextUpdatePrices in com_jshopping/Helper.php, I get the following. Is there something wrong here?

public static function setNextUpdatePrices(){
$session =Factory::getSession();
$session->set('js_update_all_price', 1);
}

Where and how can I solve my problem?

Many thanks in advance
Kari


Joomla: 5.1.4
JoomShopping: 5.5.1
 
24.09.2024 08:33
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28337
Quote
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

Enable debug mode Joomla.
Errors?
-----------------------
url?
test login?
ftp?
(forum privat msg.)


Последнее изменение: 24.09.2024 08:34
 
24.09.2024 13:31
#5
karibu
User karibu
Name: Kari
19.06.2014
Сообщения: 59
Quote
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

URL, Login, FTP will following in private msg
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend


Последнее изменение: 24.09.2024 13:32
 
24.09.2024 16:25
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28337
Quote
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

Update plugin
Registration and auto login
https://www.webdesigner-profi.de/joomla-webdesign/shop/plugins/registration-and-auto-login.html

 
25.09.2024 15:38
#7
karibu
User karibu
Name: Kari
19.06.2014
Сообщения: 59
Quote
Aw: Shop Login - Call to undefinied function setNextUpdatePrices / Backend & frontend

Update installed and no more error messages seen so far :)

Many thanks for the turbo fast help

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.