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.85 MiB
MEMORY USAGE AFTER: 4.95 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: 53ca96e7f0346ab8b7c97bd2e8fa403c

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 = 53ca96e7f0346ab8b7c97bd2e8fa403c
fullstate =


Cookie Variables

handl_ip = 3.17.155.142
handl_landing_page = https://camlawllp.com/?p=5545
handl_url_base = https://camlawllp.com/personal-injury-attorney/avoid-accidents-whole-year-round/
handl_original_ref = https://camlawllp.com/?p=5545
HandLtestDomainNameServer = HandLtestDomainValueServer
user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
organic_source = https://camlawllp.com/?p=5545
organic_source_str = Internal
handl_url = https://camlawllp.com/personal-injury-attorney/avoid-accidents-whole-year-round/
handl_ref = https://camlawllp.com/?p=5545


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 = 31624
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.17.155.142
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_COOKIE = handl_ip=3.17.155.142; handl_landing_page=https%3A%2F%2Fcamlawllp.com%2F%3Fp%3D5545; handl_url_base=https%3A%2F%2Fcamlawllp.com%2Fpersonal-injury-attorney%2Favoid-accidents-whole-year-round%2F; handl_original_ref=https%3A%2F%2Fcamlawllp.com%2F%3Fp%3D5545; HandLtestDomainNameServer=HandLtestDomainValueServer; 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; organic_source=https%3A%2F%2Fcamlawllp.com%2F%3Fp%3D5545; organic_source_str=Internal; handl_url=https%3A%2F%2Fcamlawllp.com%2Fpersonal-injury-attorney%2Favoid-accidents-whole-year-round%2F; handl_ref=https%3A%2F%2Fcamlawllp.com%2F%3Fp%3D5545
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 = Z0GiY2lRf-o7JbtasntonAAAAMM
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 = Z0GiY2lRf-o7JbtasntonAAAAMM
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732354659.8258
REQUEST_TIME = 1732354659


SQL Queries


Total Queries: 56
Total Execution Time: 15.4296ms
Avg Execution Time:0.27552857142857ms

QUERY(2.228ms) - 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-23', '09:37:39', 'GET', '/ultra/miken-easton-worth-series/johnsoncity-2024/payment/addon/', '3.17.155.142', '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)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhemd0U0FhZnFkM0laWlQyU2RrdEZRV3VVZTFqYVFlbXpDWnRWem5OODlBdVIzc2xrenlGdFlFWGwwZHhnVlJzZHdMTCtvbWdzNVNHZ0h6UUQ0djEzbUQ=','0','','1732354659') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

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

QUERY(0.2942ms) - 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.293ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

QUERY(0.1531ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.6309ms) - 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.1719ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.4799ms) - 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.211ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.1919ms) - 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.1841ms) - 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.241ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=185 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.2298ms) - 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.14ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

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

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

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

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

QUERY(0.1659ms) - SELECT SQL_CACHE * FROM league_config

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

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

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

QUERY(0.1349ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.129ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1371ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

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

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

QUERY(0.1249ms) - SELECT SQL_CACHE * FROM company_config

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

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

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.2301ms) - SELECT SQL_CACHE * FROM payments_config

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

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

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

QUERY(0.1161ms) - SELECT SQL_CACHE * FROM payments_config

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

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

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

QUERY(0.2861ms) - 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