Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND);
$type = 'error'
$message = '[Exception] Facebook needs the CURL PHP extension.
#0 /home/ubuntu/websites/thenoblesage.com/public_html/Vendor/facebook/Facebook.php(18): require_once()
#1 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(756): include('/home/ubuntu/we...')
#2 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(644): App::_loadVendor('facebook/Facebo...', NULL, NULL, NULL)
#3 /home/ubuntu/websites/thenoblesage.com/public_html/Controller/CustomersController.php(7): App::import('Vendor', 'facebook/Facebo...')
#4 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(560): include('/home/ubuntu/we...')
#5 [internal function]: App::load('CustomersContro...')
#6 [internal function]: spl_autoload_call('CustomersContro...')
#7 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(265): class_exists('CustomersContro...')
#8 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(234): Dispatcher->_loadController(Object(CakeRequest))
#9 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(152): Dispatcher->_getController(Object(CakeRequest), Object(CakeResponse))
#10 /home/ubuntu/websites/thenoblesage.com/public_html/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#11 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/ubuntu/websites/thenoblesage.com/public_html/tmp/logs/error.log'
$output = '2023-09-23 17:52:41 Error: [Exception] Facebook needs the CURL PHP extension.
#0 /home/ubuntu/websites/thenoblesage.com/public_html/Vendor/facebook/Facebook.php(18): require_once()
#1 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(756): include('/home/ubuntu/we...')
#2 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(644): App::_loadVendor('facebook/Facebo...', NULL, NULL, NULL)
#3 /home/ubuntu/websites/thenoblesage.com/public_html/Controller/CustomersController.php(7): App::import('Vendor', 'facebook/Facebo...')
#4 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Core/App.php(560): include('/home/ubuntu/we...')
#5 [internal function]: App::load('CustomersContro...')
#6 [internal function]: spl_autoload_call('CustomersContro...')
#7 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(265): class_exists('CustomersContro...')
#8 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(234): Dispatcher->_loadController(Object(CakeRequest))
#9 /home/ubuntu/frameworks/cakephp/2_2_1/lib/Cake/Routing/Dispatcher.php(152): Dispatcher->_getController(Object(CakeRequest), Object(CakeResponse))
#10 /home/ubuntu/websites/thenoblesage.com/public_html/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#11 {main}
'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 443
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??