Jump to content

error in my shop


mshahabi

Recommended Posts

hi

 

what is tis error ?

 

Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /home/chakavak/domains/nipaz.com/public_html/override/classes/Dispatcher.php on line 0 Fatal error: Class 'CartCore' not found in /home/chakavak/domains/nipaz.com/public_html/classes/PrestaShopAutoload.php(112) : eval()'d code on line 1

 

Edited by mshahabi (see edit history)
Link to comment
Share on other sites

You have an override of the Dispatcher class, specifically the function loadRoutes.  That override is not matching the parent function parameters, so you get this error.

 

You likely have installed a module that is not compatible with your version of Prestashop, or you have recently upgraded your store and now you need to upgrade your modules.

Link to comment
Share on other sites

but i cant login in my shop

 

http://nipaz.com/admin1070/

 

Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /home/chakavak/domains/nipaz.com/public_html/override/classes/Dispatcher.php on line 0 Fatal error: Class 'FrontControllerCore' not found in /home/chakavak/domains/nipaz.com/public_html/classes/PrestaShopAutoload.php(112) : eval()'d code on line 1

Link to comment
Share on other sites

giving me a link to your back office isn't going to help you log into your shop. 

 

Do you want to try explaining what you have done to cause this issue?  Did you attempt to upgrade your store?  Did you attempt to install a module?

 

i first see this error

 

[PrestaShopException]

 

Invalid address #29

at line 393 in file classes/Address.php

 

388. if ($id_address)

389. {

390. $address = new Address((int)$id_address);

391. 

392. if (!Validate::isLoadedObject($address))

393. throw new PrestaShopException('Invalid address #'.(int)$id_address);

394. 

395. }

396. elseif ($with_geoloc && isset($context->customer->geoloc_id_country))

397. {

398. $address = new Address();

AddressCore::initialize - [line 195 - classes/tax/Tax.php] - [1 Arguments]

TaxCore::getProductEcotaxRate - [line 594 - classes/Cart.php] - [1 Arguments]

CartCore->getProducts - [line 1450 - classes/Cart.php]

CartCore->getOrderTotal - [line 1354 - classes/Cart.php] - [2 Arguments]

CartCore::getTotalCart - [line 836 - controllers/admin/AdminCartsController.php] - [3 Arguments]

AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments]

call_user_func_array - [line 329 - classes/helper/HelperList.php] - [2 Arguments]

HelperListCore->displayListContent - [line 157 - classes/helper/HelperList.php]

HelperListCore->generateList - [line 891 - controllers/admin/AdminCartsController.php] - [2 Arguments]

AdminCartsControllerCore->renderList - [line 2093 - classes/controller/AdminController.php]

AdminControllerCore->initContent - [line 180 - classes/controller/Controller.php]

ControllerCore->run - [line 373 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 54 - admin/index.php]

 

 

than i replaced classes/Cart.php from my pc and I encountered the problem now

Link to comment
Share on other sites

  • 9 months later...
  • 3 years later...

Luego de actualizar 1.6 a 1.7 tengo este error para ingresar al backOffice 

(1/1) FatalThrowableError

Call to a member function isActive() on null

in Repository.php line 109

at Repository->formatCurrencies(array(null, object(CurrencyData), object(CurrencyData), object(CurrencyData), object(CurrencyData)))in Repository.php line 95

at Repository->getAllInstalledCurrencies('es-ES')in Repository.php line 207

at Repository->getPriceSpecifications('es-ES')in Repository.php line 150

at Repository->getLocale('es-ES')in Controller.php line 189

at ControllerCore->init()in AdminController.php line 2785

at AdminControllerCore->init()in Controller.php line 273

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 97

 

He tratado de repararlo pero hasta ahora continuo sin solución.

Necesito de su ayuda. gracias

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...