You need to be logged in to view a user's profile.
  1. webmasterfegmn
  2. JEvents 3.4 (Free Access)
  3. Wednesday, 28 July 2021
Between the calender and the legend there is a deprecated info:
Deprecated: Required parameter $modid follows optional parameter $params in \modules\mod_jevents_legend\tmpl\default\legend.php on line 31
Accepted Answer Pending Moderation
0
Votes
Undo
I think you can just change that line so the optional parameter is after the $modid and it should be happy

mod_jevents_legend\tmpl\default\legend.php on line 31

function __construct($modid, &$params=null,)
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
skurvish
Contributor
Accepted Answer Pending Moderation
0
Votes
Undo
That is not going to work as the call parameter order is set by the function creating the class. You can safely change it to:


function __construct(&$params, $modid)

i.e. remove the =null
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
skurvish
Contributor
Accepted Answer Pending Moderation
0
Votes
Undo
geraint tonyp Submitted PR 522.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.