Cache::write() - CORE/Cake/Cache/Cache.php, line 323
I18n::translate() - CORE/Cake/I18n/I18n.php, line 237
__d - CORE/Cake/basics.php, line 617
Cache::write() - CORE/Cake/Cache/Cache.php, line 321
I18n::translate() - CORE/Cake/I18n/I18n.php, line 237
__d - CORE/Cake/basics.php, line 617
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 431
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 295
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 242
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_core_ cache was unable to write 'cake_eng' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
I18n::translate() - CORE/Cake/I18n/I18n.php, line 237
__d - CORE/Cake/basics.php, line 617
AuthComponent::_setDefaults() - CORE/Cake/Controller/Component/AuthComponent.php, line 431
AuthComponent::startup() - CORE/Cake/Controller/Component/AuthComponent.php, line 295
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 242
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 675
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_list' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::listSources() - CORE/Cake/Model/Datasource/DataSource.php, line 110
Mysql::listSources() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 219
Model::setSource() - CORE/Cake/Model/Model.php, line 1142
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3566
Model::schema() - CORE/Cake/Model/Model.php, line 1369
Model::hasField() - CORE/Cake/Model/Model.php, line 1461
PaginatorComponent::validateSort() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 399
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 142
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 90
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_list' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::listSources() - CORE/Cake/Model/Datasource/DataSource.php, line 110
Mysql::listSources() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 236
Model::setSource() - CORE/Cake/Model/Model.php, line 1142
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3566
Model::schema() - CORE/Cake/Model/Model.php, line 1369
Model::hasField() - CORE/Cake/Model/Model.php, line 1461
PaginatorComponent::validateSort() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 399
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 142
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 90
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_shop_products' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310
DataSource::describe() - CORE/Cake/Model/Datasource/DataSource.php, line 135
Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 332
Model::schema() - CORE/Cake/Model/Model.php, line 1372
Model::hasField() - CORE/Cake/Model/Model.php, line 1461
PaginatorComponent::validateSort() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 399
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 142
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 90
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_shop_products' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310
Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 372
Model::schema() - CORE/Cake/Model/Model.php, line 1372
Model::hasField() - CORE/Cake/Model/Model.php, line 1461
PaginatorComponent::validateSort() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 399
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 142
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 90
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 53
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_shop_categories' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310
DataSource::describe() - CORE/Cake/Model/Datasource/DataSource.php, line 135
Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 332
Model::schema() - CORE/Cake/Model/Model.php, line 1372
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1414
DboSource::_parseKey() - CORE/Cake/Model/Datasource/DboSource.php, line 2768
DboSource::conditionKeysToString() - CORE/Cake/Model/Datasource/DboSource.php, line 2719
DboSource::conditions() - CORE/Cake/Model/Datasource/DboSource.php, line 2598
DboSource::buildStatement() - CORE/Cake/Model/Datasource/DboSource.php, line 1898
DboSource::buildAssociationQuery() - CORE/Cake/Model/Datasource/DboSource.php, line 1629
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1104
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2947
Model::find() - CORE/Cake/Model/Model.php, line 2919
AppModel::find() - APP/Model/AppModel.php, line 72
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 114
Warning (512): _cake_model_ cache was unable to write 'default_globalph_newdb_shop_categories' to File cache [CORE/Cake/Cache/Cache.php, line 323]
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310
Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 372
Model::schema() - CORE/Cake/Model/Model.php, line 1372
Model::getColumnType() - CORE/Cake/Model/Model.php, line 1414
DboSource::_parseKey() - CORE/Cake/Model/Datasource/DboSource.php, line 2768
DboSource::conditionKeysToString() - CORE/Cake/Model/Datasource/DboSource.php, line 2719
DboSource::conditions() - CORE/Cake/Model/Datasource/DboSource.php, line 2598
DboSource::buildStatement() - CORE/Cake/Model/Datasource/DboSource.php, line 1898
DboSource::buildAssociationQuery() - CORE/Cake/Model/Datasource/DboSource.php, line 1629
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1104
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2947
Model::find() - CORE/Cake/Model/Model.php, line 2919
AppModel::find() - APP/Model/AppModel.php, line 72
ShopProductsController::index() - APP/Controller/ShopProductsController.php, line 114
ReflectionMethod::invokeArgs() - [internal], line ??
Warning (2): file_put_contents() [function.file-put-contents]: Only 0 of 684 bytes written, possibly out of free disk space [CORE/Cake/Log/Engine/FileLog.php, line 142]
$type = 'error'
$message = '[FatalErrorException] Can't use method return value in write context
Request URL: /eshop
Stack Trace:
#0 /home/globalphoto/public_html/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(64, 'Can't use metho...', '/home/globalpho...', 98)
#1 [internal function]: ErrorHandler::handleError(64, 'Can't use metho...', '/home/globalpho...', 98, Array)
#2 /home/globalphoto/public_html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 64, 'Can't use metho...', '/home/globalpho...', 98, Array)
#3 /home/globalphoto/public_html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}'
$output = '2019-09-11 06:14:55 Error: [FatalErrorException] Can't use method return value in write context
Request URL: /eshop
Stack Trace:
#0 /home/globalphoto/public_html/lib/Cake/Error/ErrorHandler.php(203): ErrorHandler::handleFatalError(64, 'Can't use metho...', '/home/globalpho...', 98)
#1 [internal function]: ErrorHandler::handleError(64, 'Can't use metho...', '/home/globalpho...', 98, Array)
#2 /home/globalphoto/public_html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 64, 'Can't use metho...', '/home/globalpho...', 98, Array)
#3 /home/globalphoto/public_html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
'
$filename = 'error.log'
$pathname = '/home/globalphoto/public_html/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 442
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 178
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 110
call_user_func - [internal], line ??
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 252
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 203
call_user_func - [internal], line ??
App::_checkFatalError() - CORE/Cake/Core/App.php, line 931
App::shutdown() - CORE/Cake/Core/App.php, line 904
[main] - [internal], line ??
GLOBAL PHOTOGRAPHY
Fatal Error
Error:
Can't use method return value in write context File:
/home/globalphoto/public_html/app/View/Themed/Front/ShopProducts/index.ctp Line:
98
Notice:
If you want to customize this error message, create app/View/Errors/fatal_error.ctp
(default) 4 queries took 100 ms
Nr
Query
Error
Affected
Num. rows
Took (ms)
1
SELECT `ShopProduct`.`id`, `ShopProduct`.`name`, `ShopProduct`.`shop_category_id`, `ShopProduct`.`description`, `ShopProduct`.`image`, `ShopProduct`.`slug`, `ShopProduct`.`image1`, `ShopCategory`.`name`, `ShopProduct`.`price`, `ShopProduct`.`views`, `ShopProduct`.`active`, `ShopProduct`.`created` FROM `globalph_newdb`.`shop_products` AS `ShopProduct` LEFT JOIN `globalph_newdb`.`shop_categories` AS `ShopCategory` ON (`ShopProduct`.`shop_category_id` = `ShopCategory`.`id`) WHERE 1 = 1 ORDER BY `ShopProduct`.`views` ASC LIMIT 12
7
7
16
2
SELECT `ShopCategory`.`id`, `ShopCategory`.`name`, `ShopCategory`.`description`, `ShopCategory`.`slug`, `ShopCategory`.`icon` FROM `globalph_newdb`.`shop_categories` AS `ShopCategory` WHERE `ShopCategory`.`active` = '1' ORDER BY `ShopCategory`.`id` DESC LIMIT 20
5
5
0
3
SELECT `ShopProduct`.`id`, `ShopProduct`.`shop_category_id`, `ShopProduct`.`name`, `ShopProduct`.`slug`, `ShopProduct`.`description`, `ShopProduct`.`image`, `ShopProduct`.`image1`, `ShopProduct`.`image2`, `ShopProduct`.`price`, `ShopProduct`.`views`, `ShopProduct`.`active`, `ShopProduct`.`created`, `ShopProduct`.`modified` FROM `globalph_newdb`.`shop_products` AS `ShopProduct` WHERE `ShopProduct`.`shop_category_id` IN (13, 12, 11, 10, 8)
7
7
0
4
UPDATE `globalph_newdb`.`shop_products` AS `ShopProduct` LEFT JOIN `globalph_newdb`.`shop_categories` AS `ShopCategory` ON (`ShopProduct`.`shop_category_id` = `ShopCategory`.`id`) SET `ShopProduct`.`views` = ShopProduct.views + 1 WHERE `ShopProduct`.`id` IN (33, 32, 28, 31, 30, 27, 29)