Advertisement
m_malyov

pp1 failed create new product

Apr 3rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.64 KB | None | 0 0
  1. {
  2.     "error": "Craft:: PGSQL_EMPTY_QUERY\nERROR:  syntax error at or near \")\"\nLINE 5: ...ft_terminology_hist (id, dt, uid, ct_craft_terminology_id, )\n                                                                      ^\ninsert into ct_craft_terminology(\"ct_craft_product_id\", \"order_index\", \"single\", \"plural\", \"translate_single\", \"translate_plural\", \"uid\", \"id\", \"dt\")\nvalues('2305843009829549722', '30841777', 'Theme', 'Themes', 'Theme', 'Themes', 2305843009829548969, '2305843009829549993', '2018-04-03 08:30:43.238682+00');\n\nupdate ct_craft_terminology set revision = \"GetObjectID\"(0) where id = 2305843009829549993;\ninsert into ct_craft_terminology_hist (id, dt, uid, ct_craft_terminology_id, )\nselect revision, '2018-04-03 08:30:43.238682+00', uid, id, \n from ct_craft_terminology where id = 2305843009829549993;",
  3.     "traces": [
  4.         {
  5.             "file": "\/var\/www\/nginx\/craftpp1\/erp_synergy\/core\/db.php",
  6.             "line": "132",
  7.             "function": "exec",
  8.             "class": "ErrorThrowDatabase",
  9.             "type": "->",
  10.             "args": [
  11.                 "insert into ct_craft_terminology(\"ct_craft_product_id\", \"order_index\", \"single\", \"plural\", \"translate_single\", \"translate_plural\", \"uid\", \"id\", \"dt\")\nvalues('2305843009829549722', '30841777', 'Theme', 'Themes', 'Theme', 'Themes', 2305843009829548969, '2305843009829549993', '2018-04-03 08:30:43.238682+00');\n\nupdate ct_craft_terminology set revision = \"GetObjectID\"(0) where id = 2305843009829549993;\ninsert into ct_craft_terminology_hist (id, dt, uid, ct_craft_terminology_id, )\nselect revision, '2018-04-03 08:30:43.238682+00', uid, id, \n from ct_craft_terminology where id = 2305843009829549993;"
  12.             ]
  13.         },
  14.         {
  15.             "file": "\/var\/www\/nginx\/craftpp1\/erp_synergy\/logic\/dbCTGraph.php",
  16.             "line": "1234",
  17.             "function": "query",
  18.             "class": "Database",
  19.             "type": "->",
  20.             "args": [
  21.                 "insert into ct_craft_terminology(\"ct_craft_product_id\", \"order_index\", \"single\", \"plural\", \"translate_single\", \"translate_plural\", \"uid\", \"id\", \"dt\")\nvalues('2305843009829549722', '30841777', 'Theme', 'Themes', 'Theme', 'Themes', 2305843009829548969, '2305843009829549993', '2018-04-03 08:30:43.238682+00');\n\nupdate ct_craft_terminology set revision = \"GetObjectID\"(0) where id = 2305843009829549993;\ninsert into ct_craft_terminology_hist (id, dt, uid, ct_craft_terminology_id, )\nselect revision, '2018-04-03 08:30:43.238682+00', uid, id, \n from ct_craft_terminology where id = 2305843009829549993;\n\n"
  22.             ]
  23.         },
  24.         {
  25.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/classes\/Db.php",
  26.             "line": "333",
  27.             "function": "dbUpdateGraphData",
  28.             "args": [
  29.                 {},
  30.                 {
  31.                     "craft_terminology": [
  32.                         {
  33.                             "ct_craft_product_id": "2305843009829549722",
  34.                             "order_index": "30841777",
  35.                             "single": "Theme",
  36.                             "plural": "Themes",
  37.                             "translate_single": "Theme",
  38.                             "translate_plural": "Themes",
  39.                             "id": "2305843009829549993",
  40.                             "dt": "2018-04-03 08:30:43.238682+00"
  41.                         }
  42.                     ]
  43.                 },
  44.                 [],
  45.                 {
  46.                     "user_id": "2305843009829548969"
  47.                 },
  48.                 false,
  49.                 "all"
  50.             ]
  51.         },
  52.         {
  53.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/classes\/Concept\/Terminology.php",
  54.             "line": "103",
  55.             "function": "update",
  56.             "class": "Craft\\Db",
  57.             "type": "::",
  58.             "args": [
  59.                 {
  60.                     "craft_terminology": [
  61.                         {
  62.                             "ct_craft_product_id": "2305843009829549722",
  63.                             "order_index": "30841777",
  64.                             "single": "Theme",
  65.                             "plural": "Themes",
  66.                             "translate_single": "Theme",
  67.                             "translate_plural": "Themes",
  68.                             "id": "2305843009829549993",
  69.                             "dt": "2018-04-03 08:30:43.238682+00"
  70.                         }
  71.                     ]
  72.                 },
  73.                 []
  74.             ]
  75.         },
  76.         {
  77.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/classes\/Concept\/Product.php",
  78.             "line": "3139",
  79.             "function": "update",
  80.             "class": "Craft\\Concept\\Terminology",
  81.             "type": "::",
  82.             "args": [
  83.                 null,
  84.                 "2305843009829549722",
  85.                 "30841777",
  86.                 "Theme",
  87.                 "Themes",
  88.                 "Theme",
  89.                 "Themes"
  90.             ]
  91.         },
  92.         {
  93.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/controllers\/ProductsController.php",
  94.             "line": "415",
  95.             "function": "setDefaultState",
  96.             "class": "Craft\\Concept\\Product",
  97.             "type": "->",
  98.             "args": [
  99.                 "2305843009829549727",
  100.                 "2305843009829548969"
  101.             ]
  102.         },
  103.         {
  104.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/controllers\/ProductsController.php",
  105.             "line": "79",
  106.             "function": "createItem",
  107.             "class": "Craft\\ProductsController",
  108.             "type": "->",
  109.             "args": []
  110.         },
  111.         {
  112.             "function": "indexAction",
  113.             "class": "Craft\\ProductsController",
  114.             "type": "->",
  115.             "args": []
  116.         },
  117.         {
  118.             "file": "\/var\/www\/nginx\/craftpp1\/erp_synergy\/core\/BaseController.php",
  119.             "line": "87",
  120.             "function": "call_user_func",
  121.             "args": [
  122.                 [
  123.                     {},
  124.                     "indexAction"
  125.                 ]
  126.             ]
  127.         },
  128.         {
  129.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/controllers\/BaseController.php",
  130.             "line": "451",
  131.             "function": "invokeAction",
  132.             "class": "ERP_Core_BaseController",
  133.             "type": "->",
  134.             "args": [
  135.                 "index"
  136.             ]
  137.         },
  138.         {
  139.             "file": "\/var\/www\/nginx\/craftpp1\/erp_synergy\/core\/Application.php",
  140.             "line": "169",
  141.             "function": "invokeAction",
  142.             "class": "Craft\\BaseController",
  143.             "type": "->",
  144.             "args": [
  145.                 "index"
  146.             ]
  147.         },
  148.         {
  149.             "file": "\/var\/www\/nginx\/craftpp1\/api\/application\/MainApplication.php",
  150.             "line": "150",
  151.             "function": "processURI",
  152.             "class": "ERP_Core_Application",
  153.             "type": "->",
  154.             "args": []
  155.         },
  156.         {
  157.             "file": "\/var\/www\/nginx\/craftpp1\/erp_synergy\/core\/Application.php",
  158.             "line": "59",
  159.             "function": "processURI",
  160.             "class": "Craft\\MainApplication",
  161.             "type": "->",
  162.             "args": []
  163.         },
  164.         {
  165.             "file": "\/var\/www\/nginx\/craftpp1\/api\/api.php",
  166.             "line": "5",
  167.             "function": "run",
  168.             "class": "ERP_Core_Application",
  169.             "type": "->",
  170.             "args": []
  171.         }
  172.     ]
  173. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement