Moderator: And_One
teddy wrote:A big thank you by me as well, and the first issue. On this page:
http://jl3.joomleague.at/index.php/comp ... 016-2017/2
if I click on 9 points leading to this link
http://jl3.joomleague.at/index.php/comp ... /0/0/0/0/0
I get this error
Fatal error: Call to a member function getDivisionID() on null in /var/www/jl3/components/com_joomleague/views/results/view.html.php on line 726
vikingX wrote:teddy wrote:A big thank you by me as well, and the first issue. On this page:
http://jl3.joomleague.at/index.php/comp ... 016-2017/2
if I click on 9 points leading to this link
http://jl3.joomleague.at/index.php/comp ... /0/0/0/0/0
I get this error
Fatal error: Call to a member function getDivisionID() on null in /var/www/jl3/components/com_joomleague/views/results/view.html.php on line 726
I can confirm. Seems to be a problem with the result view in general, as I get the same error when trying to open result view on my own testsite:
http://test.janwicki.ch/joom3/index.php resp.
http://test.janwicki.ch/joom3/index.php/results
vikingX wrote:teddy wrote:A big thank you by me as well, and the first issue. On this page:
http://jl3.joomleague.at/index.php/comp ... 016-2017/2
if I click on 9 points leading to this link
http://jl3.joomleague.at/index.php/comp ... /0/0/0/0/0
I get this error
Fatal error: Call to a member function getDivisionID() on null in /var/www/jl3/components/com_joomleague/views/results/view.html.php on line 726
I can confirm. Seems to be a problem with the result view in general, as I get the same error when trying to open result view on my own testsite:
http://test.janwicki.ch/joom3/index.php resp.
http://test.janwicki.ch/joom3/index.php/results
And_One wrote:Could you attach your project export pls.
Code: Select all
$lists['seasons'] = JHtml::_('select.genericList',$allSeasons,'seasonnav','class="inputbox" style="width:100%"','id','name',$seasonnav);
// build the html select list for projects
$projects = array();
$projects[] = JHtml::_('select.option','0',JText::_('COM_JOOMLEAGUE_GLOBAL_SELECT_PROJECT'),'id','name');
// check if the season filter is set and select the needed projects
if(! $use_seasons)
{
if($res = $mdlJoomleague->getProjectsBySportsType($sporttype_id,$seasonnav))
{
$projects = array_merge($projects,$res);
}
}
else
{
if($res = $mdlJoomleague->getSeasonProjects($seasonnav))
{
$projects = array_merge($projects,$res);
}
}
$lists['projects'] = JHtml::_('select.genericList',$projects,'pid[]','class="inputbox" style="width:100%"','id','name',$project_id);
}
On line 221:array(1) {
[0]=> object(stdClass)#229 (3) {
["id"]=> string(1) "0"
["name"]=> string(18) "- Select Project -"
["disable"]=> bool(false)
}
}
And_One wrote:
it seems to work on your site
vikingX wrote:And_One wrote:
it seems to work on your site
I installed your fixed Version![]()
And_One wrote:will look at it ... soon
Code: Select all
if($res = $mdlJoomleague->getSeasonProjects($seasonnav))
Code: Select all
if($res = $mdlJoomleague->getProjectsBySportsType($sporttype_id,$seasonnav))
And_One wrote:GIT is ALWAYS the latest version, so update from git or from the update site if possible. If somethinh goes wrong download the latest GIT package from here: https://gitlab.com/joomleague/joomleagu ... joomleague
Strict Standards: Declaration of JoomleagueModelEventsRanking::getDivision() should be compatible with JoomleagueModelProject::getDivision($id) in /mnt/webg/b1/03/52129103/htdocs/ligatest/components/com_joomleague/models/eventsranking.php on line 21 Strict Standards: Declaration of JoomleagueModelEventsRanking::getEventTypes() should be compatible with JoomleagueModelProject::getEventTypes($evid = 0) in /mnt/webg/b1/03/52129103/htdocs/ligatest/components/com_joomleague/models/eventsranking.php on line 21
And_One wrote:fix pushed , update to 3.0.19.271d82d
Strict Standards: Declaration of JoomleagueModelEventsRanking::getDivision() should be compatible with JoomleagueModelProject::getDivision($id) in /mnt/webg/b1/03/52129103/htdocs/ligatest/components/com_joomleague/models/eventsranking.php on line 21 Strict Standards: Declaration of JoomleagueModelEventsRanking::getEventTypes() should be compatible with JoomleagueModelProject::getEventTypes($evid = 0) in /mnt/webg/b1/03/52129103/htdocs/ligatest/components/com_joomleague/models/eventsranking.php on line 21
Events Rang: KrsLi LG
administrator/index.php?option=com_joomleague&view=match&layout=editevents&match_id=17&prefill=0
Fehler
No last match roster found for: 23001 SC Apelern LG-1
No last match roster found for: 23008 SV Horsten LG-1
Please assign events to positions of this project!
Notice: Undefined offset: 0 in .../htdocs/ligatest/administrator/components/com_joomleague/models/match.php on line 2232 Notice: Trying to get property of non-object in .../htdocs/ligatest/administrator/components/com_joomleague/models/match.php on line 2232 Notice: Undefined offset: 0 in /.../htdocs/ligatest/administrator/components/com_joomleague/models/match.php on line 2232 Notice: Trying to get property of non-object in .../htdocs/ligatest/administrator/components/com_joomleague/models/match.php on line 2232
/component/joomleague/results/1/0/8/0/0/0
output looks like hell
Trubadix wrote:And_One wrote:- Backend on select season, the selekted season is stored to system, but the select-field turns back to "Select Season"
Code: Select all
# grep -irn "nnav" *
assets/js/quickmenu.js:14: if (jQuery('#seasonnav')) {
assets/js/quickmenu.js:15: jQuery('#seasonnav').change(function(){
controller.php:62: $sid = $app->getUserState($option . 'seasonnav',false);
controller.php:67: $app->setUserState($option . 'seasonnav',$sid);
controllers/joomleague.php:83: $sid = $app->getUserState($option . 'seasonnav',false);
controllers/joomleague.php:88: $app->setUserState($option . 'seasonnav',$sid);
controllers/joomleague.php:183: $sid = $app->getUserState($option . 'seasonnav',false);
controllers/joomleague.php:188: $app->setUserState($option . 'seasonnav',$sid);
models/tools.php:428: $app->setUserState('com_joomleagueseasonnav', null);
views/joomleague/view.html.php:188: $seasonid = $app->getUserState($option . 'seasonnav');
views/joomleague/view.html.php:216: $lists['seasons'] = JHtml::_('select.genericList',$allSeasons,'seasonnav','class="inputbox" style="width:100%"','id','name',$seasonid);
Return to “3.0.22.57ae969-Blue (Joomla: 3.x)”
Users browsing this forum: No registered users and 2 guests