Jump to content

HTPP ERROR 500 FICHE PRODUIT


Recommended Posts

Bonjour

Cela fait 4 ans que j'ai prestashop pour ma petite auto entreprise et c'est la première fois que je rencontre un problème aussi compliqué pour moi.

j'ai effectué la mise à jour de prestashop 1.7.7.0, et changé PHP 7.1 vers HPP 7.2 sur IONOS.

Je rencontre un problème quand je vais sur mon site internet pour voir si tout fonctionne correctement, et là, quand je clique sur un produit, je me retrouve avec une page ERROR 500.

J'ai rechercher désespérément une solution dans le FORUM, et je n'ai rien trouvé. :(

j'ai vidé les caches, et en mode débug, je me retrouve avec ça, et je ne comprend rien 

.............................

 

(1/1) ContextErrorException

Avis: index non défini: requête

dans  8a5e684dda807acc72a6e94f341d537997bb12de_2.file.socialsharing_header.tpl.cache.php  ligne 27

à content_5fe3a6af24f800_53887590 (objet (SmartyDevTemplate)) dans smarty_template_resource_base.php ligne 123

à Smarty_Template_Resource_Base -> getRenderedTemplateCode (objet (SmartyDevTemplate)) dans smarty_template_compiled.php ligne 114

à Smarty_Template_Compiled -> render (object (SmartyDevTemplate)) dans smarty_internal_runtime_updatecache.php ligne 38

à Smarty_Internal_Runtime_UpdateCache -> updateCache (objet (Smarty_Template_Cached), objet (SmartyDevTemplate), false) dans smarty_template_cached.php ligne 143

à Smarty_Template_Cached -> render (object (SmartyDevTemplate), false) dans smarty_internal_template.php ligne 211

à Smarty_Internal_Template -> render (false, 0) dans smarty_internal_templatebase.php ligne 232

à Smarty_Internal_TemplateBase -> _execute (objet (SmartyDevTemplate), null, null, null, 0) dans smarty_internal_templatebase.php ligne 116

à Smarty_Internal_TemplateBase -> fetch (null, null, null, null, false, true, false) dans SmartyDevTemplate.php ligne 40

à SmartyDevTemplateCore -> fetch () dans Module.php ligne 2439

sur ModuleCore -> display ('/homepages/12/d632244623/htdocs/VANOUCREA/modules/socialsharing/socialsharing.php', 'socialsharing_header.tpl', 'socialsharing_header | 22 | 1 | 1 | 1 | 8') dans socialsharing. php ligne 186

sur SocialSharing -> hookDisplayHeader (array ('cookie' => object (Cookie), 'cart' => object (Cart), 'altern' => 27)) dans Hook.php ligne 988

à HookCore :: coreCallHook (object (SocialSharing), 'hookDisplayHeader', array ('cookie' => object (Cookie), 'cart' => object (Cart), 'altern' => 27)) dans Hook.php ligne 419

à HookCore :: callHookOn (object (SocialSharing), 'Header', array ('cookie' => object (Cookie), 'cart' => object (Cart), 'altern' => 27)) dans Hook.php ligne 925

à HookCore :: exec ('displayHeader') dans FrontController.php ligne 575

à FrontControllerCore -> initContent () dans ProductController.php ligne 394

à ProductControllerCore -> initContent () dans Controller.php ligne 306

à ControllerCore -> run () dans Dispatcher.php ligne 518

chez DispatcherCore -> dispatch () dans index.php ligne 28

.............................

Et quand je vais dans   8a5e684dda807acc72a6e94f341d537997bb12de_2.file.socialsharing_header.tpl.cache.php,  j'ai ça 

<? php
/ * Smarty version 3.1.34-dev-7, créé le 2020-12-23 21:21:03 à
  partir de '/ homepages / 12 / d632244623 / htdocs / VANOUCREA / modules / socialsharing / views / templates / hook / socialsharing_header.tpl '* /

/ * @var Smarty_Internal_Template $ _smarty_tpl * /
if ($ _smarty_tpl -> _ decodeProperties ($ _ smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_5fe3a6af24f800_53887590',
  'has_nocache > false,
  'file_dependency' => 
  array (
    '8a5e684dda807acc72a6e94f341d537997bb12de' => 
    array (
      0 => '/homepages/12/d632244623/htdocs/VANOUCREA/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
      1 => 1481102558,
      2 => 'fichier',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5fe3a6af24f800_53887590 (Smarty_Internal_Template $ _smarty_tpl) {
$ _smarty_tpl-> compilé-> nocache_hash = '12050862105fe3a6af247c34_37026753';
?>
<meta property = "og: type" content = "product" />
<meta property = "og: url" content = "<? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['request'] -> value, ENT_QUOTES, 'UTF-8');?>
"/>
<Meta property =" og: title "content =" <? Php echo htmlspecialchars (call_user_func_array ($ _ smarty_tpl-> registered_plugins ['modifier'] ['escape'] [ 0], array ($ _smarty_tpl-> tpl_vars ['meta_title'] -> value, 'html', 'UTF-8')), ENT_QUOTES, 'UTF-8');?>
"/>
<Meta property =" og: site_name "content =" <

<meta property = "og: description" content = "<? php echo htmlspecialchars (call_user_func_array ($ _ smarty_tpl-> registered_plugins ['modifier'] ['escape'] [0], array ($ _smarty_tpl-> tpl_vars ['meta_description' ' ] -> valeur, 'html', 'UTF-8')), ENT_QUOTES, 'UTF-8');?>
"/>
<? php if (isset ($ _ smarty_tpl-> tpl_vars ['link_rewrite'] -> value) && isset ($ _ smarty_tpl-> tpl_vars ['cover'] -> value) && isset ($ _ smarty_tpl-> tpl_vars ['cover'] -> value ['id_image'])) {?>
<meta property = " og: image "content =" <? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['link'] -> value-> getImageLink ($ _ smarty_tpl-> tpl_vars ['link_rewrite'] -> valeur,$ _smarty_tpl-> tpl_vars ['cover'] -> value ['id_image'], 'large_default'), ENT_QUOTES, 'UTF-8');?>
"/>
<? php}
if (isset ($ _ smarty_tpl-> tpl_vars ['pretax_price'] -> valeur)) {?>
<meta property = "product: pretax_price: amount" content = "<? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['pretax_price'] -> value, ENT_QUOTES, 'UTF-8');?>
" />
<? php}?>
<meta property = "product: pretax_price: currency" content = "<? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['currency'] -> value-> iso_code, ENT_QUOTES, 'UTF-8'); ?>
"/>
<? php if (isset ($ _ smarty_tpl-> tpl_vars ['price'] -> value)) {?>
<meta property =" product: price: amount "content =" <? php echo htmlspecialchars ( $ _smarty_tpl-> tpl_vars ['price'] -> value, ENT_QUOTES, 'UTF-8');?>
"/>
<? php}?>
<meta property = "product: price: currency" content = "<? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['currency'] -> value-> iso_code, ENT_QUOTES, 'UTF-8');?>
" />
<? php if (isset ($ _ smarty_tpl-> tpl_vars ['weight'] -> value) && ($ _smarty_tpl-> tpl_vars ['weight'] -> value! = 0)) {?>
<meta property = "produit : weight: value "content =" <? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['weight'] -> value, ENT_QUOTES, 'UTF-8');?>
"/>
<meta property =" product: weight : units "content =" <? php echo htmlspecialchars ($ _ smarty_tpl-> tpl_vars ['weight_unit'] -> value, ENT_QUOTES, 'UTF-8');?>
"/>
<? php}
}
}
 

Dans l'attente d'un retour de votre part, en vous remerciant par avance de votre aide

Merci

bonne soirée

vanou

Edited by VANOU30 (see edit history)
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...