Error Message: Undefined index: siteprice
Error Code: 8
File: /home/atramart/public_html/templates/atrashop/func/functions.php
Line: 10994

Code:
   #10989        if( IsJson( $read ) == true )
   #10990        {
   #10991         $_PAGE_JSONLD_ = JsonToArray( $read );
   #10992 
   #10993         $param = GetProductParametersFromMemCache( $id , array( "siteprice" ) );
=> #10994         $main_siteprice = $param["siteprice"]; //FindInRecordsQueryCache( $id , "products" , "rowsid" , "siteprice" );
   #10995 
   #10996         // $_PAGE_JSONLD_["json"]["offers"] = array(
   #10997         //  "availability" => ( $main_siteprice > 0 ? "InStock" : "OutOfStock" ),
   #10998         //  "price" => ( Int( $main_siteprice ) ) ,
   #10999         //  "priceValidUntil" => ( $main_siteprice > 0 ? DateAdd( "D" , 1 , Now() , "Y-m-d" ) : "" ) ,

Trace:
     #1 ■ function: CreateProductDetailsCachePage ■ line: 468 ■ file: /home/atramart/public_html/templates/atrashop/fa-IR/products.php ■ class:  ■ object:  ■ type: 
     #2 ■ function: InsertCachedPage ■ line: 11018 ■ file: /home/atramart/public_html/templates/atrashop/func/functions.php ■ class:  ■ object:  ■ type: 
     #3 ■ function: InsertOfflineTemplate ■ line: 491 ■ file: /home/atramart/public_html/core/libraries/Insert_Functions.php ■ class:  ■ object:  ■ type: 
     #4 ■ function: {closure} ■ line: 282 ■ file: /home/atramart/public_html/core/libraries/Insert_Functions.php ■ class:  ■ object:  ■ type: 
     #5 ■ function: {closure} ■ line: 10994 ■ file: /home/atramart/public_html/templates/atrashop/func/functions.php ■ class:  ■ object:  ■ type: