Warning (2): Declaration of BookingComponent::initialize(&$controller) should be compatible with Component::initialize(Controller $controller) [APP/Controller/Component/BookingComponent.php, line 0]Code Context if (file_exists($file)) {
static::_map($file, $className, $plugin);
return include $file;
$className = 'BookingComponent'
$parts = array(
(int) 0 => 'Controller/Component'
)
$plugin = null
$package = 'Controller/Component'
$file = '/var/www/html/hfsv2/app/Controller/Component/BookingComponent.php'
$paths = array(
(int) 0 => '/var/www/html/hfsv2/app/Controller/Component/',
(int) 1 => '/var/www/html/hfsv2/app/Lib/Controller/Component/',
(int) 2 => '/var/www/html/hfsv2/app/Controller/Component/',
(int) 3 => '/var/www/html/hfsv2/lib/Cake/Controller/Component/'
)
$appLibs = '/var/www/html/hfsv2/app/Lib/'
$normalizedClassName = 'BookingComponent'
$path = '/var/www/html/hfsv2/app/Controller/Component/'
include - CORE/Cake/Core/App.php, line 567
App::load() - CORE/Cake/Core/App.php, line 567
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 110
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): Parameter 1 to BookingComponent::initialize() expected to be a reference, value given [CORE/Cake/Utility/ObjectCollection.php, line 129]Code Context $result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), array_filter(compact('subject')) + $params);
$callback = 'initialize'
$params = array()
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$subject = object(PaymentsController) {
name => 'Payments'
uses => array(
(int) 0 => 'Payment'
)
components => array(
'LocalesXml' => null,
'Dpa' => null,
'CustomizedSession' => null,
'Login' => null,
'Bridge' => null,
'Logs' => null,
'PlatformsXml' => null,
'Twilio' => null,
'Flow' => null,
'CountriesXml' => null,
'String' => null,
'Email' => null,
'Csrf' => null,
'RequestHandler' => null,
'Sanitize' => null,
'Booking' => null
)
testCertificate => '4988166961329039'
prodCertificate => '5010161248744376'
mode => 'PRODUCTION'
helpers => array(
(int) 0 => 'Session',
'Html' => array(
[maximum depth reached]
),
'Form' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
)
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Payments'
layoutPath => null
viewVars => array()
view => 'checkcoupon'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array()
scaffold => false
methods => array(
(int) 1 => 'options',
(int) 2 => 'send',
(int) 3 => 'check',
(int) 4 => 'confirmation',
(int) 5 => 'checkcoupon',
(int) 7 => 'forceSSL'
)
modelClass => 'Payment'
modelKey => 'payment'
validationErrors => null
LocalesXml => object(LocalesXmlComponent) {}
Dpa => object(DpaComponent) {}
CustomizedSession => object(CustomizedSessionComponent) {}
Login => object(LoginComponent) {}
Bridge => object(BridgeComponent) {}
Logs => object(LogsComponent) {}
PlatformsXml => object(PlatformsXmlComponent) {}
Twilio => object(TwilioComponent) {}
Flow => object(FlowComponent) {}
CountriesXml => object(CountriesXmlComponent) {}
String => object(StringComponent) {}
Email => object(EmailComponent) {}
Csrf => object(CsrfComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Sanitize => object(SanitizeComponent) {}
Booking => object(BookingComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
$event = object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PaymentsController) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'Controller'
)
$collected = array()
$list = array(
(int) 0 => 'LocalesXml',
(int) 1 => 'Dpa',
(int) 2 => 'CustomizedSession',
(int) 3 => 'Login',
(int) 4 => 'Bridge',
(int) 5 => 'Logs',
(int) 6 => 'PlatformsXml',
(int) 7 => 'Twilio',
(int) 8 => 'Flow',
(int) 9 => 'CountriesXml',
(int) 10 => 'String',
(int) 11 => 'Email',
(int) 12 => 'Csrf',
(int) 13 => 'RequestHandler',
(int) 14 => 'Sanitize',
(int) 15 => 'Booking'
)
$result = null
$name = 'Booking'ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 129
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107