php 8.2.19 - Error plxMyMultiLingue in PluXml 5.8.14
I'm getting an error on my site when installing the latest plugin plxMyMultiLingue
Fatal error :
type : 8192
message : Creation of dynamic property plxMotor::$infos_statics is deprecated
file : /core/lib/class.plx.motor.php(351) : eval()'d code
line : 3
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.19
My site micron. Free hosting: infinityfree.com | php 8.2.21 without alternative.
Mots clés:
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
Hello,
@kamon
to allow creation of dynamic properties you may add on line 11 of core/lib/class.plx.motor.php the following line :
or manually add those missing properties to line 48 & 49
Welcome to PluXml
Cordialement,
gcyrillus , simple membre du forum et utilisateur de pluxml
Mon site PluXml: https://re7net.com | Plugins: https://ressources.pluxopolis.net/banque-plugins/index.php?all_versions | demos sur free http://gcyrillus.free.fr/new | Thèmes: tester et télécharger @ https://pluxthemes.com
Indiquez [RESOLU] dans le titre de votre question une fois le soucis réglè, Merci
The lines are indicated earlier in core/lib/class.plx.motor.php version 5.8.14:
* public $infos_arts; # Plugin PlxMultilingue : tableau articles par langue
New Error:
Fatal error :
type : 8192
message : Creation of dynamic property plxMotor::$infos_statics is deprecated
file : /core/lib/class.plx.motor.php(351) : eval()'d code
line : 3
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.19
Why do such large letters appear in a forum message? I just copied and pasted (Ctrl+C to Ctrl+V). It's impossible to write normally.
My site micron. Free hosting: infinityfree.com | php 8.2.21 without alternative.
hello,
Looks like you did not modify this file , therefor you did not apply the fix.
The first option i earlier proposed should have push down everything below edit of one line and not trigger this warning
the second option option should have push down everything below edit of 2 lines and not trigger this warning
First option after edit would leave the beginning of the file /core/lib/class.plx.motor.php alike:
and
eval($this->plxPlugins->callHook('plxMotorDemarrageEnd'));
will no longer be on line 351 but 352The forum can use markdown and will apply anything in your message that may look alike. You can avoid this, pasting your codes in between these caracteres (backtick) ``` . it will create a block of
<code>
. See https://www.markdownguide.org/extended-syntax/#fenced-code-blocksp.s. excuse my average english, do not hesitate to ask again i can be very much unclear
Cordialement,
gcyrillus , simple membre du forum et utilisateur de pluxml
Mon site PluXml: https://re7net.com | Plugins: https://ressources.pluxopolis.net/banque-plugins/index.php?all_versions | demos sur free http://gcyrillus.free.fr/new | Thèmes: tester et télécharger @ https://pluxthemes.com
Indiquez [RESOLU] dans le titre de votre question une fois le soucis réglè, Merci