League

Cincinnati Slowpitch

Sport: Softball
CoedSocialDraft
Join League
mysqli_sql_exception Object
(
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY `season_id` DESC LIMIT 0,1' at line 1
    [string:Exception:private] => 
    [code:protected] => 1064
    [file:protected] => /home/leaguejo_dev/public_html/classes/sql_class.php
    [line:protected] => 962
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 962
                    [function] => mysqli_query
                )

            [1] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 1010
                    [function] => iquery
                    [class] => sql
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 1065
                    [function] => query
                    [class] => sql
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/join.php
                    [line] => 27
                    [function] => queryArray
                    [class] => sql
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/leaguemain.php
                    [line] => 166
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/join.php
                        )

                    [function] => require_once
                )

            [5] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league_class.php
                    [line] => 417
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/leaguemain.php
                        )

                    [function] => include
                )

            [6] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league.php
                    [line] => 32
                    [function] => display
                    [class] => league
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/module_class.php
                    [line] => 30
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/modules/league/league.php
                        )

                    [function] => include
                )

            [8] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/block_class.php
                    [line] => 105
                    [function] => blockdisplay
                    [class] => module
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                    [line] => 116
                    [function] => display
                    [class] => block
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/page_class.php
                    [line] => 139
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                        )

                    [function] => include
                )

            [11] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/index.php
                    [line] => 233
                    [function] => display
                    [class] => page
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [sqlstate:protected] => 42000
)

SELECT * FROM `league_schedule_options` WHERE `league_id`=136 || (`league_id`=136 && `season_id`=) ORDER BY `season_id` DESC LIMIT 0,1
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY `season_id` DESC LIMIT 0,1' at line 1

Register

Register to Play and Network

Already have an account? Login here.

Min 8 characters with mix of letters and numbers

Already have an account? Login here.

You will receive a confirmation email in your inbox
with a link to activate your account!

Join the Event

Event Director
League Joe
Venue
Mid American Ball Yard
Cincinnati, OH
136
PEAK MEMORY: 5.5 MiB
MEMORY USAGE AFTER: 4.58 MiB

Debug Information


Request Variables

var = league

varb = mab

varc = archive

vard = join

vara =

vare =

view_var = league

view_varb = mab

view_varc = archive

view_vard = join

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: c85e35d2847d2586b9ec1da2c97e8285

Login Type:

BASE:: league

FULL LINK:: league/mab/archive/join

Page ID: 27

Page ID:: 27

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => [2] => 1 [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Block Types: Array ( [0] => [1] => [2] => Array ( [0] => module ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Element ID: Array ( [0] => [1] => [2] => Array ( [0] => 10 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = c85e35d2847d2586b9ec1da2c97e8285
fullstate =


Cookie Variables

HandLtestDomainNameServer = HandLtestDomainValueServer
handl_ip = 3.144.235.138
RWSESSID = ce23f126e2239fab46d722a38384d478
care_did = 9731c848-60b7-4ec1-a4fb-29f7ddddd385
user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
handl_landing_page = https://hostedvillas.com/search/%E4%B8%8E%E7%94%B7%E5%8F%8B%E5%89%8D%E4%B8%96%E7%9A%84%E5%9B%A0%E6%9E%9C%E5%85%B3%E7%B3%BB%E5%92%A8%E8%AF%A2%E3%80%90Q%E2%92%8A%E2%92%8F%E2%92%8A%E2%92%8C%E2%92%8CO%E2%92%8F%E2%92%8FO%E3%80%91%E2%88%9A%E8%BD%ACihbwel%E5%B9%B3WOX/feed/rss2
handl_url_base = https://hostedvillas.com/search/%E4%B8%8E%E7%94%B7%E5%8F%8B%E5%89%8D%E4%B8%96%E7%9A%84%E5%9B%A0%E6%9E%9C%E5%85%B3%E7%B3%BB%E5%92%A8%E8%AF%A2%E3%80%90Q%E2%92%8A%E2%92%8F%E2%92%8A%E2%92%8C%E2%92%8CO%E2%92%8F%E2%92%8FO%E3%80%91%E2%88%9A%E8%BD%ACihbwel%E5%B9%B3WOX/feed/rss2
handl_url = https://hostedvillas.com/search/%E4%B8%8E%E7%94%B7%E5%8F%8B%E5%89%8D%E4%B8%96%E7%9A%84%E5%9B%A0%E6%9E%9C%E5%85%B3%E7%B3%BB%E5%92%A8%E8%AF%A2%E3%80%90Q%E2%92%8A%E2%92%8F%E2%92%8A%E2%92%8C%E2%92%8CO%E2%92%8F%E2%92%8FO%E3%80%91%E2%88%9A%E8%BD%ACihbwel%E5%B9%B3WOX/feed/rss2


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/mab/archive/join/
QUERY_STRING = var=league&varb=mab&varc=archive&vard=join
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=mab&varc=archive&vard=join
REDIRECT_URL = /league/mab/archive/join/
REMOTE_PORT = 58123
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.144.235.138
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/league/mab/archive/join
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = HandLtestDomainNameServer=HandLtestDomainValueServer; handl_ip=3.144.235.138; RWSESSID=ce23f126e2239fab46d722a38384d478; care_did=9731c848-60b7-4ec1-a4fb-29f7ddddd385; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_landing_page=https%3A%2F%2Fhostedvillas.com%2Fsearch%2F%25E4%25B8%258E%25E7%2594%25B7%25E5%258F%258B%25E5%2589%258D%25E4%25B8%2596%25E7%259A%2584%25E5%259B%25A0%25E6%259E%259C%25E5%2585%25B3%25E7%25B3%25BB%25E5%2592%25A8%25E8%25AF%25A2%25E3%2580%2590Q%25E2%2592%258A%25E2%2592%258F%25E2%2592%258A%25E2%2592%258C%25E2%2592%258CO%25E2%2592%258F%25E2%2592%258FO%25E3%2580%2591%25E2%2588%259A%25E8%25BD%25ACihbwel%25E5%25B9%25B3WOX%2Ffeed%2Frss2; handl_url_base=https%3A%2F%2Fhostedvillas.com%2Fsearch%2F%25E4%25B8%258E%25E7%2594%25B7%25E5%258F%258B%25E5%2589%258D%25E4%25B8%2596%25E7%259A%2584%25E5%259B%25A0%25E6%259E%259C%25E5%2585%25B3%25E7%25B3%25BB%25E5%2592%25A8%25E8%25AF%25A2%25E3%2580%2590Q%25E2%2592%258A%25E2%2592%258F%25E2%2592%258A%25E2%2592%258C%25E2%2592%258CO%25E2%2592%258F%25E2%2592%258FO%25E3%2580%2591%25E2%2588%259A%25E8%25BD%25ACihbwel%25E5%25B9%25B3WOX%2Ffeed%2Frss2; handl_url=https%3A%2F%2Fhostedvillas.com%2Fsearch%2F%25E4%25B8%258E%25E7%2594%25B7%25E5%258F%258B%25E5%2589%258D%25E4%25B8%2596%25E7%259A%2584%25E5%259B%25A0%25E6%259E%259C%25E5%2585%25B3%25E7%25B3%25BB%25E5%2592%25A8%25E8%25AF%25A2%25E3%2580%2590Q%25E2%2592%258A%25E2%2592%258F%25E2%2592%258A%25E2%2592%258C%25E2%2592%258CO%25E2%2592%258F%25E2%2592%258FO%25E3%2580%2591%25E2%2588%259A%25E8%25BD%25ACihbwel%25E5%25B9%25B3WOX%2Ffeed%2Frss2
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/league/mab/archive/join/
SCRIPT_URL = /league/mab/archive/join/
UNIQUE_ID = Z0KvGr4h2csvWJMbGMv0wAAAAA0
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/mab/archive/join/
REDIRECT_SCRIPT_URL = /league/mab/archive/join/
REDIRECT_UNIQUE_ID = Z0KvGr4h2csvWJMbGMv0wAAAAA0
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732423450.0336
REQUEST_TIME = 1732423450


SQL Queries


Total Queries: 49
Total Execution Time: 19.0464ms
Avg Execution Time:0.38870204081633ms

QUERY(1.2879ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-11-24', '04:44:10', 'GET', '/league/mab/archive/join/', '3.144.235.138', 'https://netstuffersdev1.com/league/mab/archive/join' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheUxjdWMzTWFaaXlaRWxKN0tyOVFzV2JtVVk3eVVsbC9NMlAwNXBUMWc4cTFNQUMwNTJ6bzVKUjNrMHR3eFU1VzArcmsrVkRXdS92MTVIZzVDU29zajU=','0','','1732423450') ON DUPLICATE KEY UPDATE `ip`=`ip`

QUERY(1.683ms) - SELECT SQL_CACHE `end_timestamp` FROM `security_locks` WHERE ((`who`='3.144.235.138' && `which`='IP'))

QUERY(0.149ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/mab/archive/join/'

QUERY(0.2289ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/mab/archive/join' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.2179ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.149ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay`,`customize` FROM `pages` WHERE `id`='27'

QUERY(0.134ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.144ms) - SELECT * FROM userprofiles_config

QUERY(0.138ms) - SELECT SQL_CACHE `name` FROM `states` WHERE `abbr`='' LIMIT 0,1

QUERY(0.1481ms) - SELECT SQL_CACHE title,metakeys,metadescript,seomodule,seotitlefield,seodescfield,seotitletable,seodesctable,urllinkfield FROM pages WHERE `id`='27' && `domain`='1'

QUERY(0.1218ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1061ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.484ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`url` = 'mab' LIMIT 0,1

QUERY(0.149ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.459ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '136' and `league_seasons`.`url` = 'archive' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.2229ms) - SELECT SQL_CACHE `code` FROM `page_headers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `id` ASC

QUERY(0.1228ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='UTC'

QUERY(0.211ms) - SELECT count(`league_id`) FROM `league_players` WHERE `player_id`=''

QUERY(0.1841ms) - SELECT SQL_CACHE `block_id`,`element_id`,`function_id`,`type` FROM `blocks` WHERE `page_id`='27' ORDER BY `order` ASC

QUERY(0.2749ms) - SELECT `abbr`,`name` FROM `states` WHERE `active`=1 ORDER BY `name` ASC

QUERY(0.119ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='10'

QUERY(0.9391ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.119ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.4721ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`url` = 'mab' LIMIT 0,1

QUERY(0.1669ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.3991ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '136' and `league_seasons`.`url` = 'archive' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.2069ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=1

QUERY(0.109ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1111ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.145ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1628ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1349ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.134ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='136' && `season_id`='' LIMIT 0,1

QUERY(0.1779ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`=136 ORDER BY `hall_of_fame` DESC LIMIT 0,1

QUERY(1.272ms) - SELECT DISTINCT(`triumphs_awarded`.`season_id`),`name` FROM `triumphs_awarded` INNER JOIN `league_seasons` ON `triumphs_awarded`.`season_id`=`league_seasons`.`season_id` WHERE `triumphs_awarded`.`league_id`=136 ORDER BY `season_id` DESC LIMIT 0,1

QUERY(0.124ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.107ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1209ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1099ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='payments'

QUERY(0.087ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.1199ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1528ms) - SELECT * FROM userprofiles_config

QUERY(5.9049ms) - SELECT SQL_CACHE `users`.`rookie`,`users`.`id`,`users`.`username`,`users`.`city_address`,`users`.`state_address`,`users`.`first_name`,`users`.`last_name`,`users`.`avatar_id`,`users`.`gender`,`users`.`user_url`,`users`.`level`,`users`.`confirmed`,`users`.`phone_number`,`users`.`email`,`users`.`approved`,`users`.`noemail`,`users`.`problem_list`,`users`.`creation`,`users`.`skill_flag`,`userprofiles_cache`.`trust`,`userprofiles_cache`.`ships`,`userprofiles_cache`.`avg_salary`,`userprofiles_cache`.`silvers`,`userprofiles_cache`.`age`,`league_players`.`credits_applied`,`league_players`.`league_players_id`,`league_players`.`ready`,`league_players`.`season_id`,`league_players`.`created`,`league_players`.`package_id`,`league_players`.`closed`,`league_players`.`moretime`,`league_players`.`player_id`,`league_players`.`league_id`,`league_players`.`alternate`,`league_players`.`coach`,`league_players`.`paid`,`league_players`.`couple`,`league_players`.`couple_uname`,`league_players`.`access`,`league_players`.`nosalary`,`users_socialmedia`.`facebook`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=1 LIMIT 0,1) AS `outfield`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=2 LIMIT 0,1) AS `infield`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=3 LIMIT 0,1) AS `speed`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=4 LIMIT 0,1) AS `hitting`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=5 LIMIT 0,1) AS `slugging`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=7 LIMIT 0,1) AS `arm`,(SELECT `injury` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=1 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=0 DESC LIMIT 0,1) AS `injury`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=1 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=0 DESC LIMIT 0,1) AS `primary`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=2 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=0 DESC LIMIT 0,1) AS `secondary`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=3 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=0 DESC LIMIT 0,1) AS `tertiary`,(SELECT `thumb_url` FROM `photo` WHERE `photo_id`=`users`.`avatar_id` LIMIT 0,1) AS `avatar`,(SELECT `payment_id` FROM `payments` WHERE `league_players`.`player_id`=`payments`.`player_id` && `payments`.`season_id`=`league_players`.`season_id` LIMIT 0,1) AS `payment_id`,(SELECT `teams`.`team_id` FROM `teams` INNER JOIN `teams_players` ON `teams`.`team_id`=`teams_players`.`team_id` INNER JOIN `league_teams` ON `teams`.`team_id`=`league_teams`.`team_id` WHERE `teams_players`.`player_id`=`users`.`id` && `teams_players`.`quit`=0 LIMIT 0,1) AS `team_id` FROM `users` INNER JOIN `userprofiles_cache` ON (`users`.`id` = `userprofiles_cache`.`user_id`) INNER JOIN `league_players` ON (`users`.`id` = `league_players`.`player_id`) LEFT JOIN `users_socialmedia` ON (`users`.`id` = `users_socialmedia`.`user_id`) WHERE `league_players`.`league_id` = '136' and ( `league_players`.`alternate` = '1' or `users`.`problem_list` = '1' or `league_players`.`nosalary` = '1') and `league_players`.`deleted` = '0' GROUP BY `league_players`.`player_id` ORDER BY `users`.`last_name` ASC LIMIT 0,200

QUERY(0.1662ms) - SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=136

QUERY(0.1678ms) - SELECT * FROM `league_schedule_options` WHERE `league_id`=136 || (`league_id`=136 && `season_id`=) ORDER BY `season_id` DESC LIMIT 0,1

QUERY(0.2241ms) - SELECT `text` FROM `company_policies` WHERE (`company_id`=1 || `company_id`=1) && `policy_type`='waiver' ORDER BY `company_id`=1 DESC LIMIT 0,1

QUERY(0.2639ms) - SELECT SQL_CACHE `code` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `id` ASC