PHP Deprecated

Message

unserialize(): Passing null to parameter #1 ($data) of type string is deprecated

Error at

app/addons/hybrid_auth/func.php, line: 200

Backtrace

File:app/addons/hybrid_auth/func.php
Line:200
Function:{closure}
File:app/Tygh/Registry.php
Line:800
Function:{closure}
File:app/addons/hybrid_auth/func.php
Line:222
Function:getOrSetCache
File:app/addons/hybrid_auth/controllers/frontend/init.post.php
Line:17
Function:fn_hybrid_auth_get_providers_list
File:app/functions/fn.control.php
Line:727
Function:include
File:app/functions/fn.control.php
Line:458
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch
SELECT 
  cscart_products_categories.product_id, 
  GROUP_CONCAT(
    IF(
      cscart_products_categories.link_type = "M", 
      CONCAT(
        cscart_products_categories.category_id, 
        "M"
      ), 
      cscart_products_categories.category_id
    )
  ) AS category_ids, 
  product_position_source.position AS position 
FROM 
  cscart_products_categories 
  INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id 
  AND cscart_categories.storefront_id IN (0, 1) 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  LEFT JOIN cscart_products_categories AS product_position_source ON cscart_products_categories.product_id = product_position_source.product_id 
  AND product_position_source.category_id = 7195 
WHERE 
  cscart_products_categories.product_id IN (
    97368, 97369, 97370, 97371, 97372, 97373, 
    97374, 97375, 97376, 97377, 97378, 
    97379, 97380, 97381, 97382, 97383, 
    97384, 97385, 97386, 97387, 97388, 
    97389, 97390, 97391, 97392, 97393, 
    97394, 97395, 97396, 97397, 97398, 
    97399, 97400, 97401, 97402, 97403, 
    97404, 97405, 97406, 97407, 97408, 
    97409, 97410, 97411, 97412, 97413, 
    97414, 97415, 97416, 97417, 97418, 
    97419, 97420, 97421, 97422, 97423, 
    97424, 97425, 97506, 97507, 97508, 
    97509, 97510, 97511, 97512, 97513, 
    97514, 97515, 97516, 97517, 97518, 
    97519, 97520, 97521, 97522, 97523, 
    97524, 97534, 97535, 97536, 97537, 
    97538, 97539, 97540, 97541, 97542, 
    97543, 97544, 97545, 97546, 97547, 
    97548, 97549, 97550, 97551, 97552
  ) 
GROUP BY 
  cscart_products_categories.product_id

Query time 0.00769

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "86.69"
    },
    "grouping_operation": {
      "using_filesort": false,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_products_categories",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "link_type",
              "pt"
            ],
            "key": "pt",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 96,
            "rows_produced_per_join": 96,
            "filtered": "100.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "9.89",
              "eval_cost": "9.60",
              "prefix_cost": "19.49",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type"
            ],
            "attached_condition": "(`nuie_scalesta_net`.`cscart_products_categories`.`product_id` in (97368,97369,97370,97371,97372,97373,97374,97375,97376,97377,97378,97379,97380,97381,97382,97383,97384,97385,97386,97387,97388,97389,97390,97391,97392,97393,97394,97395,97396,97397,97398,97399,97400,97401,97402,97403,97404,97405,97406,97407,97408,97409,97410,97411,97412,97413,97414,97415,97416,97417,97418,97419,97420,97421,97422,97423,97424,97425,97506,97507,97508,97509,97510,97511,97512,97513,97514,97515,97516,97517,97518,97519,97520,97521,97522,97523,97524,97534,97535,97536,97537,97538,97539,97540,97541,97542,97543,97544,97545,97546,97547,97548,97549,97550,97551,97552))"
          }
        },
        {
          "table": {
            "table_name": "product_position_source",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "pt"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "product_id"
            ],
            "key_length": "6",
            "ref": [
              "const",
              "nuie_scalesta_net.cscart_products_categories.product_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 96,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "9.60",
              "prefix_cost": "53.09",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "p_category_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id"
            ],
            "key_length": "3",
            "ref": [
              "nuie_scalesta_net.cscart_products_categories.category_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "0.48",
              "prefix_cost": "86.69",
              "data_read_per_join": "12K"
            },
            "used_columns": [
              "category_id",
              "usergroup_ids",
              "status",
              "storefront_id"
            ],
            "attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`storefront_id` in (0,1)) and ((`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids`))) and (`nuie_scalesta_net`.`cscart_categories`.`status` in ('A','H')))"
          }
        }
      ]
    }
  }
}

Result

product_id category_ids position
97368 7254M
97369 7254M
97370 7254M
97371 7254M
97372 7254M
97373 7254M
97374 7254M
97375 7254M
97376 7254M
97377 7254M
97378 7254M
97379 7254M
97380 7254M
97381 7254M
97382 7254M
97383 7254M
97384 7254M
97385 7254M
97386 7254M
97387 7254M
97388 7254M
97389 7254M
97390 7254M
97391 7254M
97392 7254M
97393 7254M
97394 7254M
97395 7254M
97396 7254M
97397 7254M
97398 7254M
97399 7254M
97400 7254M
97401 7254M
97402 7254M
97403 7254M
97404 7254M
97405 7254M
97406 7254M
97407 7254M
97408 7254M
97409 7254M
97410 7254M
97411 7254M
97412 7254M
97413 7254M
97414 7254M
97415 7254M
97416 7254M
97417 7254M
97418 7254M
97419 7254M
97420 7254M
97421 7254M
97422 7254M
97423 7254M
97424 7254M
97425 7254M
97506 7254M
97507 7254M
97508 7254M
97509 7254M
97510 7254M
97511 7254M
97512 7254M
97513 7254M
97514 7254M
97515 7254M
97516 7254M
97517 7254M
97518 7254M
97519 7254M
97520 7254M
97521 7254M
97522 7254M
97523 7254M
97524 7254M
97534 7254M
97535 7254M
97536 7254M
97537 7254M
97538 7254M
97539 7254M
97540 7254M
97541 7254M
97542 7254M
97543 7254M
97544 7254M
97545 7254M
97546 7254M
97547 7254M
97548 7254M
97549 7254M
97550 7254M
97551 7254M
97552 7254M