I've this warning when i use PHP > 8.0 and JDownloads 4.0.17 beta
Deprecated
: Creation of dynamic property JDownloads\Component\JDownloads\Site\Helper\LegacyRouter::$router is deprecated in
/home/cavi22/webapps/cavinato2022/components/com_jdownloads/src/Helper/LegacyRouter.php
on line
41
Is there a fix ?
Sorry. I will check this.
I've tried with 8.1 and 8.2 and both have same msgs
What you mean for "global Joomla sef settings" ?
Thanks
I have my first answer removed as it was wrong. So forget this please.
I will fix it and will post here a short fix.
Is this the only error with a problem like this?
at now yes, i'll let you know if found others
when you plan to release a fix ?
Maybe later today.
I have tried to reproduce this on PHP 8.1.12, but not possible.
- jDownloads 4.0.17 beta
- Joomla sef settings see pic
I've tested with same your config and i've warning, on top of page i see this:
Deprecated
: Creation of dynamic property JDownloads\Component\JDownloads\Site\Helper\LegacyRouter::$router is deprecated in
/home/cavi22/webapps/cavinato2022/components/com_jdownloads/src/Helper/LegacyRouter.php
on line
41
On which page exactly did you receive this message?
You can see here: https://beta.cavinato.com/it/divisioni-it/pavimenti
but the strange thing is that page has no jdownloads module
jdownloads is here: https://beta.cavinato.com/index.php/it/download-it/category/14-ita
Oh. At first you should quickly deactivate the Debug option in Joomla global config! And change also the Error Reporting Level in the TAB Server to System default. This should hide the most 'deprecated' messages.
I will publish tonight or tomorrow the next beta version. You should then install it soon.
Hi, i've disactivated all debug and logs but the same i see warnings..
https://beta.cavinato.com/it/divisioni-it/pavimenti
4.0.18 still not released.. problems ?
Will be published in the next hours. ;)
But it is not sure that this version can solve your problems.
Yes, beta 18 not solve my issue :(
Hi,
could I get access to your backend? When possible, send me data via PM.
Fixed in 4.0.19. Closed.
Hi
I have not been able to reproduce!
Could you please advise where or when in jD does this occur. For example is when you first open the jD component or maybe when trying to create a Download.
Thanks
Colin
Quote from: ColinM on 14.03.2023 18:33:16
Hi
I have not been able to reproduce!
Could you please advise where or when in jD does this occur. For example is when you first open the jD component or maybe when trying to create a Download.
Thanks
Colin
Colin,
you need a
PHP 8.1 version to reproduce this.
But it is already fixed!