PHP Notice

Message

Undefined index: custom_company_headquarters_address

Error at

app/addons/sd_seo_jsonld/schemas/jsonld_objects/website_schema.php, line: 2

Backtrace

File:app/addons/sd_seo_jsonld/schemas/jsonld_objects/website_schema.php
Line:2
Function:{closure}
File:app/functions/fn.common.php
Line:2142
Function:include
File:app/addons/sd_seo_jsonld/func.php
Line:2
Function:fn_get_schema
File:app/addons/sd_seo_jsonld/controllers/frontend/init.post.php
Line:2
Function:fn_sd_seo_jsonld_create_object
File:app/functions/fn.control.php
Line:700
Function:include
File:app/functions/fn.control.php
Line:456
Function:fn_run_controller
File:index.php
Line:26
Function:fn_dispatch
SELECT 
  c.category_id, 
  IF(pc.link_type = 'M', 1, 0) as is_main 
FROM 
  cscart_categories AS c 
  LEFT JOIN cscart_products_categories AS pc ON c.category_id = pc.category_id 
WHERE 
  pc.product_id = 8666 
  AND c.company_id = 2 
ORDER BY 
  is_main DESC

Query time 0.00039

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE pc ref PRIMARY,pt,product_id_idx,category_id_idx,product_category_idx,category_product_idx pt 3 const 5 Using where; Using filesort
1 SIMPLE c eq_ref PRIMARY,p_category_id,idx_category_id PRIMARY 3 mahm3t_cs443.pc.category_id 1 Using where

Result

category_id is_main
493 0
494 0