$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Query::addDefaultTypes() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 1706 Cake\ORM\Table::find() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 1261 ADmad\I18n\I18n\DbMessagesLoader::__invoke() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-i18n/src/I18n/DbMessagesLoader.php, line 84 Cake\Core\BasePlugin::{closure}() /home/verychard/mydarkmindsart.com/plugins/ThemeMdma/config/bootstrap.php, line 10 Cake\I18n\TranslatorRegistry::_getTranslator() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/I18n/TranslatorRegistry.php, line 232 Cake\I18n\TranslatorRegistry::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/I18n/TranslatorRegistry.php, line 210 Cake\I18n\I18n::getTranslator() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/I18n/I18n.php, line 148 __d /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/I18n/functions.php, line 98 include /home/verychard/mydarkmindsart.com/plugins/ThemeMdma/config/default.php, line 353 Cake\Core\Configure\Engine\PhpConfig::read() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php, line 89 Cake\Core\Configure::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/Configure.php, line 341 require /home/verychard/mydarkmindsart.com/plugins/ThemeMdma/config/bootstrap.php, line 36 Cake\Core\BasePlugin::bootstrap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 276 ThemeMdma\Plugin::bootstrap() /home/verychard/mydarkmindsart.com/plugins/ThemeMdma/src/Plugin.php, line 27 Cake\Http\BaseApplication::pluginBootstrap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 182 Cake\Http\Server::bootstrap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 111 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 79 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Muffin\Slug\Model\Behavior\SlugBehavior::initialize() /home/verychard/mydarkmindsart.com/vendor/muffin/slug/src/Model/Behavior/SlugBehavior.php, line 124 Cake\ORM\Behavior::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Behavior.php, line 167 Muffin\Slug\Model\Behavior\SlugBehavior::__construct() /home/verychard/mydarkmindsart.com/vendor/muffin/slug/src/Model/Behavior/SlugBehavior.php, line 105 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Tags\Model\Table\TagsTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Table/TagsTable.php, line 39 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\ORM\Association::getTarget() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Association.php, line 403 Cake\ORM\Association::__call() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Association.php, line 1186 Tags\Model\Behavior\TagBehavior::bindAssociations() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 163 Tags\Model\Behavior\TagBehavior::initialize() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 66 Cake\ORM\Behavior::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Behavior.php, line 167 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Webshop\Model\Table\WebshopProductsTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Model/Table/WebshopProductsTable.php, line 64 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\Controller\Controller::loadModel() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/ModelAwareTrait.php, line 128 App\Controller\Component\TSSaveComponent::initialize() /home/verychard/mydarkmindsart.com/src/Controller/Component/TSSaveComponent.php, line 77 Cake\Controller\Component::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Component.php, line 113 Cake\Controller\ComponentRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ComponentRegistry.php, line 133 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\Controller\Controller::loadComponent() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 304 App\Controller\AppController::initialize() /home/verychard/mydarkmindsart.com/src/Controller/AppController.php, line 107 Webshop\Controller\AppController::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/AppController.php, line 23 Webshop\Controller\WebshopProductsController::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/WebshopProductsController.php, line 40 Cake\Controller\Controller::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 229 ReflectionClass::newInstance() [internal], line ?? Cake\Controller\ControllerFactory::create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 87 Cake\Http\BaseApplication::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 318 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 429 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSSecurityMiddleware.php, line 42 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSApiMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSLanguageMiddleware.php, line 61 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Table::hasField() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 627 Tags\Model\Behavior\TagBehavior::attachCounters() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 221 Tags\Model\Behavior\TagBehavior::initialize() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 67 Cake\ORM\Behavior::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Behavior.php, line 167 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Webshop\Model\Table\WebshopProductsTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Model/Table/WebshopProductsTable.php, line 64 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\Controller\Controller::loadModel() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/ModelAwareTrait.php, line 128 App\Controller\Component\TSSaveComponent::initialize() /home/verychard/mydarkmindsart.com/src/Controller/Component/TSSaveComponent.php, line 77 Cake\Controller\Component::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Component.php, line 113 Cake\Controller\ComponentRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ComponentRegistry.php, line 133 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\Controller\Controller::loadComponent() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 304 App\Controller\AppController::initialize() /home/verychard/mydarkmindsart.com/src/Controller/AppController.php, line 107 Webshop\Controller\AppController::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/AppController.php, line 23 Webshop\Controller\WebshopProductsController::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/WebshopProductsController.php, line 40 Cake\Controller\Controller::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 229 ReflectionClass::newInstance() [internal], line ?? Cake\Controller\ControllerFactory::create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 87 Cake\Http\BaseApplication::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 318 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 429 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSSecurityMiddleware.php, line 42 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSApiMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSLanguageMiddleware.php, line 61 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Table::hasField() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 627 App\Model\Behavior\TsImageUploaderBehavior::__construct() /home/verychard/mydarkmindsart.com/src/Model/Behavior/TsImageUploaderBehavior.php, line 130 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Webshop\Model\Table\WebshopImagesTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Model/Table/WebshopImagesTable.php, line 37 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\ORM\Association::getTarget() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Association.php, line 403 Cake\ORM\Query::_addAssociationsToTypeMap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 506 Cake\ORM\Query::contain() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 459 Webshop\Controller\WebshopProductsController::view() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/WebshopProductsController.php, line 228 Cake\Controller\Controller::invokeAction() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 429 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSSecurityMiddleware.php, line 42 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSApiMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSLanguageMiddleware.php, line 61 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Table::hasField() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 627 App\Model\Behavior\TsImageUploaderBehavior::__construct() /home/verychard/mydarkmindsart.com/src/Model/Behavior/TsImageUploaderBehavior.php, line 130 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Webshop\Model\Table\WebshopImagesTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Model/Table/WebshopImagesTable.php, line 37 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\ORM\Association::getTarget() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Association.php, line 403 Cake\ORM\Query::_addAssociationsToTypeMap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 506 Cake\ORM\Query::contain() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 459 Webshop\Controller\WebshopProductsController::view() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/WebshopProductsController.php, line 228 Cake\Controller\Controller::invokeAction() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 429 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSSecurityMiddleware.php, line 42 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSApiMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSLanguageMiddleware.php, line 61 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
if ($data !== '' && !empty($this->_config['serialize'])) {
$data = unserialize($data);
}
unserialize [internal], line ?? Cake\Cache\Engine\FileEngine::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 200 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 86 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Table::hasField() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 627 Tags\Model\Behavior\TagBehavior::attachCounters() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 221 Tags\Model\Behavior\TagBehavior::initialize() /home/verychard/mydarkmindsart.com/plugins/Tags/src/Model/Behavior/TagBehavior.php, line 67 Cake\ORM\Behavior::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Behavior.php, line 167 Cake\ORM\BehaviorRegistry::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/BehaviorRegistry.php, line 145 Cake\Core\ObjectRegistry::load() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php, line 110 Cake\ORM\Table::addBehavior() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 778 Webshop\Model\Table\WebshopProductsTable::initialize() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Model/Table/WebshopProductsTable.php, line 64 Cake\ORM\Table::__construct() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 322 Cake\ORM\Locator\TableLocator::_create() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 307 Cake\ORM\Locator\TableLocator::createInstance() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 262 Cake\Datasource\Locator\AbstractLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Datasource/Locator/AbstractLocator.php, line 68 Cake\ORM\Locator\TableLocator::get() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php, line 205 Cake\ORM\Association::getTarget() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Association.php, line 403 Cake\ORM\Query::_addAssociationsToTypeMap() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 506 Cake\ORM\Query::contain() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Query.php, line 459 Webshop\Controller\WebshopProductsController::view() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Controller/WebshopProductsController.php, line 228 Cake\Controller\Controller::invokeAction() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 77 App\Middleware\TSConversionMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSConversionMiddleware.php, line 88 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Webshop\Middleware\WebshopMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Webshop/src/Middleware/WebshopMiddleware.php, line 429 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Loc\Middleware\LocMiddleware::process() /home/verychard/mydarkmindsart.com/plugins/Loc/src/Middleware/LocMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cache\Routing\Middleware\CacheMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/dereuromark/cakephp-cache/src/Routing/Middleware/CacheMiddleware.php, line 80 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\BodyParserMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSAuthMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSAuthMiddleware.php, line 184 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authorization\Middleware\AuthorizationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/admad/cakephp-social-auth/src/Middleware/SocialAuthMiddleware.php, line 221 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSSecurityMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSSecurityMiddleware.php, line 42 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSApiMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSApiMiddleware.php, line 27 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\TSLanguageMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/TSLanguageMiddleware.php, line 61 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 186 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 App\Middleware\RedirectUrlMiddleware::process() /home/verychard/mydarkmindsart.com/src/Middleware/RedirectUrlMiddleware.php, line 98 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 DebugKit\Cache\Engine\DebugEngine::set() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Cache/Engine/DebugEngine.php, line 151 Cake\Database\Schema\CachedCollection::describe() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 513 Cake\ORM\Table::getPrimaryKey() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 653 Cake\ORM\Marshaller::one() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Marshaller.php, line 181 Cake\ORM\Table::newEntity() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/ORM/Table.php, line 2779 DebugKit\ToolbarService::saveData() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/ToolbarService.php, line 275 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 67 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
file_put_contents [internal], line ?? Cake\Log\Engine\FileLog::log() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140 Cake\Log\Log::write() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Log.php, line 392 Cake\Log\Log::warning() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Log.php, line 477 DebugKit\ToolbarService::saveData() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/ToolbarService.php, line 299 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 67 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
file_put_contents [internal], line ?? Cake\Log\Engine\FileLog::log() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140 Cake\Log\Log::write() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Log.php, line 392 Cake\Log\Log::warning() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Log/Log.php, line 477 DebugKit\ToolbarService::saveData() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/ToolbarService.php, line 300 DebugKit\Middleware\DebugKitMiddleware::process() /home/verychard/mydarkmindsart.com/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 67 Cake\Http\Runner::handle() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 73 Cake\Http\Runner::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Runner.php, line 58 Cake\Http\Server::run() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71 Cake\Http\Server::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164 Cake\Http\ResponseEmitter::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74 Cake\Http\Server::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197 Cake\Http\ResponseEmitter::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
/** @psalm-suppress InvalidArgument */
return setcookie($cookie->getName(), $cookie->getScalarValue(), $cookie->getOptions());
}
setcookie [internal], line ?? Cake\Http\ResponseEmitter::setCookie() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 236 Cake\Http\ResponseEmitter::emitCookies() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 218 Cake\Http\ResponseEmitter::emitHeaders() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 206 Cake\Http\ResponseEmitter::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/verychard/mydarkmindsart.com/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/verychard/mydarkmindsart.com/webroot/index.php, line 40
|
|
if (!$options['forceRefresh']) { |
|
$cached = $this->cacher->get($cacheKey); |
|
if ($cached !== null) { |
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
* @return bool True if the field exists, false if it does not. |
|
*/ |
|
public function hasField(string $field): bool |
|
{ |
|
$schema = $this->getSchema(); |
|
|
|
return $schema->getColumn($field) !== null; |
|
} |
|
|
return; |
|
} |
|
|
|
foreach ($config['taggedCounter'] as $field => $o) { |
|
if (!$this->_table->hasField($field)) { |
|
throw new RuntimeException(sprintf( |
|
'Field "%s" does not exist in table "%s"', |
|
$field, |
|
$this->_table->getTable() |
*/ |
|
public function initialize(array $config): void |
|
{ |
|
$this->bindAssociations(); |
|
$this->attachCounters(); |
|
} |
|
|
|
/** |
|
* Return lists of event's this behavior is interested in. |
$config |
|
); |
|
$this->_table = $table; |
|
$this->setConfig($config); |
|
$this->initialize($config); |
|
} |
|
|
|
/** |
|
* Constructor hook method. |
*/ |
|
protected function _create($class, string $alias, array $config): Behavior |
|
{ |
|
/** @var \Cake\ORM\Behavior $instance */ |
|
$instance = new $class($this->_table, $config); |
|
$enable = $config['enabled'] ?? true; |
|
if ($enable) { |
|
$this->getEventManager()->on($instance); |
|
} |
/** |
|
* @psalm-var TObject $instance |
|
* @psalm-suppress PossiblyNullArgument |
|
**/ |
|
$instance = $this->_create($className, $objName, $config); |
|
$this->_loaded[$objName] = $instance; |
|
|
|
return $instance; |
|
} |
* @see \Cake\ORM\Behavior |
|
*/ |
|
public function addBehavior(string $name, array $options = []) |
|
{ |
|
$this->_behaviors->load($name, $options); |
|
|
|
return $this; |
|
} |
|
|
$this->setPrimaryKey('id'); |
|
|
|
$this->addBehavior('Timestamp'); |
|
$this->addBehavior('Search.Search'); |
|
$this->addBehavior('Tags.Tag'); |
|
$this->addBehavior('SoftDelete'); |
|
$this->addBehavior('AuditLog.Auditable', ['name' => 'WebshopProducts']); |
|
$this->addBehavior('SocialMetas'); |
|
$this->addBehavior('CounterCache', [ |
$this->_behaviors = $behaviors ?: new BehaviorRegistry(); |
|
$this->_behaviors->setTable($this); |
|
$this->_associations = $associations ?: new AssociationCollection(); |
|
|
|
$this->initialize($config); |
|
$this->_eventManager->on($this); |
|
$this->dispatchEvent('Model.initialize'); |
|
} |
|
|
*/ |
|
protected function _create(array $options): Table |
|
{ |
|
/** @var \Cake\ORM\Table */ |
|
return new $options['className']($options); |
|
} |
|
|
|
/** |
|
* Set a Table instance. |
$options['associations'] = $associations; |
|
} |
|
|
|
$options['registryAlias'] = $alias; |
|
$instance = $this->_create($options); |
|
|
|
if ($options['className'] === $this->fallbackClassName) { |
|
$this->_fallbacked[$alias] = $instance; |
|
} |
} |
|
|
|
$this->options[$alias] = $storeOptions; |
|
|
|
return $this->instances[$alias] = $this->createInstance($alias, $options); |
|
} |
|
|
|
/** |
|
* Create an instance of a given classname. |
*/ |
|
public function get(string $alias, array $options = []): Table |
|
{ |
|
/** @var \Cake\ORM\Table */ |
|
return parent::get($alias, $options); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
$exists = $tableLocator->exists($registryAlias); |
|
if (!$exists) { |
|
$config = ['className' => $this->_className]; |
|
} |
|
$this->_targetTable = $tableLocator->get($registryAlias, $config); |
|
|
|
if ($exists) { |
|
$className = App::className($this->_className, 'Model/Table', 'Table') ?: Table::class; |
|
|
if (!$table->hasAssociation($name)) { |
|
continue; |
|
} |
|
$association = $table->getAssociation($name); |
|
$target = $association->getTarget(); |
|
$primary = (array)$target->getPrimaryKey(); |
|
if (empty($primary) || $typeMap->type($target->aliasField($primary[0])) === null) { |
|
$this->addDefaultTypes($target); |
|
} |
|
|
if ($associations) { |
|
$loader->contain($associations, $queryBuilder); |
|
} |
|
$this->_addAssociationsToTypeMap( |
|
$this->getRepository(), |
|
$this->getTypeMap(), |
|
$loader->getContain() |
|
); |
$queryChk = $this->WebshopProducts->findBySlug($id)->select(['id', 'parent_product_id']); |
|
} |
|
|
|
if (!empty($queryChk->first()->parent_product_id)) { |
|
$this->TSRespond->entity = $entity = $query->contain([ |
|
'MainImage', 'WebshopImages', 'WebshopProductAttributes', |
|
'WebshopProductAttributes.WebshopAttributeValues', 'WebshopProductAttributes.WebshopAttributes', |
|
'MainPrice', 'WebshopStocks', |
|
'MainCategory' => function ($q) { |
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
'data' => $ret |
|
])); |
|
} |
|
|
|
return $handler->handle($request); |
|
|
|
} |
|
|
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
'data' => $ret |
|
])); |
|
} |
|
|
|
return $handler->handle($request); |
|
|
|
} |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
use ModelAwareTrait; |
|
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { |
|
if($request->getParam('plugin') != 'Loc' || $request->getParam('controller') != 'LocZips' || $request->getParam('action') != 'select'){ |
|
return $handler->handle($request); |
|
} |
|
$this->loadModel('Loc.LocZips'); |
|
|
|
$data = $this->LocZips->find('search',[ |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$cacheKey = CacheKey::generate($url, $this->getConfig('prefix'), $this->getConfig('keyGenerator')); |
|
$fileContent = $this->getContent($url, $cacheKey); |
|
|
|
if ($fileContent === null) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$cacheContent = $this->extractCacheContent($fileContent); |
|
$cacheInfo = $this->extractCacheInfo($cacheContent); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
case Result::SUCCESS: |
|
return $this->identifySuccess($request, $handler, $service); |
|
//if the failure something like we are not in the login route pass trough. |
|
case Result::FAILURE_OTHER: |
|
return $handler->handle($request); |
|
} |
|
return $handler->handle($request); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
$return = $service->persistIdentity($request, $response, $result->getData()); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Hash::get($params, 'plugin') !== 'ADmad/SocialAuth' |
|
|| Hash::get($params, 'controller') !== 'Auth' |
|
|| !in_array($action, ['login', 'callback'], true) |
|
) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$method = '_handle' . ucfirst($action) . 'Action'; |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
}else{ |
|
$request = $request->withAttribute('allowEntity', $forceAllow || $request->is('api') || !$request->is('json')); |
|
} |
|
} |
|
return $handler->handle($request); |
|
} |
|
|
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
{ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface{ |
|
//If not api skip |
|
if(strpos($request->getPath(),'/api') !== 0){ |
|
return $handler->handle($request); |
|
} |
|
$request->addDetector('api', function(){return true;}); |
|
$apiKey = $request->getHeaderLine('TSApiKey'); |
|
if(!empty($apiKey)) { |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
} |
|
if(env('PLUGIN')) { |
|
Configure::load(env('PLUGIN') . '.studio_admin_menu', 'default'); |
|
} |
|
return $handler->handle($request); |
|
} |
|
|
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
->withStatus($redirectNow->redirect_type); |
|
} |
|
} |
|
} |
|
return $handler->handle($request); |
|
} |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
if ($this->service->isEnabled()) { |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
} |
|
$response = $handler->handle($request); |
|
|
|
if (!$this->service->isEnabled()) { |
|
return $response; |
|
} |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create templates/Error/error500.ctp