Join as Alternate
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 '&& `season_id`=185' 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] => 1074
                    [function] => query
                    [class] => sql
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment-old.php
                    [line] => 82
                    [function] => queryItem
                    [class] => sql
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment.php
                    [line] => 8
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/league/payment-old.php
                        )

                    [function] => require
                )

            [5] => 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/payment.php
                        )

                    [function] => require_once
                )

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

                    [function] => include
                )

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

            [8] => 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
                )

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

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

            [11] => 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
                )

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

        )

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

SELECT `package_id` FROM `league_players` WHERE `player_id`= && `season_id`=185
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 '&& `season_id`=185' at line 1

Login

Sign in with your username or email address
Min 8 characters with mix of letters and numbers

Forgot password? Click Here

No Account? Register Here.

Registration Fees

104 185
PEAK MEMORY: 6.84 MiB
MEMORY USAGE AFTER: 4.94 MiB

Debug Information


Request Variables

var = ultra

varb = miken-easton-worth-series

varc = johnsoncity-2024

vard = payment

vare = addon

vara =

view_var = ultra

view_varb = miken-easton-worth-series

view_varc = johnsoncity-2024

view_vard = payment

view_vare = addon

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 184838b1f2a692d31e9426f1eb3bbe79

Login Type:

BASE:: ultra

FULL LINK:: ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon

Page ID: 57

Page ID:: 57

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 = 184838b1f2a692d31e9426f1eb3bbe79
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=johnsoncity-2024&vard=payment&vare=addon
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=johnsoncity-2024&vard=payment&vare=addon
REDIRECT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REMOTE_PORT = 28266
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.141.21.212
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/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
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/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
SCRIPT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
UNIQUE_ID = ZzV94tAniWN7pvbzgSuNSAAAAAI
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REDIRECT_SCRIPT_URL = /ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/
REDIRECT_UNIQUE_ID = ZzV94tAniWN7pvbzgSuNSAAAAAI
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1731558882.5373
REQUEST_TIME = 1731558882


SQL Queries


Total Queries: 56
Total Execution Time: 13.9112ms
Avg Execution Time:0.24841428571429ms

QUERY(1.539ms) - 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-14', '04:34:42', 'GET', '/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/', '3.141.21.212', 'https://netstuffersdev1.com/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhejhMenY4Ty9oZE1vdE9TMUN3RlFzUUw3dnkvTUdDbzhjL3NmTXo2Q2hiWDc0WFQyZG96M1ZnRTBmcGk0V1F5YjM2YTd4L2ZvOFkreXhsZTNOVThDTXk=','0','','1731558882') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1791ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/'

QUERY(0.2439ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1631ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.129ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5739ms) - 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` = 'miken-easton-worth-series' LIMIT 0,1

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

QUERY(0.5598ms) - 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` = '104' and `league_seasons`.`url` = 'johnsoncity-2024' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1152ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.2191ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.1791ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.2329ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=185 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.159ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=185 LIMIT 0,1

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

QUERY(0.138ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

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

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

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

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

QUERY(0.1371ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1609ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='miken-easton-worth-series'

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.133ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.123ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1481ms) - SELECT * FROM `league_notices` WHERE `league_id`=104 && `season_id`=185

QUERY(0.5569ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=185 LIMIT 0,1

QUERY(0.1931ms) - SELECT SQL_CACHE `standings_override` FROM `league_schedule_options` WHERE `season_id`=185 LIMIT 0,1

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

QUERY(0.1371ms) - SELECT SQL_CACHE * FROM company_config

QUERY(0.3119ms) - SELECT * FROM `league_custom_content` WHERE `season_id`=185

QUERY(0.34ms) - SELECT * FROM `league_merch` WHERE `season_id`=185

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

QUERY(0.1161ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.19ms) - SELECT `package_id` FROM `league_players` WHERE `player_id`= && `season_id`=185

QUERY(0.231ms) - SELECT `package_id` FROM `league_players` WHERE `player_id`=0 && `season_id`=185

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

QUERY(0.102ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.1612ms) - SELECT `fee` FROM `league_seasons` WHERE `season_id`='185'

QUERY(0.1149ms) - SELECT `gate_fee`,`name`,`coolers` FROM `venues` WHERE `venue_id`=67

QUERY(0.278ms) - SELECT * FROM `league_custom_content` WHERE `league_id`='104' && `season_id`='185'

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