WebSite X5Help Center

 
Luc H.
Luc H.
User

X5engine.php  fr

Auteur : Luc H.
Visité 527, Followers 1, Partagé 0  
Mots-clés :: website x5 pro 2022.3

Hello,

While it has always worked great; I have since apparently since version 2022.1.4 the following error: Warning: Undefined array key "general" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 7821 Warning: Trying to access array offset on value of type null in /customers/1/d/0/onh-nho. be/httpd.www/res/x5engine.php on line 7821 Warning: Undefined array key "databases" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 11323 Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, null given in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php:11323 Stack trace: #0 /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php(11323): array_values(NULL) #1 /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine. php(1603): getDbData('') #2 /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php(11278): Configuration::getPrivateArea() #3 /customers/1/d/0/onh-nho. be/httpd.www/connect.php(2): imCheckAccess('81', '') #4 {main} thrown in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 11323

We hadn't noticed anything since we mainly use it to connect our members who have paid their dues and we can't access the admin page anymore; we get the following error:

arning: Undefined array key "general" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1578 Warning: Trying to access array offset on value of type null in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1578 Warning: Undefined array key "general" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1587 Warning: Trying to access array offset on value of type null in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1587 Warning: Undefined array key "general" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1578 Warning: Trying to access array offset on value of type null in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 1578 Warning: Undefined array key "general" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 7821 Warning: Trying to access array offset on value of type null in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 7821 Warning: Undefined array key "databases" in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 11323 Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, null given in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php:11323 Stack trace: #0 /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php(11323): array_values(NULL) #1 /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php(1603): getDbData('') #2 /customers/1/d/0/onh-nho.be/httpd.www/admin/libraries/controlpanel.class.php(61): Configuration::getPrivateArea() #3 /customers/1/d/0/onh-nho.be/httpd.www/admin/index.php(13): ControlPanel->accessOrRedirect() #4 {main} thrown in /customers/1/d/0/onh-nho.be/httpd.www/res/x5engine.php on line 11323

Thank you in advance for your help.

P.S.: we use one.com

Translated with www.DeepL.com/Translator (free version)

Posté le
9 RéPONSES
JiPeR 48
JiPeR 48
Moderator

Bonjour Luc,

Je n'ai pas trouvé d'ancienne discussion sur ce type d'erreur... Donc je signale la page au Support Incomedia pour avoir la visite d'un technicien, mais pas avant lundi car le week-end c'est OFF.

Quelle est la version du PHP activée sur le serveur ? Peut-on avoir l'URL du site pour "l'ausculter" ?  ;o)

@Suivre,

J.P.

Lire plus
Posté le de JiPeR 48
Axel  
Axel  
User
Meilleur utilisateur du mois FR

Hello

peut etre desactiver chez le provider les messages d'erreur php (cela est utile uniquement pour le dev)

Lire plus
Posté le de Axel  
Incomedia
Elisa B.
Incomedia

Bonjour !

Si vous utilisez une version différente de PHP, 7.1  ou 7.4, est-ce-que vous affichez toujours ce message ?

Merci ! Cordialement.

Lire plus
Posté le de Elisa B.
Luc H.
Luc H.
User
Auteur

Le problème est que c'est ONE.COM qui impose la version PHP et il sont à la version 8.0 ou 8.1.  Je vais voir avec leur heldesk si cela est possible.

Lire plus
Posté le de Luc H.
Luc H.
Luc H.
User
Auteur

Visiblement, ce n'est plus possible de revenir en arrière.  

Lire plus
Posté le de Luc H.
Incomedia
Stefano G.
Incomedia

Hello Luke

Axel provided the correct solution here.

You need to get in touch with One.com and request that they disable PHP Error and Warning messages. When this is done, these messages will no longer appear and the website will work correctly

Ask them to disable the PHP parameter called "display_errors" for you

I remain available here

Stefano

GOOGLE TRANSLATE ---

Bonjour Luc

Axel a fourni la bonne solution ici.

Vous devez contacter One.com et lui demander de désactiver les messages d'erreur et d'avertissement PHP. Lorsque cela sera fait, ces messages n'apparaîtront plus et le site fonctionnera correctement

Demandez-leur de désactiver le paramètre PHP appelé "display_errors" pour vous

je reste disponible ici

Stefano

Lire plus
Posté le de Stefano G.
Luc H.
Luc H.
User
Auteur

Tout fonctionne parfaitement.

Merci beaucoup pour votre support

Lire plus
Posté le de Luc H.
JiPeR 48
JiPeR 48
Moderator

Hello Luc,

Bonne nouvelle ! Merci de penser à clôturer la page lors d'un prochain passage. Il suffut de cocher "Correct" sur la réponse ayant permis de solutionner le problème.

Cela nous évite d'y revenir quand on fait un balayage des pages pour voir les nouvelles demandes ou les sujets non résolus, et peut aider un utilisateur confronté au même souci.

Bonne continuation,

J.P.

Lire plus
Posté le de JiPeR 48