Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

TOPIC: Notices on an undefined variable

Notices on an undefined variable 8 years 9 months ago #1628

Hi I'm getting multiple Notice lines in my output...

Notice: Undefined variable: target in /****/modules/mod_fpslideshow.php on line 463

If you select: Where should all links open? "Same window" in the Admin module then the target variable cannot be set as it has no option to be set.

In line 21...
if ($open_links) { $target = ' target="_blank"'; }

by adding...
else {  $target = ''; }

The problem goes away. Hope this helps others...

Who Is Online

Total users online: 12 Members and 4760 Guests Online
ALEXANDROS KELEKTSOGLOU Alexei Antonio Bárbara Pick Ornaghi Gerben HOB FRANCE SERVICES Krikor Martin Ouzilleau Morten Berg-Hansen meaculpa phil spozzati
Legend ::   Site Administrator Global Moderator Moderator Banned User Guest
  • Total Messages: 150937 | Total Subjects: 40122
  • Total Sections: 6 | Total Categories: 48
  • Today Open: 2 | Yesterday Open: 3
  • Today Total Answer: 11 | Yesterday Total Answer: 16
Powered by Kunena Forum