POST https://www.cubenoxhost.pl/panel?id=1&routeName=cart_buy

Query Metrics

37 Database Queries
22 Different statements
24.38 ms Query time
3 Invalid entities
25 Managed entities

Queries

Group similar statements

# Time Info
1 0.62 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.display_name AS display_name_3, t0.version AS version_4, t0.author AS author_5, t0.description AS description_6, t0.license AS license_7, t0.state AS state_8, t0.path AS path_9, t0.manifest AS manifest_10, t0.pteroca_min_version AS pteroca_min_version_11, t0.pteroca_max_version AS pteroca_max_version_12, t0.enabled_at AS enabled_at_13, t0.disabled_at AS disabled_at_14, t0.fault_reason AS fault_reason_15, t0.zip_hash AS zip_hash_16, t0.created_at AS created_at_17, t0.updated_at AS updated_at_18 FROM plugin t0 WHERE t0.state = ? ORDER BY t0.name ASC
Parameters:
[
  "enabled"
]
2 0.60 ms
SELECT t0.id AS id_1, t0.pterodactyl_user_id AS pterodactyl_user_id_2, t0.pterodactyl_user_api_key AS pterodactyl_user_api_key_3, t0.email AS email_4, t0.roles AS roles_5, t0.balance AS balance_6, t0.name AS name_7, t0.surname AS surname_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.is_verified AS is_verified_11, t0.is_blocked AS is_blocked_12, t0.avatar_path AS avatar_path_13, t0.deleted_at AS deleted_at_14, t0.password AS password_15 FROM user t0 WHERE t0.id = ?
Parameters:
[
  2
]
3 0.61 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.display_name AS display_name_3, t0.description AS description_4, t0.is_system AS is_system_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM role t0 INNER JOIN user_role ON t0.id = user_role.role_id WHERE user_role.user_id = ?
Parameters:
[
  2
]
4 0.72 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.description AS description_4, t0.section AS section_5, t0.is_system AS is_system_6, t0.plugin_name AS plugin_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9 FROM permission t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "purchase_server"
]
5 0.57 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.description AS description_4, t0.section AS section_5, t0.is_system AS is_system_6, t0.plugin_name AS plugin_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9 FROM permission t0 INNER JOIN role_permission ON t0.id = role_permission.permission_id WHERE role_permission.role_id = ?
Parameters:
[
  2
]
6 0.66 ms
SELECT p0_.id AS id_0, p0_.token AS token_1, p0_.type AS type_2, p0_.created_at AS created_at_3, p0_.user_id AS user_id_4 FROM purchase_token p0_ WHERE p0_.token = ? AND p0_.user_id = ? AND p0_.type = ?
Parameters:
[
  "4515606a7fccec2c00e54d216762603a5bb885643d4c02aab5d78e18a9a59f8d"
  2
  "buy"
]
7 0.18 ms
"START TRANSACTION"
Parameters:
[]
8 0.44 ms
UPDATE user SET balance = ?, updated_at = ? WHERE id = ?
Parameters:
[
  100001.01
  "2026-04-21 11:17:33"
  2
]
9 0.30 ms
DELETE FROM purchase_token WHERE id = ?
Parameters:
[
  9
]
10 5.21 ms
"COMMIT"
Parameters:
[]
11 0.56 ms
SELECT t0.description AS description_1, t0.short_description AS short_description_2, t0.is_active AS is_active_3, t0.priority AS priority_4, t0.featured AS featured_5, t0.image_path AS image_path_6, t0.banner_path AS banner_path_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.deleted_at AS deleted_at_10, t0.id AS id_11, t0.name AS name_12, t0.disk_space AS disk_space_13, t0.memory AS memory_14, t0.io AS io_15, t0.cpu AS cpu_16, t0.threads AS threads_17, t0.db_count AS db_count_18, t0.swap AS swap_19, t0.backups AS backups_20, t0.ports AS ports_21, t0.schedules AS schedules_22, t0.nodes AS nodes_23, t0.nest AS nest_24, t0.eggs AS eggs_25, t0.eggs_configuration AS eggs_configuration_26, t0.allow_change_egg AS allow_change_egg_27, t0.allow_auto_renewal AS allow_auto_renewal_28, t0.allow_user_select_location AS allow_user_select_location_29, t0.setup_fee AS setup_fee_30, t0.category_id AS category_id_31 FROM product t0 WHERE t0.id = ?
Parameters:
[
  1
]
12 0.55 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.value AS value_3, t0.unit AS unit_4, t0.price AS price_5, t0.deleted_at AS deleted_at_6, t0.product_id AS product_id_7 FROM product_price t0 WHERE t0.product_id = ?
Parameters:
[
  1
]
13 0.40 ms
"START TRANSACTION"
Parameters:
[]
14 0.58 ms
SELECT u0_.id AS id_0, u0_.pterodactyl_user_id AS pterodactyl_user_id_1, u0_.pterodactyl_user_api_key AS pterodactyl_user_api_key_2, u0_.email AS email_3, u0_.roles AS roles_4, u0_.balance AS balance_5, u0_.name AS name_6, u0_.surname AS surname_7, u0_.created_at AS created_at_8, u0_.updated_at AS updated_at_9, u0_.is_verified AS is_verified_10, u0_.is_blocked AS is_blocked_11, u0_.avatar_path AS avatar_path_12, u0_.deleted_at AS deleted_at_13, u0_.password AS password_14 FROM user u0_ WHERE u0_.id = ? AND u0_.deleted_at IS NULL FOR UPDATE
Parameters:
[
  2
]
15 0.41 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
16 0.48 ms
INSERT INTO server (pterodactyl_server_id, pterodactyl_server_identifier, name, created_at, deleted_at, expires_at, is_suspended, auto_renewal, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  6
  "eb19dc76"
  null
  "2026-04-21 11:17:33"
  null
  "2026-05-21 11:17:33"
  0
  0
  2
]
17 0.37 ms
UPDATE product_price SET price = ? WHERE id = ?
Parameters:
[
  9.99
  1
]
18 0.13 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
19 0.17 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
20 0.67 ms
INSERT INTO server_product (selected_node_id, name, disk_space, memory, io, cpu, threads, db_count, swap, backups, ports, schedules, nodes, nest, eggs, eggs_configuration, allow_change_egg, allow_auto_renewal, allow_user_select_location, setup_fee, server_id, original_product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  null
  "Minecraft 2 GB / 30 dni"
  10000
  2048
  500
  200
  null
  0
  0
  0
  0
  10
  "[1]"
  1
  "[4]"
  "{"4":{"options":{"startup":{"value":"java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"},"docker_image":{"value":"ghcr.io\/pterodactyl\/yolks:java_21"}},"variables":{"9":{"value":"latest","env_variable":"MINECRAFT_VERSION","name":"Minecraft Version","description":"The version of minecraft to download. \r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.","rules":"nullable|string|max:20","user_viewable":"on","user_editable":"on"},"10":{"value":"server.jar","env_variable":"SERVER_JARFILE","name":"Server Jar File","description":"The name of the server jarfile to run the server with.","rules":"required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/","user_viewable":"on","user_editable":"on"},"11":{"value":"","env_variable":"DL_PATH","name":"Download Path","description":"A URL to use to download a server.jar rather than the ones in the install script. This is not user viewable.","rules":"nullable|string"},"12":{"value":"latest","env_variable":"BUILD_NUMBER","name":"Build Number","description":"The build number for the paper release.\r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.","rules":"required|string|max:20","user_viewable":"on","user_editable":"on"}}}}"
  0
  0
  0
  null
  3
  1
]
21 0.15 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
22 0.16 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
23 0.41 ms
INSERT INTO server_product_price (is_selected, type, value, unit, price, deleted_at, server_product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  "static"
  30
  "days"
  9.99
  null
  3
]
24 0.14 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
25 0.35 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
26 0.31 ms
UPDATE user SET balance = ?, updated_at = ? WHERE id = ?
Parameters:
[
  99991.02
  "2026-04-21 11:17:33"
  2
]
27 0.13 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
28 0.63 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.type AS type_4, t0.context AS context_5, t0.hierarchy AS hierarchy_6, t0.nullable AS nullable_7 FROM setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "pterodactyl_use_as_client_panel"
]
29 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.type AS type_4, t0.context AS context_5, t0.hierarchy AS hierarchy_6, t0.nullable AS nullable_7 FROM setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "site_url"
]
30 0.32 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.type AS type_4, t0.context AS context_5, t0.hierarchy AS hierarchy_6, t0.nullable AS nullable_7 FROM setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "site_email_logo"
]
31 1.01 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
32 0.76 ms
INSERT INTO email_log (email_type, email_address, subject, metadata, sent_at, status, user_id, server_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "purchased_product"
  "lachp853@gmail.com"
  "Zakup serwera"
  "{"product_id":1,"price_id":1,"server_expires_at":"2026-05-21 11:17:33","context":{"user":{},"currency":"PLN","server":{"ip":"193.26.159.241:25566","expiresAt":{"date":"2026-05-21 11:17:33.507065","timezone_type":3,"timezone":"Europe\/Warsaw"}},"panel":{"url":"https:\/\/cubenoxhost.pl","username":"lachp853"},"product":{},"selectedPrice":{},"priceCalculation":{"originalPrice":{},"basePrice":9.99,"finalPrice":9.99,"pricingType":"static","formattedDescription":"9,99 PLN","slots":null}}}"
  "2026-04-21 11:17:39"
  "sent"
  2
  3
]
33 0.20 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
34 0.14 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
35 0.25 ms
INSERT INTO log (action_id, details, ip_address, created_at, user_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "bought_server"
  "{"product":{},"egg":4,"price":1,"voucher":"","server":{}}"
  "172.19.0.1"
  "2026-04-21 11:17:39"
  2
]
36 0.14 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
37 4.80 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Core\Entity\Permission 12
App\Core\Entity\Setting 3
App\Core\Entity\User 1
App\Core\Entity\Role 1
App\Core\Entity\Product 1
App\Core\Entity\Category 1
App\Core\Entity\ProductPrice 1
App\Core\Entity\Server 1
App\Core\Entity\ServerProduct 1
App\Core\Entity\ServerProductPrice 1
App\Core\Entity\EmailLog 1
App\Core\Entity\Log 1
App\Core\Entity\PurchaseToken 0

Entities Mapping

Class Mapping errors
App\Core\Entity\Plugin No errors.
App\Core\Entity\User
  • The field 'App\Core\Entity\User#balance' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Core\Entity\User#logs is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Core\Entity\Log#user does not contain the required 'inversedBy: "logs"' attribute.
App\Core\Entity\Log No errors.
App\Core\Entity\Role No errors.
App\Core\Entity\Permission No errors.
App\Core\Entity\PurchaseToken No errors.
App\Core\Entity\Product No errors.
App\Core\Entity\Category No errors.
App\Core\Entity\ProductPrice
  • The field 'App\Core\Entity\ProductPrice#price' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Core\Entity\Server No errors.
App\Core\Entity\ServerProduct No errors.
App\Core\Entity\ServerProductPrice
  • The field 'App\Core\Entity\ServerProductPrice#price' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
App\Core\Entity\Setting No errors.
App\Core\Entity\EmailLog No errors.