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 (
    93787, 93788, 93798, 93799, 93800, 93801, 
    93802, 93803, 93804, 93805, 93806, 
    93807, 93808, 93809, 93810, 93811, 
    93812, 93813, 93814, 93815, 93816, 
    93817, 93818, 93832, 93833, 93834, 
    93835, 93836, 93837, 93838, 93839, 
    93840, 93841, 93882, 93883, 93884, 
    93885, 94367, 94368, 94369, 94370, 
    94371, 94372, 94373, 94374, 94375, 
    94376, 94377
  ) 
GROUP BY 
  cscart_products_categories.product_id

Query time 0.00145

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "55.18"
    },
    "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": 61,
            "rows_produced_per_join": 61,
            "filtered": "100.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "6.38",
              "eval_cost": "6.10",
              "prefix_cost": "12.48",
              "data_read_per_join": "976"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type"
            ],
            "attached_condition": "(`nuie_scalesta_net`.`cscart_products_categories`.`product_id` in (93787,93788,93798,93799,93800,93801,93802,93803,93804,93805,93806,93807,93808,93809,93810,93811,93812,93813,93814,93815,93816,93817,93818,93832,93833,93834,93835,93836,93837,93838,93839,93840,93841,93882,93883,93884,93885,94367,94368,94369,94370,94371,94372,94373,94374,94375,94376,94377))"
          }
        },
        {
          "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": 61,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "15.25",
              "eval_cost": "6.10",
              "prefix_cost": "33.83",
              "data_read_per_join": "976"
            },
            "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": 3,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "15.25",
              "eval_cost": "0.31",
              "prefix_cost": "55.18",
              "data_read_per_join": "7K"
            },
            "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
93787 7331,7253M
93788 7252M
93798 7254M
93799 7254M
93800 7254M
93801 7254M
93802 7254M
93803 7254M
93804 7254M
93805 7254M
93806 7254M
93807 7254M
93808 7254M
93809 7254M
93810 7254M
93811 7254M
93812 7254M
93813 7254M
93814 7254M
93815 7254M
93816 7254M
93817 7254M
93818 7254M
93832 7222M
93833 7222M
93834 7330,7285M
93835 7330,7285M
93836 7222M
93837 7222M
93838 7222M
93839 7222M
93840 7222M
93841 7222M
93882 7330,7285M
93883 7330,7285M
93884 7330,7285M
93885 7330,7285M
94367 7252M
94368 7252M
94369 7252M
94370 7252M
94371 7252M
94372 7331,7253M
94373 7331,7253M
94374 7331,7253M
94375 7331,7253M
94376 7331,7253M
94377 7331,7253M