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 4 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: 23 Members and 4564 Guests Online
Anna Petyaeva Brian W Carlos Gerardo Paniagua Delgado Gajan Singh H. Baelde Haitham Fakhouri INDIGO Jared Kelsey Brookes Lars Reimers Manuel Garzi Matteo OmegaFM Paul Philippe Manseau Rich Starkie Santana Moll Stephen Snyder amateur56 baronti kostas tzortzinis lev99 queueceboge
Legend ::   Site Administrator Global Moderator Moderator Banned User Guest
  • Total Messages: 146823 | Total Subjects: 39251
  • Total Sections: 6 | Total Categories: 48
  • Today Open: 4 | Yesterday Open: 12
  • Today Total Answer: 4 | Yesterday Total Answer: 6
Powered by Kunena Forum