Fatal error: Out of memory (allocated 2097152) (tried to allocate 2359296 bytes) in /var/www/bronline/fuel/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 233
FuelPHP Framework

Fatal Error!

ErrorException [ Fatal Error ]:
Out of memory (allocated 2097152) (tried to allocate 2359296 bytes)

VENDORPATH/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php @ line 233

228                $template->_mergeVars();
229                if (!empty(Smarty::$global_tpl_vars)) {
230                    $template->tpl_vars array_merge(Smarty::$global_tpl_vars$template->tpl_vars);
231                }
232                $result $template->render(false$function);
233                $template->_cleanUp();
234                if ($saveVars) {
235                    $template->tpl_vars $savedTplVars;
236                    $template->config_vars $savedConfigVars;
237                } else {
238                    if (!$function && !isset(Smarty_Internal_Template::$tplObjCache$template->templateId ])) {

Backtrace

  1. COREPATH/bootstrap.php @ line 80
    75        else
    76        {
    77            logger(\Fuel::L_ERROR'shutdown - ' $e->getMessage()." in ".$e->getFile()." on ".$e->getLine());
    78        }
    79    }
    80    return \Errorhandler::shutdown_handler();
    81});
    82
    83set_exception_handler(function ($e)
    84{
    85    // reset the autoloader