LISE problem variable prettyurl not defined

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jraine
New Member
New Member
Posts: 2
Joined: Mon Feb 06, 2023 6:01 pm

LISE problem variable prettyurl not defined

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1630
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: LISE problem variable prettyurl not defined

Post 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.
Not getting the answer you need? CMSMS support options
jraine
New Member
New Member
Posts: 2
Joined: Mon Feb 06, 2023 6:01 pm

Re: LISE problem variable prettyurl not defined

Post 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
Post Reply

Return to “Modules/Add-Ons”