<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>deprecated — Forum de PluXml</title>
        <link>https://forum.pluxml.org/index.php?p=/</link>
        <pubDate>Sat, 04 Apr 2026 00:25:22 +0000</pubDate>
        <language>fr</language>
            <description>deprecated — Forum de PluXml</description>
    <atom:link href="https://forum.pluxml.org/index.php?p=/discussions/tagged/deprecated/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>[RÉSOLU] Fatal error : type : 8192 durant édition page statique</title>
        <link>https://forum.pluxml.org/index.php?p=/discussion/7669/resolu-fatal-error-type-8192-durant-edition-page-statique</link>
        <pubDate>Fri, 05 Jul 2024 13:33:02 +0000</pubDate>
        <category>Bogues</category>
        <dc:creator>KevinGDR</dc:creator>
        <guid isPermaLink="false">7669@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Bonjour,</p>

<p>Je viens de mettre en place un PluxML version 5.8.14 (encodage UTF-8), version de PHP : 8.2.20, nginx/1.26.1 sur Gentoo Hardened.</p>

<p>Cela marche, je n'ai aucune erreur de configuration rapportée par PluxML.</p>

<p>Cependant, après avoir crée une page statique et cliqué sur "Édition" à droite sur la même ligne, j'ai une pop-in affichant ceci (informations sensibles censurées):</p>

<pre><code>Fatal error :
type : 8192
message : trim(): Passing null to parameter #1 ($string) of type string is deprecated
file : /core/admin/statique.php
line : 43

See https://www.php.net/manual/en/errorfunc.constants.php about type of error
============================================================
User : 001
Profil : 0
PluXml version : 5.8.14
PHP version : 8.2.20
============================================================
About this server :
HTTP_REFERER : https://blog.xxx.fr/
HTTP_ACCEPT_ENCODING : gzip, deflate, br, zstd
HTTP_ACCEPT_LANGUAGE : fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
HTTP_USER_AGENT : Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
SERVER_SOFTWARE : nginx/1.26.1
SERVER_PROTOCOL : HTTP/2.0
REQUEST_URI : /core/admin/statique.php?p=001
SCRIPT_NAME : /core/admin/statique.php
REQUEST_METHOD : GET
QUERY_STRING : p=001
SCRIPT_FILENAME : /core/admin/statique.php
PHP_SELF : /core/admin/statique.php
</code></pre>

<p>Elle se situe en pleins milieu de la page, ne m'empêche pas de m'en servir mais sa présence est bien évidemment, hautement dérangeante, voir cette impression écran: <a href="https://files.koshie.fr/tree/img/pluxml_fatarerror_type_8192.png" rel="nofollow">https://files.koshie.fr/tree/img/pluxml_fatarerror_type_8192.png</a></p>

<p>À la ligne indiquée dans le fichier /core/admin/statique.php j'ai:</p>

<pre><code> 43         $content = trim($plxAdmin-&gt;getFileStatique($id));
</code></pre>

<p>Concernant cette erreur: <a href="https://www.php.net/manual/en/errorfunc.constants.php#constant.e-deprecated" rel="nofollow">https://www.php.net/manual/en/errorfunc.constants.php#constant.e-deprecated</a></p>

<p>Je ne suis pas qualifié pour tenter de résoudre ça moi-même. Je pense que c'est un bug.</p>

<p>Si besoin, merci de m'indiquer ce que je peux ajouter pour corriger cette erreur.</p>

<p>Cordialement,<br />
GASPARD DE RENEFORT Kévin</p>
]]>
        </description>
    </item>
   </channel>
</rss>
