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 (
    86267, 86288, 91421, 86340, 86341, 86266, 
    86287, 87749, 86302, 86315, 87752, 
    86275, 86294, 86320, 86295, 86301, 
    86314, 86321, 86274, 87741, 86264, 
    86285, 86265, 86286, 86242, 86293, 
    86319, 86240, 86263, 86284, 87739, 
    87740, 86239, 86241, 87737, 87738, 
    93401, 93402, 93403, 93404, 93405, 
    93406, 94678, 94679, 94680, 94681, 
    94682, 94683
  ) 
GROUP BY 
  cscart_products_categories.product_id

Query time 0.00094

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "45.28"
    },
    "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": 50,
            "rows_produced_per_join": 50,
            "filtered": "100.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "5.28",
              "eval_cost": "5.00",
              "prefix_cost": "10.28",
              "data_read_per_join": "800"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type"
            ],
            "attached_condition": "(`nuie_scalesta_net`.`cscart_products_categories`.`product_id` in (86267,86288,91421,86340,86341,86266,86287,87749,86302,86315,87752,86275,86294,86320,86295,86301,86314,86321,86274,87741,86264,86285,86265,86286,86242,86293,86319,86240,86263,86284,87739,87740,86239,86241,87737,87738,93401,93402,93403,93404,93405,93406,94678,94679,94680,94681,94682,94683))"
          }
        },
        {
          "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": 50,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "12.50",
              "eval_cost": "5.00",
              "prefix_cost": "27.78",
              "data_read_per_join": "800"
            },
            "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": 2,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "12.50",
              "eval_cost": "0.25",
              "prefix_cost": "45.28",
              "data_read_per_join": "6K"
            },
            "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
86239 7229M
86240 7229M
86241 7229M
86242 7229M
86263 7234M
86264 7231M
86265 7234M
86266 7231M
86267 7234M
86274 7229M
86275 7229M
86284 7234M
86285 7231M
86286 7234M
86287 7231M
86288 7234M
86293 7234M
86294 7231M
86295 7234M
86301 7234M
86302 7234M
86314 7234M
86315 7234M
86319 7234M
86320 7231M
86321 7234M
86340 7231M
86341 7231M
87737 7229M
87738 7229M
87739 7229M
87740 7229M
87741 7229M
87749 7228,7250M 0
87752 7229M
91421 7250,7228M 0
93401 7229M
93402 7229M
93403 7229M
93404 7229M
93405 7229M
93406 7229M
94678 7229M
94679 7229M
94680 7229M
94681 7229M
94682 7229M
94683 7229M