Notice (8): Undefined property: stdClass::$show_lakshop_branding [APP/Controller/AppController.php, line 1152]Code Context
if ($websiteSettings->show_lakshop_branding == 1){
$this->poweredBy = '<span id="powered-by-text"><span style="color:#C5C5C5;">Powered by </span><a href="https://lakshop.lk/" style="color:#fff;" target="_blank" class="powered-by-link">LakSHOP website builder</a></span>';
$event = object(Cake\Event\Event) {
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(App\Controller\TemplatesController) {}
[protected] _data => []
[protected] _stopped => false
}
$session = object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => '259200'
[protected] _isCLI => false
}
$loggedUserId = null
$loggedUserType = null
$referralCode = null
$httpHost = 'stg.lakshop.lk'
$httpHostWithWWW = 'www.stg.lakshop.lk'
$lakshopUrl = 'stg.lakshop.lk'
$isShopOwner = false
$websiteTable = object(App\Model\Table\WebsitesTable) {
'registryAlias' => 'Websites',
'table' => 'websites',
'alias' => 'Websites',
'entityClass' => 'App\Model\Entity\Website',
'associations' => [
(int) 0 => 'vendoravailabilities',
(int) 1 => 'shippingcostsdistricttodistricts',
(int) 2 => 'customtextmenus',
(int) 3 => 'templates',
(int) 4 => 'domainlinkqueue',
(int) 5 => 'websiterenewalemails',
(int) 6 => 'websiterenewals',
(int) 7 => 'businesses',
(int) 8 => 'users',
(int) 9 => 'enquiries',
(int) 10 => 'mainbanners',
(int) 11 => 'sidebanners',
(int) 12 => 'payments',
(int) 13 => 'products',
(int) 14 => 'vendorproducts',
(int) 15 => 'productcategories',
(int) 16 => 'productsubcategories',
(int) 17 => 'productsupersubcategories',
(int) 18 => 'services',
(int) 19 => 'vendorservices',
(int) 20 => 'servicecategories',
(int) 21 => 'servicesubcategories',
(int) 22 => 'portfolios',
(int) 23 => 'additionalsections',
(int) 24 => 'additionalsectionitems',
(int) 25 => 'testimonials',
(int) 26 => 'donations',
(int) 27 => 'cartitems',
(int) 28 => 'vendoraccounts',
(int) 29 => 'businesscategories',
(int) 30 => 'paymentmethods',
(int) 31 => 'todoitems',
(int) 32 => 'orders',
(int) 33 => 'websitearticles',
(int) 34 => 'customheader',
(int) 35 => 'customslider',
(int) 36 => 'paymentgateways',
(int) 37 => 'websitespaymentgateways',
(int) 38 => 'paymentservices',
(int) 39 => 'websitespaymentservices',
(int) 40 => 'supportpurchases',
(int) 41 => 'documents',
(int) 42 => 'modules',
(int) 43 => 'customerinvoiceitemtemplates',
(int) 44 => 'smscredits',
(int) 45 => 'smsreports',
(int) 46 => 'brands',
(int) 47 => 'productmodels',
(int) 48 => 'websitesettings',
(int) 49 => 'courierparams',
(int) 50 => 'donationamounts',
(int) 51 => 'clients',
(int) 52 => 'couriercompanies',
(int) 53 => 'features',
(int) 54 => 'pricings'
],
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Proffer'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$action = 'index'
$remberMeCode = null
$websiteSettingsModel = object(App\Model\Table\WebsiteSettingsTable) {
'registryAlias' => 'WebsiteSettings',
'table' => 'website_settings',
'alias' => 'WebsiteSettings',
'entityClass' => 'App\Model\Entity\WebsiteSetting',
'associations' => [
(int) 0 => 'websites'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$websiteSettings = object(stdClass) {
user_reg_sms_validation => (int) 0
vendor_bank_account_required => (int) 1
}App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 1152
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 416
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 393
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 110
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 502
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 114
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 108
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81
Warning (512): Unable to emit headers. Headers sent in file=/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 850
$message = 'Unable to emit headers. Headers sent in file=/home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=850'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47
Warning (2): Cannot modify header information - headers already sent by (output started at /home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Found'header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47
Warning (2): Cannot modify header information - headers already sent by (output started at /home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context $value
), $first);
$first = false;
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47
Warning (2): Cannot modify header information - headers already sent by (output started at /home/lakshopdev/web/stg.lakshop.lk/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:850) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context $value
), $first);
$first = false;
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'https://stg.lakshop.lk/login?redirect=%2Ftemplates'
]
$name = 'Location'
$first = true
$value = 'https://stg.lakshop.lk/login?redirect=%2Ftemplates'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 47