Notice (8): Undefined index: special_section [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 40]Code Context if (
$this->customization['special_section']['partner_id'] == 76
|| $this->customization['special_section']['id'] == 187319
$certificatePath =
null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 40
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 40]Code Context if (
$this->customization['special_section']['partner_id'] == 76
|| $this->customization['special_section']['id'] == 187319
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 40
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: special_section [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 41]Code Context $this->customization['special_section']['partner_id'] == 76
|| $this->customization['special_section']['id'] == 187319
|| $this->customization['special_section']['partner_id'] == 92
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 41
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 41]Code Context $this->customization['special_section']['partner_id'] == 76
|| $this->customization['special_section']['id'] == 187319
|| $this->customization['special_section']['partner_id'] == 92
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 41
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: special_section [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 42]Code Context || $this->customization['special_section']['id'] == 187319
|| $this->customization['special_section']['partner_id'] == 92
) {
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 42
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 42]Code Context || $this->customization['special_section']['id'] == 187319
|| $this->customization['special_section']['partner_id'] == 92
) {
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 42
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: special_section [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 57]Code Context if (
$this->customization['special_section']['partner_id'] == 90
|| $this->customization['special_section']['id'] == 188009
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 57
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 57]Code Context if (
$this->customization['special_section']['partner_id'] == 90
|| $this->customization['special_section']['id'] == 188009
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 57
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: special_section [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 58]Code Context $this->customization['special_section']['partner_id'] == 90
|| $this->customization['special_section']['id'] == 188009
) {
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 58
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 58]Code Context $this->customization['special_section']['partner_id'] == 90
|| $this->customization['special_section']['id'] == 188009
) {
$certificatePath = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 58
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196]Code Context if (!$this->wainscot) {
$fontPath1 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][0]['bold'], $this->customization['customization']['lines'][0]['italic']);
$font1 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 196
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200]Code Context //based on 90pt size for 1500px wide
$font1->setFontSize( $this->customization['customization']['lines'][0]['font_size'] * $fontScale );
$font1->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200]Code Context //based on 90pt size for 1500px wide
$font1->setFontSize( $this->customization['customization']['lines'][0]['font_size'] * $fontScale );
$font1->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200]Code Context //based on 90pt size for 1500px wide
$font1->setFontSize( $this->customization['customization']['lines'][0]['font_size'] * $fontScale );
$font1->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 200
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203]Code Context
$fontPath2 = Canvas::fontFile('Antiqua', $this->customization['customization']['lines'][1]['bold'], $this->customization['customization']['lines'][1]['italic']);
$font2 = new ImagickDraw();
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 203
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Undefined index: lines [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207]Code Context //based on 90pt size for 1500px wide
$font2->setFontSize( $this->customization['customization']['lines'][1]['font_size'] * $fontScale );
$font2->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207]Code Context //based on 90pt size for 1500px wide
$font2->setFontSize( $this->customization['customization']['lines'][1]['font_size'] * $fontScale );
$font2->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207]Code Context //based on 90pt size for 1500px wide
$font2->setFontSize( $this->customization['customization']['lines'][1]['font_size'] * $fontScale );
$font2->setFillColor('#ddd');
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 207
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 235]Code Context
$line1X = (int) (($plaqueGeometry['width'] - $line1Metrics['textWidth']) / 2) + $xAdjust;
$line1Y = (int) ($plaqueGeometry['height'] - $plaqueGeometry['height'] * .12) + $yAdjust;
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
$l2b = null
$l2i = null
$l2fs = null
$fontPath3 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font3 = object(ImagickDraw) id:0 {
}
$l3b = null
$l3i = null
$l3fs = null
$fontPath4 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font4 = object(ImagickDraw) id:0 {
}
$line1Metrics = null
$line2Metrics = null
$line3Metrics = null
$line4Metrics = null
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 235
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Notice (8): Trying to access array offset on value of type null [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 238]Code Context
$line2X = (int) (($plaqueGeometry['width'] - $line2Metrics['textWidth']) / 2) + $xAdjust;
$line2Y = (int) ($plaqueGeometry['height'] - $plaqueGeometry['height'] * .07) + $yAdjust;
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
$l2b = null
$l2i = null
$l2fs = null
$fontPath3 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font3 = object(ImagickDraw) id:0 {
}
$l3b = null
$l3i = null
$l3fs = null
$fontPath4 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font4 = object(ImagickDraw) id:0 {
}
$line1Metrics = null
$line2Metrics = null
$line3Metrics = null
$line4Metrics = null
$line1X = (int) 750
$line1Y = (int) 1973
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 238
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 273]Code Context
header("Content-Type: image/jpg");
print $plaque;
$certificatePath = null
$f = [
'options' => [
],
'files' => [
],
'instructions' => '',
'wood_color' => 'mahogany',
'trim_color' => 'gold',
'lines' => [
(int) 0 => [
'bold' => 'true',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[honoree]',
],
(int) 1 => [
'bold' => 'false',
'italic' => 'false',
'line' => 'false',
'read-only' => 'false',
'font_size' => '20',
'font_family' => 'Arial',
'text' => '[entity]',
'edited' => 'true',
],
],
'plate_color' => '',
'certificateLines' => [
(int) 0 => [
'line' => '0',
'text' => '[honoree]',
],
(int) 1 => [
'line' => (int) 1,
'text' => '[honoree]',
],
],
]
$outputType = 'preview'
$outputQuality = '80'
$bgFile = 'preview.jpg'
$lineWidth = (int) 1096
$fontScale = (float) 4.5
$outputScaleWidth = '350'
$plaque = object(Imagick) id:0 {
}
$plaqueGeometry = [
'width' => (int) 1500,
'height' => (int) 2243,
]
$pM = object(App\Model\Table\ProductsTable) id:0 {
'registryAlias' => 'Products'
'table' => 'products'
'alias' => 'Products'
'entityClass' => 'App\Model\Entity\Product'
'associations' => [
(int) 0 => 'Customizers',
(int) 1 => 'Generators',
(int) 2 => 'ShippingOrigins',
(int) 3 => 'ProductTypes',
(int) 4 => 'ProductStatuses',
(int) 5 => 'QbProductStatuses',
(int) 6 => 'PlaqueOrientations',
(int) 7 => 'UpsellProducts',
(int) 8 => 'OrderItemReturnOriginal',
(int) 9 => 'OrderItemReturnNew',
(int) 10 => 'ProductSpecialSections',
(int) 11 => 'ProductPrices',
(int) 12 => 'ShippingPrices',
(int) 13 => 'MaterialProducts',
(int) 14 => 'ProductProductBundles',
(int) 15 => 'OrderItems',
(int) 16 => 'PartnerProducts',
(int) 17 => 'CertificateInstructionProducts',
(int) 18 => 'Partners',
(int) 19 => 'SpecialSections',
(int) 20 => 'CertificateInstructions',
(int) 21 => 'ContactOpportunities',
(int) 22 => 'CustomizationOptions',
(int) 23 => 'Materials',
(int) 24 => 'ReturnReasons',
(int) 25 => 'FakeProduct',
(int) 26 => 'ContactsOpportunitiesProducts',
(int) 27 => 'ProductsSpecialSections',
]
'behaviors' => [
(int) 0 => 'Customizable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
logAsModified => true
statusField => 'product_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
db => object(Cake\Database\Connection) id:1 {
}
ContactOpportunityProducts => object(App\Model\Table\ContactOpportunityProductsTable) id:2 {
}
protected _table => 'products'
protected _alias => 'Products'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => object(Cake\Database\Schema\TableSchema) id:3 {
}
protected _primaryKey => 'id'
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:4 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:5 {
}
protected _entityClass => 'App\Model\Entity\Product'
protected _registryAlias => 'Products'
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$imageM = object(App\Model\Table\ImagesTable) id:0 {
'registryAlias' => 'Images'
'table' => 'images'
'alias' => 'Images'
'entityClass' => 'App\Model\Entity\Image'
'associations' => [
(int) 0 => 'NemoFiles',
(int) 1 => 'Images',
(int) 2 => 'FileTypes',
(int) 3 => 'ResizedImages',
]
'behaviors' => [
(int) 0 => 'Dateable',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
id => null
lastError => null
statusField => 'image_status_id'
autoUpdateFields => [
(int) 0 => 'created',
(int) 1 => 'modified',
]
ignoreStatusConstraint => false
protected _table => 'images'
protected _alias => 'Images'
protected _connection => object(Cake\Database\Connection) id:1 {
}
protected _schema => object(Cake\Database\Schema\TableSchema) id:2 {
}
protected _primaryKey => null
protected _displayField => null
protected _associations => object(Cake\ORM\AssociationCollection) id:3 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:4 {
}
protected _entityClass => 'App\Model\Entity\Image'
protected _registryAlias => 'Images'
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
protected modelClass => null
protected _modelFactories => [
]
protected _modelType => 'Table'
}
$xAdjust = (int) 0
$yAdjust = (int) 0
$cert = object(Imagick) id:0 {
}
$scaleX = (float) 0.688
$scaleY = (float) 0.695
$certX = (float) 1032
$certY = (float) 1558.885
$certGeometry = [
'width' => (int) 1032,
'height' => (int) 1558,
]
$imageX = (float) 238.68
$imageY = (float) 232.56
$line1 = null
$line2 = null
$line3 = null
$line4 = null
$fontPath1 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font1 = object(ImagickDraw) id:0 {
}
$fontPath2 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font2 = object(ImagickDraw) id:0 {
}
$l2b = null
$l2i = null
$l2fs = null
$fontPath3 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font3 = object(ImagickDraw) id:0 {
}
$l3b = null
$l3i = null
$l3fs = null
$fontPath4 = '/var/www/html/src/../vendor/fonts/antiqua.ttf'
$font4 = object(ImagickDraw) id:0 {
}
$line1Metrics = null
$line2Metrics = null
$line3Metrics = null
$line4Metrics = null
$line1X = (int) 750
$line1Y = (int) 1973
$line2X = (int) 750
$line2Y = (int) 2085
$line3X = (int) 750
$line3Y = (int) 2198
$line4X = (int) 750
$line4Y = (int) 2310
header - [internal], line ??
ContemporaryPlaqueImage::generate() - ROOT/vendor/ProductPreview/Generators/contemporary_plaque_image.php, line 273
App\Model\Table\ProductsTable::image() - APP/Model/Table/ProductsTable.php, line 506
App\Controller\PreviewsController::image() - APP/Controller/PreviewsController.php, line 113
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 148
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 172
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 77
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73