News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Deprecated : Creation of dynamic property - [Fixed in 4.0.19]

Started by blondie63, 26.02.2023 16:36:49

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

blondie63

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 ?
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

I've tried with 8.1 and 8.2 and both have same msgs
What you mean for "global Joomla sef settings" ?

Thanks
  •  

Arno

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?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

at now yes, i'll let you know if found others
  •  

blondie63

  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

I have tried to reproduce this on PHP 8.1.12, but not possible.
- jDownloads 4.0.17 beta
- Joomla sef settings see pic
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

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
  •  

Arno

#9
On which page exactly did you receive this message?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

  •  

Arno

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.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

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 ?
  •  

Arno

Will be published in the next hours.  ;)

But it is not sure that this version can solve your problems.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

blondie63

  •