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 = 7228 
WHERE 
  cscart_products_categories.product_id IN (
    95243, 95244, 95245, 95246, 95247, 95248, 
    95249, 95250, 95251, 95252, 95253, 
    95254, 95255, 95256, 95257, 95258, 
    95259, 95260, 95261, 95262, 95263, 
    95264, 95265, 95266, 95267, 95268, 
    95269, 95270, 95271, 95272, 95273, 
    95274, 95275, 95276, 95277, 95278, 
    95279, 95280, 95281, 95282, 95283, 
    95284, 95285, 95286, 95287, 95288, 
    95289, 95290, 95291, 95292, 95293, 
    95294, 95295, 95296, 95297, 95298, 
    95299, 95300, 95301, 95302, 95303, 
    95304, 95305, 95306, 95307, 95308, 
    95947, 95948, 95949, 95950, 95951, 
    95952, 95953, 95954, 95955, 95956, 
    95957, 95958, 95959, 95960, 95961, 
    95962, 95963, 95964, 95965, 95966, 
    95967, 95968, 95969, 95970, 95971, 
    95972, 95973, 95974, 95975, 95976
  ) 
GROUP BY 
  cscart_products_categories.product_id

Query time 0.01604

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 (95243,95244,95245,95246,95247,95248,95249,95250,95251,95252,95253,95254,95255,95256,95257,95258,95259,95260,95261,95262,95263,95264,95265,95266,95267,95268,95269,95270,95271,95272,95273,95274,95275,95276,95277,95278,95279,95280,95281,95282,95283,95284,95285,95286,95287,95288,95289,95290,95291,95292,95293,95294,95295,95296,95297,95298,95299,95300,95301,95302,95303,95304,95305,95306,95307,95308,95947,95948,95949,95950,95951,95952,95953,95954,95955,95956,95957,95958,95959,95960,95961,95962,95963,95964,95965,95966,95967,95968,95969,95970,95971,95972,95973,95974,95975,95976))"
          }
        },
        {
          "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
95243 7231M
95244 7234M
95245 7231M
95246 7229M
95247 7229M
95248 7229M
95249 7229M
95250 7229M
95251 7229M
95252 7229M
95253 7229M
95254 7229M
95255 7229M
95256 7229M
95257 7229M
95258 7229M
95259 7229M
95260 7229M
95261 7229M
95262 7229M
95263 7229M
95264 7229M
95265 7229M
95266 7229M
95267 7229M
95268 7229M
95269 7229M
95270 7229M
95271 7229M
95272 7229M
95273 7229M
95274 7229M
95275 7229M
95276 7229M
95277 7229M
95278 7229M
95279 7229M
95280 7229M
95281 7229M
95282 7229M
95283 7229M
95284 7229M
95285 7229M
95286 7229M
95287 7229M
95288 7229M
95289 7229M
95290 7229M
95291 7229M
95292 7229M
95293 7229M
95294 7229M
95295 7229M
95296 7229M
95297 7229M
95298 7229M
95299 7229M
95300 7229M
95301 7229M
95302 7229M
95303 7229M
95304 7229M
95305 7229M
95306 7229M
95307 7229M
95308 7229M
95947 7229M
95948 7229M
95949 7229M
95950 7229M
95951 7229M
95952 7229M
95953 7229M
95954 7229M
95955 7229M
95956 7229M
95957 7229M
95958 7229M
95959 7229M
95960 7229M
95961 7229M
95962 7229M
95963 7229M
95964 7229M
95965 7229M
95966 7229M
95967 7229M
95968 7229M
95969 7229M
95970 7231M
95971 7231M
95972 7231M
95973 7231M
95974 7231M
95975 7231M
95976 7231M