Page 1 of 1

LISE problem variable prettyurl not defined

Posted: Mon Feb 06, 2023 6:27 pm
by jraine
Good evening

I have a problem with the LISE module and a LISEcompanydirectory instance when I want to display a detail I have the following error message:
Notice: Undefined variable: prettyurl in ...\modules\LISE\framework\action.detail.php on line 161

when I configure with

$config['url_rewrite'] = 'mod_rewrite';

the error does not occur if rewrite mode is not enabled

cmsMS version 2.2.16
php version 7.4.33

Thank you for your help and have a good evening.

Julian

Re: LISE problem variable prettyurl not defined

Posted: Mon Feb 06, 2023 6:32 pm
by DIGI3
Keep in mind that notices are not errors. On production sites you can and should disable notices from your error reporting. If it's showing on the screen then you should turn off display_errors too.

It's nice if module developers can tidy these up but it won't affect your site at all.

Re: LISE problem variable prettyurl not defined

Posted: Mon Feb 06, 2023 6:46 pm
by jraine
I completely agree with you DIGI3 on a production site the notice will not appear but there is still a small problem with the prettyurl variable ...
We will say that this message will serve as a bug report

I thank you for your answer
Cordially
Julian