Jump to content

Message d'erreur suite a changement d'hébergement


Recommended Posts

Bonjour à tous

suite au passage d'un hébergement mutualisé vers un serveur cloud chez 1and1 j'ai le message suivant qui apparait lorsque j'essaye de me connecter a ma boutique:

 

1/1
ContextErrorException in LcpTools.php line 108:
Warning: count(): Parameter must be an array or an object that implements Countable
1. in LcpTools.php line 108
2. at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/var/www/html/modules/livechatpro/classes/LcpTools.php', '108', array('a' => object(stdClass), 'isList' => true)) in LcpTools.php line 108
3. at LcpTools::jsonEncode(object(stdClass)) in Lcp.php line 946
4. at Lcp->getModuleVars() in livechatpro.php line 793
5. at LiveChatPro->hookHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 30
6. at Hook::coreCallHook(object(LiveChatPro), 'hookHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 332
7. at HookCore::callHookOn(object(LiveChatPro), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860
8. at HookCore::exec('displayHeader') in FrontController.php line 557
9. at FrontControllerCore->initContent() in IndexController.php line 37
10. at IndexControllerCore->initContent() in Controller.php line 253
11. at ControllerCore->run() in Dispatcher.php line 428
12. at DispatcherCore->dispatch() in index.php line 28


Et coté admin j'ai le message suivant:

 

1/1
FatalErrorException in AdminLoginController.php line 0:
Compile Error: Declaration of AdminLoginControllerCore::viewAccess() must be compatible with AdminControllerCore::viewAccess($disable = false)
1. in AdminLoginController.php line 0


Avez vous une idée d'ou le problème peu venir car je m'arrache les cheveux la.

En vous remerciant d'avance

Link to comment
Share on other sites

Il y a 5 heures, benoitb a dit :

Bonjour à tous

suite au passage d'un hébergement mutualisé vers un serveur cloud chez 1and1 j'ai le message suivant qui apparait lorsque j'essaye de me connecter a ma boutique:

 


1/1
ContextErrorException in LcpTools.php line 108:
Warning: count(): Parameter must be an array or an object that implements Countable
1. in LcpTools.php line 108
2. at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/var/www/html/modules/livechatpro/classes/LcpTools.php', '108', array('a' => object(stdClass), 'isList' => true)) in LcpTools.php line 108
3. at LcpTools::jsonEncode(object(stdClass)) in Lcp.php line 946
4. at Lcp->getModuleVars() in livechatpro.php line 793
5. at LiveChatPro->hookHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 30
6. at Hook::coreCallHook(object(LiveChatPro), 'hookHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 332
7. at HookCore::callHookOn(object(LiveChatPro), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860
8. at HookCore::exec('displayHeader') in FrontController.php line 557
9. at FrontControllerCore->initContent() in IndexController.php line 37
10. at IndexControllerCore->initContent() in Controller.php line 253
11. at ControllerCore->run() in Dispatcher.php line 428
12. at DispatcherCore->dispatch() in index.php line 28


Et coté admin j'ai le message suivant:

 


1/1
FatalErrorException in AdminLoginController.php line 0:
Compile Error: Declaration of AdminLoginControllerCore::viewAccess() must be compatible with AdminControllerCore::viewAccess($disable = false)
1. in AdminLoginController.php line 0


Avez vous une idée d'ou le problème peu venir car je m'arrache les cheveux la.

En vous remerciant d'avance

 

Tu avais quelle version de PHP sur l'ancien hébergement ? Et sur le nouveau ? Et quelle version de PrestaShop, pendant qu'on y est :) ?

Link to comment
Share on other sites

16 hours ago, Johann said:

 

Tu avais quelle version de PHP sur l'ancien hébergement ? Et sur le nouveau ? Et quelle version de PrestaShop, pendant qu'on y est :) ?


Merci c'etait bien un problème de version php. J’étais en 7.2 apparemment prestashop n'est pas encore compatible avec cette version.

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...