Hi there,
Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Please follow the instructions.
Go to the file location & find out the line of code
templates/yamas/error.php
<?php $preset = (isset(json_decode($params->get('preset', (object) ['preset' => 'preset1']))->preset) && json_decode($params->get('preset'))->preset) ? json_decode($params->get('preset'))->preset : 'preset1'; ?>
Replace with this code
<?php
$preset = $params->get('preset', json_encode(['preset' => 'preset1']));
if (!empty($preset->preset))
{
$preset = $preset->preset;
}
?>
or download the error.php file and replace it on this file location.
offline.php.zip
Best regards,
Toufiqur Rahman (Team Lead, Support)