[28-Nov-2025 05:49:14 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:103
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(103): mysqli_stmt->bind_param('isdiisiisssi', 1, 'SKU_3274', 19.0, 1000, '{\n        "widt...', 0, 1, 'Decking Screws ...', 'AMAR RAJA', '2025-11-28 05:4...', 1907)
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 103
[28-Nov-2025 05:51:55 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:103
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(103): mysqli_stmt->bind_param('isdiisiisssi', 1, 'SKU_3274', 19.0, 1000, '{\n        "widt...', 0, 1, 'Decking Screws ...', 'AMAR RAJA', '2025-11-28 05:5...', 1907)
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 103
[28-Nov-2025 05:55:19 UTC] PHP Fatal error:  Uncaught ArgumentCountError: The number of elements in the type definition string must match the number of bind variables in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:103
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(103): mysqli_stmt->bind_param('isdiisiisssi', 1, 'SKU_3274', 19.0, 1000, '{\n        "widt...', 0, 1, 'Decking Screws ...', 'AMAR RAJA', '2025-11-28 05:5...', 1907)
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 103
[28-Nov-2025 05:58:06 UTC] PHP Warning:  require_once(../../db.config.php): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 05:58:06 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '../../db.config.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:3
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:00:46 UTC] PHP Warning:  require_once(../../db.config.php): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:00:46 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '../../db.config.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:3
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:01:06 UTC] PHP Warning:  require_once(../../db.config.php): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:01:06 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '../../db.config.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:3
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:01:29 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'product_ref_id' in 'field list' in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:66
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(66): mysqli->prepare('INSERT INTO pro...')
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 66
[28-Nov-2025 06:03:03 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'weight' in 'field list' in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:66
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(66): mysqli->prepare('INSERT INTO pro...')
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 66
[28-Nov-2025 06:05:05 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'weight' in 'field list' in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:66
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(66): mysqli->prepare('INSERT INTO pro...')
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 66
[28-Nov-2025 06:06:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'size' in 'field list' in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:66
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(66): mysqli->prepare('INSERT INTO pro...')
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 66
[28-Nov-2025 06:09:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'width' in 'field list' in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:66
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(66): mysqli->prepare('INSERT INTO pro...')
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 66
[28-Nov-2025 06:11:36 UTC] PHP Warning:  require_once(../../db.config.php): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:11:36 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '../../db.config.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:3
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 3
[28-Nov-2025 06:13:19 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Column 'image_url' cannot be null in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:15:09 UTC] PHP Warning:  move_uploaded_file(uploads/1764310509_screw_2_.jpeg): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:15:09 UTC] PHP Warning:  move_uploaded_file(): Unable to move &quot;/tmp/phpqEgStq&quot; to &quot;uploads/1764310509_screw_2_.jpeg&quot; in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:15:56 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:16:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:17:03 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:18:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:19:54 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:125
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(125): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 125
[28-Nov-2025 06:23:42 UTC] PHP Warning:  move_uploaded_file(uploads/1764311022_screw_2_.jpeg): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:23:42 UTC] PHP Warning:  move_uploaded_file(): Unable to move &quot;/tmp/phpAr8vOQ&quot; to &quot;uploads/1764311022_screw_2_.jpeg&quot; in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:25:24 UTC] PHP Warning:  move_uploaded_file(uploads/1764311124_screw_2_.jpeg): Failed to open stream: No such file or directory in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:25:24 UTC] PHP Warning:  move_uploaded_file(): Unable to move &quot;/tmp/php35UFWS&quot; to &quot;uploads/1764311124_screw_2_.jpeg&quot; in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 42
[28-Nov-2025 06:52:06 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text: "not a JSON text, may need CAST" at position 0 in value for column 'product_variants.specifications'. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:140
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(140): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 140
[28-Nov-2025 07:20:26 UTC] PHP Warning:  Undefined variable $val in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:26 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:26 UTC] PHP Warning:  Undefined variable $key in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:26 UTC] PHP Warning:  String offset cast occurred in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:26 UTC] PHP Fatal error:  Uncaught Error: Cannot assign an empty string to a string offset in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:43
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:27 UTC] PHP Warning:  Undefined variable $val in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:27 UTC] PHP Warning:  Undefined variable $key in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:27 UTC] PHP Warning:  String offset cast occurred in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:20:27 UTC] PHP Fatal error:  Uncaught Error: Cannot assign an empty string to a string offset in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:43
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 43
[28-Nov-2025 07:27:49 UTC] PHP Warning:  Undefined variable $specifications_json in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 45
[28-Nov-2025 07:35:44 UTC] PHP Warning:  Undefined variable $row in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:35:44 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:35:44 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:36:23 UTC] PHP Warning:  Undefined variable $row in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:36:23 UTC] PHP Warning:  Trying to access array offset on value of type null in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:36:23 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 32
[28-Nov-2025 07:57:47 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function printr_r() in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:38
Stack trace:
#0 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 38
[28-Nov-2025 07:59:52 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:38) in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 49
[28-Nov-2025 08:08:36 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "Missing a comma or '}' after an object member." at position 54. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:141
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(141): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 141
[28-Nov-2025 08:09:42 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "Missing a comma or '}' after an object member." at position 54. in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php:127
Stack trace:
#0 /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php(127): mysqli_stmt->execute()
#1 {main}
  thrown in /home/boltkart/sandbox.boltkart.in/API/Admin/variants/add_new_variant.php on line 127
[01-Dec-2025 10:24:35 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Column 'image_url' cannot be null in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:127
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(127): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 127
[01-Dec-2025 10:27:38 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Column 'image_url' cannot be null in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:127
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(127): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 127
[01-Dec-2025 10:46:45 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'id' in 'field list' in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php:37
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php(37): mysqli->prepare('SELECT id, prod...')
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php on line 37
[01-Dec-2025 10:47:21 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'active' in 'where clause' in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php:37
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php(37): mysqli->prepare('SELECT product_...')
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/get_product_variants.php on line 37
[01-Dec-2025 11:00:03 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'id' in 'field list' in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/delete_product_variant.php:24
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/delete_product_variant.php(24): mysqli->prepare('SELECT id FROM ...')
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/delete_product_variant.php on line 24
[02-Dec-2025 13:01:37 UTC] PHP Warning:  Undefined array key "$cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[03-Dec-2025 09:32:48 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[03-Dec-2025 10:42:22 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "The document root must not be followed by other values." at position 34. in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:130
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(130): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 130
[03-Dec-2025 10:43:47 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "Missing a comma or '}' after an object member." at position 34. in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:130
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(130): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 130
[03-Dec-2025 10:44:03 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "The document root must not be followed by other values." at position 71. in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:130
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(130): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 130
[03-Dec-2025 10:55:54 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "Missing a name for object member." at position 2. in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:130
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(130): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 130
[03-Dec-2025 11:09:46 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Invalid JSON text in argument 1 to function cast_as_json: "The document root must not be followed by other values." at position 4. in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:130
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(130): mysqli_stmt->execute()
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 130
[03-Dec-2025 11:24:40 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[03-Dec-2025 11:34:56 UTC] PHP Warning:  move_uploaded_file(Admin/product_variants/uploads/1764761696_worachat-sodsri-nCz_ZgnbtaE-unsplash.jpg): Failed to open stream: No such file or directory in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 44
[03-Dec-2025 11:34:56 UTC] PHP Warning:  move_uploaded_file(): Unable to move &quot;/tmp/phpFTYYet&quot; to &quot;Admin/product_variants/uploads/1764761696_worachat-sodsri-nCz_ZgnbtaE-unsplash.jpg&quot; in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 44
[03-Dec-2025 12:41:34 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[03-Dec-2025 12:41:34 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'id' in 'where clause' in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:67
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(67): mysqli->prepare('\n            UP...')
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 67
[03-Dec-2025 12:41:51 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'id' in 'where clause' in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:67
Stack trace:
#0 /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php(67): mysqli->prepare('\n            UP...')
#1 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 67
[04-Dec-2025 05:58:48 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[04-Dec-2025 09:30:25 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[04-Dec-2025 10:09:24 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[04-Dec-2025 10:54:37 UTC] PHP Warning:  Undefined array key "cut_and_clean_price" in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 27
[05-Dec-2025 05:26:34 UTC] PHP Warning:  Undefined variable $stmt in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[05-Dec-2025 05:26:34 UTC] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:106
Stack trace:
#0 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[05-Dec-2025 05:26:38 UTC] PHP Warning:  Undefined variable $stmt in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[05-Dec-2025 05:26:38 UTC] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:106
Stack trace:
#0 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[05-Dec-2025 05:26:50 UTC] PHP Warning:  Undefined variable $stmt in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[05-Dec-2025 05:26:50 UTC] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php:106
Stack trace:
#0 {main}
  thrown in /home/pmpframe/api.redbag.pmpframe.com/API/Admin/product_variants/add_new_variant.php on line 106
[13-Jan-2026 11:40:32 UTC] PHP Warning:  POST Content-Length of 8689932 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[13-Jan-2026 11:40:37 UTC] PHP Warning:  POST Content-Length of 8689932 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
