Corrected bugs:
- Error: Attempt to increment/decrement property "xfa_tourn_wins" on null in src/addons/XFA/Tournament/Entity/Tournament.php at line 926
- LogicException: Entity XFA\Roster:Roster (class: XFA\Roster\Entity\Roster) could not be found in src/XF/Mvc/Entity/Manager.php at line 53
- Missing link in latest tournament widget header
Modifications:
- Renamed all database table to add xf_ prefix
XF\Db\Exception: MySQL statement prepare error [1146]: Table ''[dbname]_xenforo.xfa_tourn_tournament' doesn't exist src/XF/Db/AbstractStatement.php:230
Generated by: Tex Jan 25, 2023 at 1:04 AM
Stack trace
SELECT winner_id, COUNT(tournament_id) AS wins
FROM xfa_tourn_tournament
WHERE xfa_tourn_tournament.type <> 'team'
AND (
(end_date = 0 AND creation_date > ?)
OR
end_date > ?
)
GROUP BY user_id
ORDER BY wins DESC
LIMIT ?
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(41): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(56): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(167): XF\Db\AbstractAdapter->query('
SE...', Array)
#5 src/addons/XFA/Tournament/Pub/Controller/Leaderboard.php(108): XF\Db\AbstractAdapter->fetchAllKeyed('
SE...', 'winner_id', Array)
#6 src/XF/Mvc/Dispatcher.php(352): XFA\Tournament\Pub\Controller\Leaderboard->actionIndex(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFA\\Tournament:...', 'Index', Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Leaderboard), NULL)
#8 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\Tournament\Pub\Controller\Leaderboard), NULL)
#9 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
["url"] => string(24) "/tournaments/leaderboard"
["referrer"] => string(69) "/tournaments/participated-tournaments"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Corrected bugs:
- SQL errors in some location following table renaming
Corrected bugs:
- Still some SQL error following table rename
Damn, it wasn't catched from the search... posting a bug release.
Tournament links in "who's online" is broken. It will show the correct tournament the user is viewing, but clicking that link from the who's online list will provide a broken URL. It seems it places a $ sign in the url.
Cant recall if you had reported those on our website ?Also counter on tournament page is wrong?
View attachment 280790
They are hardcoded in the JavaScript library I use I think.
It’s on my tab, just not sure if/when I will implement it as it’s driven by the sales as well.I know it's been discussed in the past about adding ladder tournaments. Was wondering if it was planned for a future release?
Cant recall if you had reported those on our website ?
They are hardcoded in the JavaScript library I use I think.
It’s on my tab, just not sure if/when I will implement it as it’s driven by the sales as well.
Oh right, I think I had started working on a new release but haven't finished it.I did.
Bug - Counter on tournament page is wrong
It doesn't count the tournament in said category correctly.xen-factory.com
(it is marked as fixed, but no update to fix it has been released yet).Bug - Fixed - Tournament links in "who's online" is broken
Tournament links in "who's online" is broken. It will show the correct tournament the user is viewing, but clicking that link from the who's online list will provide a broken URL. It seems it places a $ sign in the url.xen-factory.com
That's not something that is implemented.Maybe I'm missing or overlooking a setting but how do you set tournaments where low scores win/advance ie golf, racing (fastest lap) etc?
Oh right, I think I had started working on a new release but haven't finished it.
Template error: [E_USER_WARNING] Method canViewTournaments is not callable on the given object
[COLOR=rgb(20, 20, 20)]$xf.visitor.canViewTournaments()
in the xfa_tourn
navigation entry.[/COLOR]callable()
like so:callable($xf.visitor, 'canViewTournaments') && $xf.visitor.canViewTournaments()
We use essential cookies to make this site work, and optional cookies to enhance your experience.