https://gcs.centric.ae/ar/menu-builder/lobster-spaghetti

recipemenubuilderController :: menubuilderdetailAction

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Recipes\recipemenubuilderController::menubuilderdetailAction"
_editmode
false
_force_allow_processing_unpublished_elements
false
_functions
Symfony\Component\Routing\Matcher\ExpressionLanguageProvider {#349
  -functions: Symfony\Component\DependencyInjection\Argument\ServiceLocator {#348 …}
}
_pimcore_context
"default"
_pimcore_frontend_request
true
_remove_csp_headers
true
_route
"menu-builder"
_route_params
[
  "_functions" => Symfony\Component\Routing\Matcher\ExpressionLanguageProvider {#349
    -functions: Symfony\Component\DependencyInjection\Argument\ServiceLocator {#348 …}
  }
  "url" => "lobster-spaghetti"
  "controller" => "App\Controller\Recipes\recipemenubuilderController::menubuilderdetailAction"
  "pimcore_request_source" => "staticroute"
  "_force_allow_processing_unpublished_elements" => false
]
_stopwatch_token
"b752f8"
contentDocument
Pimcore\Model\Document\Page {#1827
  #dao: null
  #dependencies: null
  #__dataVersionTimestamp: 1729153307
  #_fulldump: false
  #o_dirtyFields: null
  #fullPathCache: null
  #id: 109
  #parentId: 5
  #parent: null
  #type: "page"
  #key: "menu-builder"
  #path: "/ar/"
  #index: 39
  #published: true
  #creationDate: 1643111226
  #modificationDate: 1729153307
  #userOwner: 2
  #userModification: 2
  #properties: [
    "language" => Pimcore\Model\Property {#1998
      #dao: null
      #name: "language"
      #data: "ar"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: true
      #inherited: true
      name: "language"
      data: "ar"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: true
      inherited: true
    }
    "navigation_accesskey" => Pimcore\Model\Property {#1967
      #dao: null
      #name: "navigation_accesskey"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_accesskey"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_anchor" => Pimcore\Model\Property {#1969
      #dao: null
      #name: "navigation_anchor"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_anchor"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_class" => Pimcore\Model\Property {#1970
      #dao: null
      #name: "navigation_class"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_class"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_exclude" => Pimcore\Model\Property {#1971
      #dao: null
      #name: "navigation_exclude"
      #data: false
      #type: "bool"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_exclude"
      data: false
      type: "bool"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_name" => Pimcore\Model\Property {#1972
      #dao: null
      #name: "navigation_name"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_name"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_parameters" => Pimcore\Model\Property {#1973
      #dao: null
      #name: "navigation_parameters"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_parameters"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_relation" => Pimcore\Model\Property {#1974
      #dao: null
      #name: "navigation_relation"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_relation"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_tabindex" => Pimcore\Model\Property {#1975
      #dao: null
      #name: "navigation_tabindex"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_tabindex"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_target" => Pimcore\Model\Property {#1976
      #dao: null
      #name: "navigation_target"
      #data: null
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_target"
      data: null
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_title" => Pimcore\Model\Property {#1977
      #dao: null
      #name: "navigation_title"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_title"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
  ]
  #children: []
  #hasChildren: []
  #siblings: []
  #hasSiblings: []
  #locked: null
  #versionCount: 14
  #controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  #template: null
  #editables: null
  #versions: null
  #contentMasterDocumentId: null
  #supportsContentMaster: true
  #missingRequiredEditable: null
  #staticGeneratorEnabled: false
  #staticGeneratorLifetime: null
  #inheritedEditables: []
  #scheduledTasks: null
  -useTargetGroup: null
  #title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  #description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  #metaData: []
  #prettyUrl: null
  #targetGroupIds: ""
  +"____pimcore_cache_item__": "document_109"
  dependencies: null
  __dataVersionTimestamp: 1729153307
  _fulldump: false
  o_dirtyFields: null
  fullPathCache: null
  id: 109
  parentId: 5
  parent: null
  type: "page"
  key: "menu-builder"
  path: "/ar/"
  index: 39
  published: true
  creationDate: 1643111226
  modificationDate: 1729153307
  userOwner: 2
  userModification: 2
  properties: [
    "language" => Pimcore\Model\Property {#1998}
    "navigation_accesskey" => Pimcore\Model\Property {#1967}
    "navigation_anchor" => Pimcore\Model\Property {#1969}
    "navigation_class" => Pimcore\Model\Property {#1970}
    "navigation_exclude" => Pimcore\Model\Property {#1971}
    "navigation_name" => Pimcore\Model\Property {#1972}
    "navigation_parameters" => Pimcore\Model\Property {#1973}
    "navigation_relation" => Pimcore\Model\Property {#1974}
    "navigation_tabindex" => Pimcore\Model\Property {#1975}
    "navigation_target" => Pimcore\Model\Property {#1976}
    "navigation_title" => Pimcore\Model\Property {#1977}
  ]
  children: []
  hasChildren: []
  siblings: []
  hasSiblings: []
  locked: null
  versionCount: 14
  controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  template: null
  editables: null
  versions: null
  contentMasterDocumentId: null
  supportsContentMaster: true
  missingRequiredEditable: null
  staticGeneratorEnabled: false
  staticGeneratorLifetime: null
  inheritedEditables: []
  scheduledTasks: null
  title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  metaData: []
  prettyUrl: null
  targetGroupIds: ""
}
controller
"App\Controller\Recipes\recipemenubuilderController::menubuilderdetailAction"
pimcore_request_source
"staticroute"
url
"lobster-spaghetti"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
connection
"close"
from
"gptbot(at)openai.com"
host
"gcs.centric.ae"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
x-accel-internal
"/internal-nginx-static-location"
x-openai-host-hash
"231117974"
x-php-ob-level
"1"
x-real-ip
"74.7.227.29"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-language
"ar"
content-type
"text/html; charset=UTF-8"
date
"Fri, 12 Dec 2025 02:41:37 GMT"
expires
-1
pragma
"no-cache"
vary
"Accept"
x-debug-exception
"Key%20%220%22%20does%20not%20exist%20as%20the%20sequence%2Fmapping%20is%20empty."
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fcentric.ae%2Fgcs.centric.ae%2Ftemplates%2Fmenubuilder%2Fmenu-builder-detail.html.twig:274"
x-debug-token
"b361d9"
x-debug-token-link
"https://gcs.centric.ae/_profiler/a25017"
x-powered-by
"pimcore"
x-previous-debug-token
"a25017"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Fri, 12 Dec 25 02:41:37 +0000"
Last used
"Fri, 12 Dec 25 02:41:37 +0000"
Lifetime
0

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
AUTH_PASSWORD
"Centric@123"
AUTH_URL
"https://c2.goodycs.com"
AUTH_USERNAME
"usman"
CART_DISTRIBUTOR_TEMPLATE
"25"
CART_USER_TEMPLATE
"24"
CURRENT_URL
"https://goodycs.com"
DATABASE_HOST
"localhost"
DATABASE_NAME
"gcs_web"
DATABASE_PASSWORD
"Centric@123"
DATABASE_PORT
"3306"
DATABASE_USER
"gcs_web"
MAILER_DSN
"smtp://help@goodycs.com:Centric@123@mail.liprospect.com:465"
REGISTRATION_TEMPLATE
"22"
RESET_PASSWORD_TEMPLATE
"23"
SMTP_HOST
"mail.goodycs.com"
SMTP_PASS
""
SMTP_PORT
"465"
SMTP_USER
"help"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/centric.ae/gcs.centric.ae/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/centric.ae/gcs.centric.ae/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/centric.ae"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_CONNECTION
"close"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"gcs.centric.ae"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_OPENAI_HOST_HASH
"231117974"
HTTP_X_REAL_IP
"74.7.227.29"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_SSL_TLS_SNI
"gcs.centric.ae"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aTuA4I0HYScDwBs-nOO9hgAAAE8"
REDIRECT_URL
"/ar/menu-builder/lobster-spaghetti"
REMOTE_ADDR
"74.7.227.29"
REMOTE_PORT
"34716"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1765507296
REQUEST_TIME_FLOAT
1765507296.7203
REQUEST_URI
"/ar/menu-builder/lobster-spaghetti"
SCRIPT_FILENAME
"/var/www/vhosts/centric.ae/gcs.centric.ae/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"103.214.108.186"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"gcs.centric.ae"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at gcs.centric.ae Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"gcs.centric.ae"
SYMFONY_DOTENV_VARS
"APP_ENV,SMTP_USER,SMTP_PASS,SMTP_HOST,SMTP_PORT,MAILER_DSN,AUTH_URL,AUTH_USERNAME,AUTH_PASSWORD,DATABASE_HOST,DATABASE_PORT,DATABASE_USER,DATABASE_PASSWORD,DATABASE_NAME,REGISTRATION_TEMPLATE,RESET_PASSWORD_TEMPLATE,CART_USER_TEMPLATE,CART_DISTRIBUTOR_TEMPLATE,CURRENT_URL"
UNIQUE_ID
"aTuA4I0HYScDwBs-nOO9hgAAAE8"
USER
"centric"
proxy-nokeepalive
"1"

Sub Requests 2

commonController :: headAction (token = c4962b)

Key Value
_controller
"App\Controller\commonController::headAction"
_editmode
false
_format
"html"
_locale
"ar"
_pimcore_context
"default"
_stopwatch_token
"64fb71"
contentDocument
Pimcore\Model\Document\Page {#1827
  #dao: null
  #dependencies: null
  #__dataVersionTimestamp: 1729153307
  #_fulldump: false
  #o_dirtyFields: null
  #fullPathCache: null
  #id: 109
  #parentId: 5
  #parent: null
  #type: "page"
  #key: "menu-builder"
  #path: "/ar/"
  #index: 39
  #published: true
  #creationDate: 1643111226
  #modificationDate: 1729153307
  #userOwner: 2
  #userModification: 2
  #properties: [
    "language" => Pimcore\Model\Property {#1998
      #dao: null
      #name: "language"
      #data: "ar"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: true
      #inherited: true
      name: "language"
      data: "ar"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: true
      inherited: true
    }
    "navigation_accesskey" => Pimcore\Model\Property {#1967
      #dao: null
      #name: "navigation_accesskey"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_accesskey"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_anchor" => Pimcore\Model\Property {#1969
      #dao: null
      #name: "navigation_anchor"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_anchor"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_class" => Pimcore\Model\Property {#1970
      #dao: null
      #name: "navigation_class"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_class"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_exclude" => Pimcore\Model\Property {#1971
      #dao: null
      #name: "navigation_exclude"
      #data: false
      #type: "bool"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_exclude"
      data: false
      type: "bool"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_name" => Pimcore\Model\Property {#1972
      #dao: null
      #name: "navigation_name"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_name"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_parameters" => Pimcore\Model\Property {#1973
      #dao: null
      #name: "navigation_parameters"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_parameters"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_relation" => Pimcore\Model\Property {#1974
      #dao: null
      #name: "navigation_relation"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_relation"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_tabindex" => Pimcore\Model\Property {#1975
      #dao: null
      #name: "navigation_tabindex"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_tabindex"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_target" => Pimcore\Model\Property {#1976
      #dao: null
      #name: "navigation_target"
      #data: null
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_target"
      data: null
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_title" => Pimcore\Model\Property {#1977
      #dao: null
      #name: "navigation_title"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_title"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
  ]
  #children: []
  #hasChildren: []
  #siblings: []
  #hasSiblings: []
  #locked: null
  #versionCount: 14
  #controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  #template: null
  #editables: null
  #versions: null
  #contentMasterDocumentId: null
  #supportsContentMaster: true
  #missingRequiredEditable: null
  #staticGeneratorEnabled: false
  #staticGeneratorLifetime: null
  #inheritedEditables: []
  #scheduledTasks: null
  -useTargetGroup: null
  #title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  #description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  #metaData: []
  #prettyUrl: null
  #targetGroupIds: ""
  +"____pimcore_cache_item__": "document_109"
  dependencies: null
  __dataVersionTimestamp: 1729153307
  _fulldump: false
  o_dirtyFields: null
  fullPathCache: null
  id: 109
  parentId: 5
  parent: null
  type: "page"
  key: "menu-builder"
  path: "/ar/"
  index: 39
  published: true
  creationDate: 1643111226
  modificationDate: 1729153307
  userOwner: 2
  userModification: 2
  properties: [
    "language" => Pimcore\Model\Property {#1998}
    "navigation_accesskey" => Pimcore\Model\Property {#1967}
    "navigation_anchor" => Pimcore\Model\Property {#1969}
    "navigation_class" => Pimcore\Model\Property {#1970}
    "navigation_exclude" => Pimcore\Model\Property {#1971}
    "navigation_name" => Pimcore\Model\Property {#1972}
    "navigation_parameters" => Pimcore\Model\Property {#1973}
    "navigation_relation" => Pimcore\Model\Property {#1974}
    "navigation_tabindex" => Pimcore\Model\Property {#1975}
    "navigation_target" => Pimcore\Model\Property {#1976}
    "navigation_title" => Pimcore\Model\Property {#1977}
  ]
  children: []
  hasChildren: []
  siblings: []
  hasSiblings: []
  locked: null
  versionCount: 14
  controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  template: null
  editables: null
  versions: null
  contentMasterDocumentId: null
  supportsContentMaster: true
  missingRequiredEditable: null
  staticGeneratorEnabled: false
  staticGeneratorLifetime: null
  inheritedEditables: []
  scheduledTasks: null
  title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  metaData: []
  prettyUrl: null
  targetGroupIds: ""
}

ErrorController (token = a25017)

Key Value
_controller
"error_controller"
_editmode
false
_pimcore_context
"default"
_stopwatch_token
"ee47a6"
contentDocument
Pimcore\Model\Document\Page {#1827
  #dao: null
  #dependencies: null
  #__dataVersionTimestamp: 1729153307
  #_fulldump: false
  #o_dirtyFields: null
  #fullPathCache: null
  #id: 109
  #parentId: 5
  #parent: null
  #type: "page"
  #key: "menu-builder"
  #path: "/ar/"
  #index: 39
  #published: true
  #creationDate: 1643111226
  #modificationDate: 1729153307
  #userOwner: 2
  #userModification: 2
  #properties: [
    "language" => Pimcore\Model\Property {#1998
      #dao: null
      #name: "language"
      #data: "ar"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: true
      #inherited: true
      name: "language"
      data: "ar"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: true
      inherited: true
    }
    "navigation_accesskey" => Pimcore\Model\Property {#1967
      #dao: null
      #name: "navigation_accesskey"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_accesskey"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_anchor" => Pimcore\Model\Property {#1969
      #dao: null
      #name: "navigation_anchor"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_anchor"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_class" => Pimcore\Model\Property {#1970
      #dao: null
      #name: "navigation_class"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_class"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_exclude" => Pimcore\Model\Property {#1971
      #dao: null
      #name: "navigation_exclude"
      #data: false
      #type: "bool"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_exclude"
      data: false
      type: "bool"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_name" => Pimcore\Model\Property {#1972
      #dao: null
      #name: "navigation_name"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_name"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_parameters" => Pimcore\Model\Property {#1973
      #dao: null
      #name: "navigation_parameters"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_parameters"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_relation" => Pimcore\Model\Property {#1974
      #dao: null
      #name: "navigation_relation"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_relation"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_tabindex" => Pimcore\Model\Property {#1975
      #dao: null
      #name: "navigation_tabindex"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_tabindex"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_target" => Pimcore\Model\Property {#1976
      #dao: null
      #name: "navigation_target"
      #data: null
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_target"
      data: null
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
    "navigation_title" => Pimcore\Model\Property {#1977
      #dao: null
      #name: "navigation_title"
      #data: "مُصمّم القوائم"
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 109
      #inheritable: false
      #inherited: false
      name: "navigation_title"
      data: "مُصمّم القوائم"
      type: "text"
      ctype: "document"
      cpath: null
      cid: 109
      inheritable: false
      inherited: false
    }
  ]
  #children: []
  #hasChildren: []
  #siblings: []
  #hasSiblings: []
  #locked: null
  #versionCount: 14
  #controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  #template: null
  #editables: null
  #versions: null
  #contentMasterDocumentId: null
  #supportsContentMaster: true
  #missingRequiredEditable: null
  #staticGeneratorEnabled: false
  #staticGeneratorLifetime: null
  #inheritedEditables: []
  #scheduledTasks: null
  -useTargetGroup: null
  #title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  #description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  #metaData: []
  #prettyUrl: null
  #targetGroupIds: ""
  +"____pimcore_cache_item__": "document_109"
  dependencies: null
  __dataVersionTimestamp: 1729153307
  _fulldump: false
  o_dirtyFields: null
  fullPathCache: null
  id: 109
  parentId: 5
  parent: null
  type: "page"
  key: "menu-builder"
  path: "/ar/"
  index: 39
  published: true
  creationDate: 1643111226
  modificationDate: 1729153307
  userOwner: 2
  userModification: 2
  properties: [
    "language" => Pimcore\Model\Property {#1998}
    "navigation_accesskey" => Pimcore\Model\Property {#1967}
    "navigation_anchor" => Pimcore\Model\Property {#1969}
    "navigation_class" => Pimcore\Model\Property {#1970}
    "navigation_exclude" => Pimcore\Model\Property {#1971}
    "navigation_name" => Pimcore\Model\Property {#1972}
    "navigation_parameters" => Pimcore\Model\Property {#1973}
    "navigation_relation" => Pimcore\Model\Property {#1974}
    "navigation_tabindex" => Pimcore\Model\Property {#1975}
    "navigation_target" => Pimcore\Model\Property {#1976}
    "navigation_title" => Pimcore\Model\Property {#1977}
  ]
  children: []
  hasChildren: []
  siblings: []
  hasSiblings: []
  locked: null
  versionCount: 14
  controller: "App\Controller\Recipes\recipemenubuilderController::menubuilderlistingAction"
  template: null
  editables: null
  versions: null
  contentMasterDocumentId: null
  supportsContentMaster: true
  missingRequiredEditable: null
  staticGeneratorEnabled: false
  staticGeneratorLifetime: null
  inheritedEditables: []
  scheduledTasks: null
  title: " كل وصفاتك المفضلة المصنوعة من منتجات قودي بروفشنال"
  description: "من السباغيتي إلى الشوربة، اعثر على جميع الوصفات الرائعة الشهية لجعل وجبات العشاء والغداء وأكثر لا تقاوم ولا تُنسى. منتجات قودي ترضي ذوقك بشكل مثالي."
  metaData: []
  prettyUrl: null
  targetGroupIds: ""
}
exception
Twig\Error\RuntimeError {#6074
  #message: "Key "0" does not exist as the sequence/mapping is empty."
  #code: 0
  #file: "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/menubuilder/menu-builder-detail.html.twig"
  #line: 274
  -lineno: 274
  -name: "menubuilder/menu-builder-detail.html.twig"
  -rawMessage: "Key "0" does not exist as the sequence/mapping is empty."
  -sourcePath: "/var/www/vhosts/centric.ae/gcs.centric.ae/templates/menubuilder/menu-builder-detail.html.twig"
  -sourceCode: """
    {% extends "layout/layout.html.twig" %}\n
    \n
    {% block title %}GFS::Menu Builder Detail\n
    {% endblock %}\n
    \n
    {% block content %}\n
    \n
    \t<!--Menu Page Builder Banner Start-->\n
    \t<section class="menu-page-builder-banner">\n
    \t\t<div class="container container-sm">\n
    \t\t\t<div class="row">\n
    \t\t\t\t<div class="col-12 col-lg-6 menuBuilder-content-column">\n
    \t\t\t\t\t<div class="upper-nav">\n
    \t\t\t\t\t\t<div class="training-detail-container-box">\n
    \t\t\t\t\t\t\t<div class="info-section">\n
    \t\t\t\t\t\t\t\t<section class="bread-crumbs-section">\n
    \t\t\t\t\t\t\t\t\t<div class="container container-lg">\n
    \t\t\t\t\t\t\t\t\t\t<div class="bread-crumbs-section-box">\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="breadcrumb-holder">\n
    \t\t\t\t\t\t\t\t\t\t\t\t<ol class="breadcrumb menuBuilder-breadcrumb">\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<li class="breadcrumb-item"><a href="/{{app.request.locale}}">{{'Home'|trans}}</a></li>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<li class="breadcrumb-item"><a href="/{{app.request.locale}}/resources">{{'Resources'|trans}}</a></li>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<li class="breadcrumb-item">{{"Tools"|trans}}</li>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<li class="breadcrumb-item"><a href="/{{app.request.locale}}/menu-builder">{{"Menu Builder"|trans}}</a></li>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<li class="breadcrumb-item">{{menu_builder_details.name}}</li>\n
    \t\t\t\t\t\t\t\t\t\t\t\t</ol>\n
    \t\t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t</section>\n
    \n
    \n
    \t\t\t\t\t\t\t</div>\n
    \n
    \t\t\t\t\t\t</div>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t\t<h1 class="title-lg">{{menu_builder_details.name}}</span>\n
    \t\t\t\t</h1>\n
    \t\t\t\t<div class="step-tags">\n
    \t\t\t\t\t{% set length = menu_builder_details.tags|length %}\n
    \t\t\t\t\t{% if length  >= 4  %}\n
    \n
    \t\t\t\t\t\t{% for i in 0..3 %}\n
    \t\t\t\t\t\t\t<a href="javascript:;" class="tag">\n
    \t\t\t\t\t\t\t\t<span>{{menu_builder_details.tags[i].tag_name}}\n
    \t\t\t\t\t\t\t\t\t&nbsp;<img src="/static/assets/images/Ellipse.png" class="img-fluid" alt="Ellipse"/></span>\n
    \t\t\t\t\t\t\t</a>\n
    \t\t\t\t\t\t{% endfor %}\n
    \n
    \t\t\t\t\t{% else %}\n
    \n
    \t\t\t\t\t\t{% for tags in menu_builder_details.tags %}\n
    \t\t\t\t\t\t\t<a href="javascript:;" class="tag">\n
    \t\t\t\t\t\t\t\t<span>{{tags.tag_name}}\n
    \t\t\t\t\t\t\t\t\t&nbsp;<img src="/static/assets/images/Ellipse.png" class="img-fluid" alt="Ellipse"/></span>\n
    \t\t\t\t\t\t\t</a>\n
    \t\t\t\t\t\t{% endfor %}\n
    \n
    \t\t\t\t\t{% endif %}\n
    \n
    \t\t\t\t</div>\n
    \t\t\t\t<p>\n
    \t\t\t\t\t{{menu_builder_details.description}}\n
    \t\t\t\t</p>\n
    \t\t\t\t\n
    \n
    \t\t\t\t{% set unitcost = 0 %}\n
    \t\t\t\t{% set unitvalue = 0 %}\n
    \t\t\t\t{% set multiply = 0 %}\n
    \t\t\t\t{% set total_unit_cost = 0 %}\n
    \t\t\t\t{% set serve = menu_builder_details.serves %}\n
    \n
    \t\t\t\t\t\t{% for ingrident in menu_builder_details.serving_options %}\n
    \t\t\t\t\t\t\t{% for ing in ingrident.ingredeints %}\n
    \n
    \t\t\t\t\t\t\t\t{% if ing.recipe_ing.data is defined %}\n
    \n
    \t\t\t\t\t\t\t\t\t{% if ing.unit.data == 'kg' or ing.unit.data == 'Kg' or ing.unit.data == 'KG' or ing.unit.data == 'l' or ing.unit.data == 'L' %}\n
    \t\t\t\t\t\t\t\t\t\t{% set multiply = ((ing.multiply.data) * 1000)  %}\n
    \t\t\t\t\t\t\t\t\t\t{% set unitvalue = (multiply)/(menu_builder_details.serves) %}\n
    \n
    \t\t\t\t\t\t\t\t\t{% else %}\n
    \t\t\t\t\t\t\t\t\t\t{% set multiply = ing.multiply.data %}\n
    \t\t\t\t\t\t\t\t\t\t{% set unitvalue = (multiply)/(menu_builder_details.serves) %}\n
    \t\t\t\t\t\t\t\t\t{% endif %}\n
    \n
    \t\t\t\t\t\t\t\t\t{% set unitcost = (unitvalue) * (ing.recipe_ing.data.price) %}\n
    \t\t\t\t\t\t\t\t\t{% set total_unit_cost = total_unit_cost + unitcost %}\n
    \n
    \t\t\t\t\t\t\t\t{% endif %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n
    \t\t\t\t\t\t\t{% endfor %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n
    \t\t\t\t\t\t{% endfor %}\n
    \n
    \t\t\t\t\t\t{% set total_cost =  total_unit_cost * serve %}\n
    \n
    \t\t\t\t\t\t{% set vat_percentage =  menu_builder_details.recipe_manu_vat_oercebtage %}\n
    \t\t\t\t\t\t{% set total_cost_vat =  ((total_cost * vat_percentage) / 100) %}\n
    \n
    \t\t\t\t\t\t{% set total_cost =  (total_cost - total_cost_vat)  %}\n
    \n
    \t\t\t\t\t\t{% set profit_percentage =  (menu_builder_details.profit_percentage is not null) ? menu_builder_details.profit_percentage : 0 %}\n
    \t\t\t\t\t\n
    \t\t\t\t\t\t{% set profit =  ((total_cost * profit_percentage ) / (100)) %}\n
    \t\t\t\t\t\t{% set menu_price = (total_cost + profit) %}\n
    \t\t\t\t\t\t\n
    \t\t\t\t\t<div class = "d-md-flex d-lg-flex align-items-center d-xl-flex menu-builder-counter">\n
    \t\t\t\t \t\t<div class="order-count-title menubuilder-serving-count-title mb-3 ">{{"Servings"|trans}}</div>\n
    \t\t\t\t\t\t\t<div class="order-count-number justify-content-center">\n
    \t\t\t\t\t\t\t\t<span class="minus" id="minusx"><img src="/static/assets/images/icon-minus-blue.svg" alt="icon minus"></span>\n
    \t\t\t\t\t\t\t\t<input class="count numeric-remove-spiner valuechange" id="valuechangeprice" type="number" value="{{ menu_builder_details.serves}}"/>\n
    \t\t\t\t\t\t\t\t<span class="plus" id="plusx"><img src="/static/assets/images/icon-plus-blue.svg" alt="icon plus"></span>\n
    \t\t\t\t\t\t\t</div>\n
    \t\t\t\t \t</div>\n
    \n
    \t\t\t\t<div class="cost-card-area d-md-flex">\n
    \t\t\t\t\t<div class="card">\n
    \t\t\t\t\t\t<span>{{"Food Cost"|trans}}*</span>\n
    \t\t\t\t\t\t<h4 id = "food_cost">{{total_cost|round(1)}}</h4>\n
    \t\t\t\t\t\t<h6>{{"SAR"|trans}}</h6>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t\t<div class="card">\n
    \t\t\t\t\t\t<span>Menu Price*</span>\n
    \t\t\t\t\t\t<h4 id = "food_price">{{menu_price|round(1)}}</h4>\n
    \t\t\t\t\t\t<h6>{{"SAR"|trans}}</h6>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t\t<div class="card">\n
    \t\t\t\t\t\t<span>{{"Profit"|trans}}*</span>\n
    \t\t\t\t\t\t<h4 id = "food_profit">{{profit|round(1)}}</h4>\n
    \t\t\t\t\t\t<h6>{{"SAR"|trans}}</h6>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t</div>\n
    \t\t\t\n
    \t\t\t\t<div class="final-card-area">\n
    \t\t\t\t\t<div class="frequently-bought">\n
    \t\t\t\t\t\t<div class="frequently-bought-box">\n
    \t\t\t\t\t\t\t<h5 class="title">Frequently Product</h5>\n
    \t\t\t\t\t\t\t{% for product in  menu_builder_details.serving_options.Items %}\n
    \t\t\t\t\t\t\t\t{# {% for i in 0..product|length %} #}\n
    \t\t\t\t\t\t\t\t{% for featured_product in product.recipe_feature_product %}\n
    \n
    \t\t\t\t\t\t\t\t\t<div class="product-box product-box-horizon product-box-small">\n
    \t\t\t\t\t\t\t\t\t<a href = '{{'/' ~ app.request.locale ~ '/' ~ 'product/' ~ featured_product.url}}'>\n
    \t\t\t\t\t\t\t\t\t\t<figure class="slide-img">\n
    \t\t\t\t\t\t\t\t\t\t\t<img src="{{featured_product.attrimage.Items[0]}}" alt="{{featured_product.name}}">\n
    \t\t\t\t\t\t\t\t\t\t\t{# {% if featured_product.attrimage.Items[0] %}\n
    \t\t\t\t\t\t\t\t\t\t\t{{ featured_product.attrimage.Items[0].thumbnail('354x244').getHTML({imgAttributes: {class:'',alt:"featured_product.name" }})|raw }}\n
    \t\t\t\t\t\t\t\t\t\t\t{% endif %} #}\n
    \t\t\t\t\t\t\t\t\t\t</figure></a>\n
    \t\t\t\t\t\t\t\t\t\t<div class="slide-info">\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="">\n
    \t\t\t\t\t\t\t\t\t\t\t\t<h5 class="title"><a href = '{{'/' ~ app.request.locale ~ '/' ~ 'product/' ~ featured_product.url}}'>{{featured_product.name}}</a>\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUID') %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<span class="">&nbsp;<img src="/static/assets/images/featured-like.svg" alt="featured like"></span>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<span class="logged-out">&nbsp;<img src="/static/assets/images/featured-like.svg" alt="featured like"></span>\n
    \n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t</h5>\n
    \t\t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="kg">{{featured_product.size}}</div>\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="inline-info btn-holder">\n
    \t\t\t\t\t\t\t\t\t\t\t\t<div class="price">{{featured_product.region[0]['price'].data}}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{{featured_product.region[0]['currency_symbol'].data|trans}}</div>\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% set points =   (((featured_product.region[0]['price'].data)/100)*10)|round %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t<div class="award d-none">\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<i class="far fa-star"></i>{{"Earn"|trans}}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{{points}}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{{"Rewards Points"|trans}}</div>\n
    \t\t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="frequently-product-buttons">\n
    \t\t\t\t\t\t\t\t\t\t\t\t<a href="javascript:;" class="btn btn-custom btn-green" onclick="addCart(this, {{featured_product.id}}, 1)">{{"Buy Now"|trans}}</a>\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% set user = app.session.get('loginUID') %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% if user is not null %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t{% set points =   (((featured_product.region[0]['price'].data)/100)*10)|round %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<a href="javascript:;" class="btn btn-custom btn-green d-none" onclick="inventoryProgram(this,{{points}},{{featured_product.id}})">{{"Add to Inventory"|trans}}</a>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<div class="alert alert-success ml-0" id="success-alertt-inventory{{featured_product.id}}">\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>Thank you for adding this product to Inventory.</div>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<div class="alert alert-warning ml-0" id="failed-alertt-inventory{{featured_product.id}}">\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t\tThis product is already added to Inventory.</div>\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% else %}\n
    \t\t\t\t\t\t\t\t\t\t\t\t\t<a href="javascript:;" class="btn btn-custom btn-green product-logged-out d-none">{{"Add to Inventory"|trans}}</a>\n
    \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}\n
    \t\t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t\t\t<div class="product-inventry-alert"></div>\n
    \t\t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t\t{% endfor %}\n
    \t\t\t\t\t\t\t{% endfor %}\n
    \t\t\t\t\t\t</div>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t</div>\n
    \t\t\t\t<p>* Based on approximate total plate food costs, including average distributor markup.</p>\n
    \n
    \t\t\t</div>\n
    \n
    \t\t\t<div class="col-12 col-lg-6 menuBuilder-image-column">\n
    \t\t\t\t<div class="dish-image">\n
    \t\t\t\t\t<img src="{{menu_builder_details.featured_image}}" class="img-fluid" alt="Manu Builder feature image">\n
    \t\t\t\t</div>\n
    \t\t\t\t<div class="extra-area">\n
    \t\t\t\t\t<ul class="d-flex social-info recipe-info">\n
    \t\t\t\t\t\t{% set user = app.session.get('loginUID') %}\n
    \t\t\t\t\t\t{% if user is not null %}\n
    \n
    \t\t\t\t\t\t\t{% if Liked|length == 0 %}\n
    \t\t\t\t\t\t\t\t<li class='like' onclick="loyaltyProgram(this, {{ menu_builder_details.id }},'{{ menu_builder_details.name }}',30,'Recipe','Like' , '{{app.request.locale}}')">{{"Like"|trans}}</li>\n
    \t\t\t\t\t\t\t{% else %}\n
    \t\t\t\t\t\t\t\t<li class="liked">{{"Like"|trans}}</li>\n
    \t\t\t\t\t\t\t{% endif %}\n
    \n
    \t\t\t\t\t\t\t<li id = "add_to_menu"onclick="addtomenu(this , {{user}},{{ menu_builder_details.id }} , {{ menu_builder_details.serves }})">\n
    \t\t\t\t\t\t\t\t<span><img src="/static/assets/images/addToMenu.svg" class="img-fluid " alt="addToMenu"></span>&nbsp; {{"Add To Menu"|trans}}</li>\n
    \t\t\t\t\t\t\t<div class="alert alert-success ml-0" id="success-alertt-addtomenu">\n
    \t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>Thank you for adding this recipe to menu.</div>\n
    \n
    \t\t\t\t\t\t\t<div class="alert alert-success ml-0" id="success-alertt-addtomenu_update">\n
    \t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>Thank you for updating this recipe to menu.</div>\n
    \t\t\t\t\t\t\t<div class="alert alert-warning ml-0" id="failed-alertt-addtomenu">\n
    \t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>\n
    \t\t\t\t\t\t\t\tSomething went worng.</div>\n
    \t\t\t\t\t\t\t<div class="alert alert-warning ml-0" id="failed-alertt-addtomenu_error_missing_params">\n
    \t\t\t\t\t\t\t\t<button class="close" data-dismiss="alert" type="button"></button>\n
    \t\t\t\t\t\t\t\tSome required values are null.</div>\n
    \t\t\t\t\t\t\t<li onclick="loyaltyProgram(this, {{ menu_builder_details.id }},'{{ menu_builder_details.name }}',30,'Recipe','Like' , '{{app.request.locale}}')">\n
    \t\t\t\t\t\t\t\t<span><img src="/static/assets/images/share.svg" class="img-fluid logged-out" alt="share" onclick="sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/menu-builder/' ~ menu_builder_details.url}}' , '{{ " share goody recipe with your friends"|trans }}')"></span>&nbsp; {{"Share"|trans}}</li>\n
    \t\t\t\t\t\t{% else %}\n
    \n
    \t\t\t\t\t\t\t<li class='logged-out'>\n
    \t\t\t\t\t\t\t\t<span><img src="/static/assets/images/like-menu.svg" class="img-fluid " alt="like-menu"></span>&nbsp; {{"Like"|trans}}</li>\n
    \t\t\t\t\t\t\t<li class='add-menu-logged-out'>\n
    \t\t\t\t\t\t\t\t<span><img src="/static/assets/images/addToMenu.svg" class="img-fluid " alt="addToMenu"></span>&nbsp; {{"Add To Menu"|trans}}</li>\n
    \t\t\t\t\t\t\t<li>\n
    \t\t\t\t\t\t\t\t<span><img src="/static/assets/images/share.svg" class="img-fluid logged-out" alt="share" onclick="sharemodal('Recipe','{{ app.request.getSchemeAndHttpHost() ~ '/' ~ app.request.locale ~ '/menu-builder/' ~ menu_builder_details.url}}' , '{{ " share goody recipe with your friends"|trans }}')"></span>&nbsp; {{"Share"|trans}}</li>\n
    \t\t\t\t\t\t{% endif %}\n
    \t\t\t\t\t\t<li>\n
    \t\t\t\t\t\t\t<a class="directions-link" target="_blank" href ="/{{app.request.locale}}/print/recipe/{{menu_builder_details.url}}"><span><img src="/static/assets/images/down-arrow.svg" class="img-fluid" alt="download"></span>&nbsp; {{"Download"|trans}}</li></a>\n
    \t\t\t\t\t\t<li>\n
    \t\t\t\t\t\t\t<a class="directions-link" target="_blank" href ="/{{app.request.locale}}/print/recipe/{{menu_builder_details.url}}"><span><img src="/static/assets/images/print.svg" class="img-fluid" alt="print"></span>&nbsp; {{"Print"|trans}}</li></a>\n
    \n
    \t\t\t\t\t</ul>\n
    \t\t\t\t</div>\n
    \t\t\t</div>\n
    \t\t</div>\n
    \t</div>\n
    </section>\n
    <!--Menu Page Builder Banner End-->\n
    <section class="featured-recipes-section inner-featured-recipe product-using-products menu-builder-featured-recipe">\n
    \t<div class="container container-sm">\n
    \t\t{% if similar_menu_ideas|length > 0 %}\n
    \t\t\t<h2 class="heading">Similar Menu Ideas</h2>\n
    \t\t{% endif %}\n
    \t\t<div class="featured-recipes">\n
    \t\t\t<div class="custom-slider featured-recipes-slider">\n
    \t\t\t\t{% for similar_menu_ideas_recipes in similar_menu_ideas %}\n
    \t\t\t\t\t<div class="slide">\n
    \t\t\t\t\t\t<div class="slide-holder">\n
    \t\t\t\t\t\t\t<a href="/{{app.request.locale}}/menu-builder/{{similar_menu_ideas_recipes.url}}">\n
    \t\t\t\t\t\t\t\t<figure class="slide-img">\n
    \t\t\t\t\t\t\t\t\t<img src="{{similar_menu_ideas_recipes.featured_image}}" alt="{{similar_menu_ideas_recipes.name}}">\n
    \t\t\t\t\t\t\t\t</figure>\n
    \t\t\t\t\t\t\t</a>\n
    \t\t\t\t\t\t\t<div class="slide-content">\n
    \t\t\t\t\t\t\t\t<a href="/{{app.request.locale}}/menu-builder/{{similar_menu_ideas_recipes.url}}">\n
    \t\t\t\t\t\t\t\t\t<h3>{{similar_menu_ideas_recipes.name}}</h3>\n
    \t\t\t\t\t\t\t\t</a>\n
    \t\t\t\t\t\t\t\t<p>{{similar_menu_ideas_recipes.short_description}}</p>\n
    \t\t\t\t\t\t\t\t<div class="">\n
    \t\t\t\t\t\t\t\t\t<a href="javascript:;">{{"With"|trans}}\n
    \t\t\t\t\t\t\t\t\t\t{{similar_menu_ideas_recipes.featured_product[0].brands.name}}</a>\n
    \t\t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t\t</div>\n
    \t\t\t\t\t\t</div>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t{% endfor %}\n
    \n
    \n
    \t\t\t</div>\n
    \t\t</div>\n
    \n
    \t</div>\n
    </section>\n
    \n
    <section class="loyal-section d-none">\n
    \t<div class="container-fluid p-0">\n
    \t\t<div class="row">\n
    \t\t\t<div class="col-12 col-lg-4">\n
    \t\t\t\t<img src="/static/assets/images/loyal-image.svg" class="img-fluid loyal-section-image" alt="loyal-image">\n
    \t\t\t</div>\n
    \n
    \t\t\t<div class="col-12 col-lg-8">\n
    \t\t\t\t<div class="custom-flex">\n
    \t\t\t\t\t<div>\n
    \t\t\t\t\t\t<div class="content">\n
    \t\t\t\t\t\t\t<h3 class="title-sm">{{'Loyalty Program'|trans}}</h3>\n
    \t\t\t\t\t\t\t<h2 class="title-lg">Lorem Epsum Lorem Lorem</h2>\n
    \t\t\t\t\t\t\t<h2 class="title-lg">Lorem Epsum Lorem Lorem Lorem Lorem\n
    \t\t\t\t\t\t\t\t<span>Lorem Lorem</span>\n
    \t\t\t\t\t\t\t</h2>\n
    \t\t\t\t\t\t</div>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t\t<div class="btn-holder m-lg-auto">\n
    \t\t\t\t\t\t<div class="btn-border">\n
    \t\t\t\t\t\t\t<a href="javascript:void(0)" class="btn btn-custom btn-lg-o-black">Start Earning Now!</a>\n
    \t\t\t\t\t\t</div>\n
    \t\t\t\t\t</div>\n
    \t\t\t\t</div>\n
    \t\t\t</div>\n
    \n
    \n
    \t\t</div>\n
    \t</div>\n
    </section>\n
    \n
    \n
    {% if (app.request.locale =='ar') %}\n
    \t{% set topMenu ="/en/menu-builder/" ~ menu_builder_details.url('en') %}\n
    {% else %}\n
    \t{% set topMenu ="/ar/menu-builder/" ~ menu_builder_details.url('ar') %}\n
    {% endif %}\n
    <script>\n
    \tvar _TopMenuLink = "{{ topMenu }}";\n
    \n
    \t\tfunction addtomenu(element, userid, objectId, serving) {\n
    \n
    \t\tvar userid = userid;\n
    \t\tvar objectId = objectId;\n
    \t\tvar serving = serving;\n
    \n
    \n
    \t\tvar form_data = new FormData(); // Creates new FormData object\n
    \t\tform_data.append("userid", userid);\n
    \t\tform_data.append("objectId", objectId);\n
    \t\tform_data.append("serving", serving);\n
    \n
    \t\t$.ajax({\n
    \t\turl: "/addtomenu",\n
    \t\ttype: "POST",\n
    \t\tdata: form_data,\n
    \t\tcontentType: false,\n
    \t\tcache: false,\n
    \t\tprocessData: false,\n
    \t\tsuccess: function (response) {\n
    \t\tconsole.log(response)\n
    \t\tif (response.success == 1) { // document.getElementById('newsletter').reset();\n
    \n
    \t\t\t$("#success-alertt-addtomenu_update").fadeTo(5000, 500).slideUp(500, function () {\n
    \t\t\t$("#success-alertt-addtomenu_update").slideUp(500);\n
    \t\t\t});\n
    \n
    \t\t} else if(response.success == 2) {\n
    \n
    \t\t\t$("#success-alertt-addtomenu").fadeTo(5000, 500).slideUp(500, function () {\n
    \t\t\t$("#success-alertt-addtomenu").slideUp(500);\n
    \t\t\t});\n
    \n
    \t\t} else if(response.success == 3) {\n
    \n
    \t\t\t$("#failed-alertt-addtomenu_error_missing_params").fadeTo(5000, 500).slideUp(500, function () {\n
    \t\t\t$("#failed-alertt-addtomenu_error_missing_params").slideUp(500);\n
    \t\t\t});\n
    \n
    \t\t} else {\n
    \t\t\t$("#failed-alertt-addtomenu").fadeTo(5000, 500).slideUp(500, function () {\n
    \t\t\t$("#failed-alertt-addtomenu").slideUp(500);\n
    \t\t\t});\n
    \t\t}\n
    \n
    \n
    \t\t}\n
    \t\t})\n
    \t\t}\n
    \t\t\t// Menubuilder calculator start\n
    \t\t\t$(document).ready(function () {\n
    \n
    \t\t\t\tvar userId = '{{ user }}';\n
    \t\t\t\tvar obId = {{ menu_builder_details.id }};\n
    \n
    \t\t\t\t$("#valuechangeprice").on('keyup change', function () {\n
    \t\t\t\t\t\tvar countTxt = parseInt($('.count').val(), 10);\n
    \t\t\t\t\t\tvar unit_cost = {{total_unit_cost}} ;\n
    \t\t\t\t\t\tvar vat_percentage = {{vat_percentage}};\n
    \t\t\t\t\t\tvar unit_cost_vat =  ((unit_cost * vat_percentage) / 100);\n
    \t\t\t\t\t\t\tunit_cost = (unit_cost - unit_cost_vat );\n
    \t\t\t\t\t\tvar profit_percentage = {{profit_percentage}};\n
    \t\t\t\t\t\tvar unit_profit = ((unit_cost * profit_percentage)/ 100);\n
    \t\t\t\t\t\tvar unit_menu_price =  (unit_cost + unit_profit);\n
    \t\t\t\t\t\t$('#food_cost').text((unit_cost *countTxt).toFixed(1));\n
    \t\t\t\t\t\t$('#food_price').text((unit_menu_price *countTxt).toFixed(1));\n
    \t\t\t\t\t\t$('#food_profit').text((unit_profit *countTxt).toFixed(1));\n
    \n
    \t\t\t\t\t\t$('#add_to_menu').attr('onclick', 'addtomenu( this ,'+ userId +', '+ obId +', '+ countTxt +')');\n
    \t\t\t\t\t});\n
    \t\t\t});\n
    \n
    \t\t\t// Menubuilder calculator end\n
    \n
    \t\t\t\t// Download and Print Recipe According to serving ingerident quantity srart\t\n
    \t\t\t\t\t$(document).ready(function () {\n
    \t\t\t\t\t\tvar serving = {{ menu_builder_details.serves}};\n
    \n
    \t\t\t\t\t\t$("a.directions-link").each(function() {\n
    \t\t\t\t\t\t\tvar $this = $(this);       \n
    \t\t\t\t\t\t\tconst _href = $this.attr("href"); \n
    \t\t\t\t\t\t\t$(".valuechange").on('keyup change', function () {\n
    \t\t\t\t\t\t\tvar countTxt = parseInt($('.count').val(), 10);\n
    \t\t\t\t\t\t\t$(".directions-link").attr("href", _href+"~portion="+countTxt);\n
    \t\t\t\t\t\t\t});\n
    \t\t\t\t\t\t\t$(".directions-link").attr("href", _href+"~portion="+serving);\n
    \t\t\t\t\t\t\tconsole.log(countTxt);\n
    \t\t\t\t\t\t});\n
    \t\t\t\t\t});\n
    \t\t\t\t// Download and Print Recipe According to serving ingerident quantity end\t\n
    \n
    </script>\n
    \n
    \n
    \n
    {% endblock %}\n
    """
  trace: {
    /var/www/vhosts/centric.ae/gcs.centric.ae/templates/menubuilder/menu-builder-detail.html.twig:274 {
      Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › \t<a href="javascript:;">{{"With"|trans}}\t\t{{similar_menu_ideas_recipes.featured_product[0].brands.name}}</a></div>
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/templates/menubuilder/menu-builder-detail.html.twig:274 {
      __TwigTemplate_b21868c8a58b3acbfb704480a88bc857->block_content(array $context, array $blocks = []): iterable …
      › \t<a href="javascript:;">{{"With"|trans}}\t\t{{similar_menu_ideas_recipes.featured_product[0].brands.name}}</a></div>
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Template.php:431 {
      Twig\Template->yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $templateContext = null): iterable …
      › try {    yield from $template->$block($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/templates/layout/layout.html.twig:233 {
      __TwigTemplate_09d3f5a543f0c865147c08f987a25d0c->doDisplay(array $context, array $blocks = []): iterable …
      › <!--Start Wrapper--><div class="wrapper">{{block('content')}}</div><!--End Wrapper-->
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Template.php:387 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/var/cache/dev/twig/8b/8bb5efb577bfa59a6e79b262d6eff411.php:54 {
      __TwigTemplate_b21868c8a58b3acbfb704480a88bc857->doDisplay(array $context, array $blocks = []): iterable …
      › $this->parent = $this->loadTemplate("layout/layout.html.twig", "menubuilder/menu-builder-detail.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));}
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Template.php:387 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › try {    yield from $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Template.php:343 {
      Twig\Template->display(array $context, array $blocks = []): void …
      › {    foreach ($this->yield($context, $blocks) as $data) {        echo $data;
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Template.php:358 {
      Twig\Template->render(array $context): string …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/TemplateWrapper.php:51 {
      Twig\TemplateWrapper->render(array $context = []): string …
      › {    return $this->template->render($context);}
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/twig/twig/src/Environment.php:320 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/symfony/framework-bundle/Controller/AbstractController.php:258 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/pimcore/pimcore/lib/Controller/Controller.php:81 {
      Pimcore\Controller\Controller->renderView(string $view, array $parameters = []): string …
      › 
      ›     return parent::renderView($view, $parameters);}
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], ?Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/pimcore/pimcore/lib/Controller/Controller.php:43 {
      Pimcore\Controller\Controller->render(string $view, array $parameters = [], ?Response $response = null): Response …
      › 
      ›     return parent::render($view, $parameters, $response);}
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/src/Controller/Recipes/recipemenubuilderController.php:202 {
      App\Controller\Recipes\recipemenubuilderController->menubuilderdetailAction(Request $request) …
      › 'similar_menu_ideas' => $similar_menu_ideas,'Liked'=>$Liked,}
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/centric.ae/gcs.centric.ae/public/index.php:35 {\r$response = $kernel->handle($request);\r$response->send();\r
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#374 …9}