header There is no existing directory at "/var/www/html/logs/logger/svea-checkout-pm" and it could not be created: Permission denied
DEBUG:
UnexpectedValueException Object
(
    [message:protected] => There is no existing directory at "/var/www/html/logs/logger/svea-checkout-pm" and it could not be created: Permission denied
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
    [line:protected] => 251
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
                    [line] => 141
                    [function] => createDir
                    [class] => Monolog\Handler\StreamHandler
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /var/www/html/logs/logger/svea-checkout-pm/2025-12-06.log
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
                    [line] => 48
                    [function] => write
                    [class] => Monolog\Handler\StreamHandler
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [message] => PaymentMethod_SveaCheckout constructor for reference number: <>
                                    [context] => Array
                                        (
                                        )

                                    [level] => 200
                                    [level_name] => INFO
                                    [channel] => svea-checkout-pm
                                    [datetime] => Monolog\DateTimeImmutable Object
                                        (
                                            [useMicroseconds:Monolog\DateTimeImmutable:private] => 1
                                            [date] => 2025-12-06 04:52:09.279709
                                            [timezone_type] => 3
                                            [timezone] => Europe/Stockholm
                                        )

                                    [extra] => Array
                                        (
                                        )

                                    [formatted] => [2025-12-06T04:52:09.279709+01:00] svea-checkout-pm.INFO: PaymentMethod_SveaCheckout constructor for reference number: <> [] []

                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php
                    [line] => 400
                    [function] => handle
                    [class] => Monolog\Handler\AbstractProcessingHandler
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [message] => PaymentMethod_SveaCheckout constructor for reference number: <>
                                    [context] => Array
                                        (
                                        )

                                    [level] => 200
                                    [level_name] => INFO
                                    [channel] => svea-checkout-pm
                                    [datetime] => Monolog\DateTimeImmutable Object
                                        (
                                            [useMicroseconds:Monolog\DateTimeImmutable:private] => 1
                                            [date] => 2025-12-06 04:52:09.279709
                                            [timezone_type] => 3
                                            [timezone] => Europe/Stockholm
                                        )

                                    [extra] => Array
                                        (
                                        )

                                    [formatted] => [2025-12-06T04:52:09.279709+01:00] svea-checkout-pm.INFO: PaymentMethod_SveaCheckout constructor for reference number: <> [] []

                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php
                    [line] => 612
                    [function] => addRecord
                    [class] => Monolog\Logger
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 200
                            [1] => PaymentMethod_SveaCheckout constructor for reference number: <>
                            [2] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/html/ssl/payment_gateways/SveaCheckout/class.PaymentMethod_SveaCheckout.php
                    [line] => 48
                    [function] => info
                    [class] => Monolog\Logger
                    [type] => ->
                    [args] => Array
                        (
                            [0] => PaymentMethod_SveaCheckout constructor for reference number: <>
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/html/ssl/class.PaymentMethodFactory.php
                    [line] => 53
                    [function] => __construct
                    [class] => PaymentMethod_SveaCheckout
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/html/ssl/class.PaymentMethodFactory.php
                    [line] => 38
                    [function] => __construct
                    [class] => PaymentMethodFactory
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SveaCheckout
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/html/core/modules/ordering/ordering_pages/svea_checkout_ordering/class.SveaCheckoutOrderingData.php
                    [line] => 39
                    [function] => NewInstance
                    [class] => PaymentMethodFactory
                    [type] => ::
                    [args] => Array
                        (
                            [0] => SveaCheckout
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/html/core/modules/ordering/ordering_pages/svea_checkout_ordering/class.SveaCheckoutOrderingData.php
                    [line] => 17
                    [function] => __construct
                    [class] => SveaCheckoutOrderingData
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 176
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/html/ssl/svea_checkout_shopping_cart.php
                    [line] => 30
                    [function] => GetInstance
                    [class] => SveaCheckoutOrderingData
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 176
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/html/core/modules/ordering/ordering_pages/class.OrderingPage_SveaCheckout.php
                    [line] => 23
                    [args] => Array
                        (
                            [0] => /var/www/html/ssl/svea_checkout_shopping_cart.php
                        )

                    [function] => require
                )

            [11] => Array
                (
                    [file] => /var/www/html/ssl/shopping_cart.php
                    [line] => 56
                    [function] => Render
                    [class] => OrderingPage_SveaCheckout
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/html/site/templates/crimson-lite-global/layouts/shopping_cart.inc
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /var/www/html/ssl/shopping_cart.php
                        )

                    [function] => include
                )

            [13] => Array
                (
                    [file] => /var/www/html/core/modules/template_engine/parsers/class.TemplateContentParser.php
                    [line] => 97
                    [args] => Array
                        (
                            [0] => /var/www/html/site/templates/crimson-lite-global/layouts/shopping_cart.inc
                        )

                    [function] => include
                )

            [14] => Array
                (
                    [file] => /var/www/html/core/modules/template_engine/parsers/class.TemplateEngineParser.php
                    [line] => 40
                    [function] => Parse
                    [class] => TemplateContentParser
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /var/www/html/core/modules/template_engine/parsers/class.TemplateEngineParser.php
                    [line] => 33
                    [function] => ParseTemplateFile
                    [class] => TemplateEngineParser
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /var/www/html/site/templates/crimson-lite-global/layouts/shopping_cart.inc
                        )

                )

            [16] => Array
                (
                    [file] => /var/www/html/core/modules/template_engine/class.TemplateEngine.php
                    [line] => 236
                    [function] => ParsePageLayout
                    [class] => TemplateEngineParser
                    [type] => ->
                    [args] => Array
                        (
                            [0] => GeneralPage Object
                                (
                                    [page_data:protected] => Array
                                        (
                                            [url_name] => shoppingkorg
                                            [type] => general
                                            [item_id] => 9
                                            [lang] => se
                                            [visible] => 1
                                            [layout_file] => 
                                            [href] => https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg
                                            [url] => https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg
                                            [name] => Inköpskorg
                                            [meta_description] => 
                                            [meta_keywords] => 
                                            [url_names_page_field] => pages
                                            [title] => Inköpskorg
                                            [url_parameters] => Array
                                                (
                                                )

                                            [codename] => shopping_cart
                                            [secure] => 1
                                        )

                                    [page_template_data_object:protected] => PageTemplateData Object
                                        (
                                            [main_category_name:protected] => 
                                            [variable_label:protected] => page
                                            [url_name] => shoppingkorg
                                            [type] => general
                                            [item_id] => 9
                                            [lang] => se
                                            [visible] => 1
                                            [layout_file] => 
                                            [href] => https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg
                                            [url] => https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg
                                            [name] => Inköpskorg
                                            [meta_description] => 
                                            [meta_keywords] => 
                                            [url_names_page_field] => pages
                                            [title] => Inköpskorg
                                            [url_parameters] => Array
                                                (
                                                )

                                            [codename] => shopping_cart
                                            [secure] => 1
                                        )

                                )

                        )

                )

            [17] => Array
                (
                    [file] => /var/www/html/shop_core/request_handler.php
                    [line] => 34
                    [function] => Render
                    [class] => TemplateEngine
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
    [xdebug_message] => ( ! ) UnexpectedValueException: There is no existing directory at "/var/www/html/logs/logger/svea-checkout-pm" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 251
Call Stack
#TimeMemoryFunctionLocation
10.0002408576{main}(  ).../request_handler.php:0
23.65046377248TemplateEngine->Render(  ).../request_handler.php:34
33.65086408440TemplateEngineParser->ParsePageLayout( $page = class GeneralPage { protected $page_data = ['url_name' => 'shoppingkorg', 'type' => 'general', 'item_id' => '9', 'lang' => 'se', 'visible' => '1', 'layout_file' => NULL, 'href' => 'https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg', 'url' => 'https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg', 'name' => 'Inköpskorg', 'meta_description' => '', 'meta_keywords' => '', 'url_names_page_field' => 'pages', 'title' => 'Inköpskorg', 'url_parameters' => [...], 'codename' => 'shopping_cart', 'secure' => '1']; protected $page_template_data_object = class PageTemplateData { protected $main_category_name = NULL; protected $variable_label = 'page'; public $url_name = 'shoppingkorg'; public $type = 'general'; public $item_id = '9'; public $lang = 'se'; public $visible = '1'; public $layout_file = NULL; public $href = 'https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg'; public $url = 'https://sportproffsen-se-testing.hurmosoft.fi/shoppingkorg'; public $name = 'Inköpskorg'; public $meta_description = ''; public $meta_keywords = ''; public $url_names_page_field = 'pages'; public $title = 'Inköpskorg'; public $url_parameters = [...]; public $codename = 'shopping_cart'; public $secure = '1' } } ).../class.TemplateEngine.php:236
43.65126408992TemplateEngineParser->ParseTemplateFile( $template_file_path = '/var/www/html/site/templates/crimson-lite-global/layouts/shopping_cart.inc' ).../class.TemplateEngineParser.php:33
53.65126408992TemplateContentParser->Parse(  ).../class.TemplateEngineParser.php:40
63.65166426776include( '/var/www/html/site/templates/crimson-lite-global/layouts/shopping_cart.inc ).../class.TemplateContentParser.php:97
73.65306437368include( '/var/www/html/ssl/shopping_cart.php ).../shopping_cart.inc:3
83.65496800760OrderingPage_SveaCheckout->Render(  ).../shopping_cart.php:56
93.65556810400require( '/var/www/html/ssl/svea_checkout_shopping_cart.php ).../class.OrderingPage_SveaCheckout.php:23
103.66717383568SveaCheckoutOrderingData::GetInstance( $user_cart_id = '176' ).../svea_checkout_shopping_cart.php:30
113.66717383696SveaCheckoutOrderingData->__construct( $user_cart_id = '176' ).../class.SveaCheckoutOrderingData.php:17
123.66717383696PaymentMethodFactory::NewInstance( $payment_method_name = 'SveaCheckout' ).../class.SveaCheckoutOrderingData.php:39
133.66717383856PaymentMethodFactory->__construct( $payment_method_name = 'SveaCheckout' ).../class.PaymentMethodFactory.php:38
143.67197556312PaymentMethod_SveaCheckout->__construct( $reference_number = ??? ).../class.PaymentMethodFactory.php:53
153.67617748104Monolog\Logger->info( $message = 'PaymentMethod_SveaCheckout constructor for reference number: <>', $context = ??? ).../class.PaymentMethod_SveaCheckout.php:48
163.67617748104Monolog\Logger->addRecord( $level = 200, $message = 'PaymentMethod_SveaCheckout constructor for reference number: <>', $context = [], $datetime = ??? ).../Logger.php:612
173.68287851664Monolog\Logger->handleException( $e = class UnexpectedValueException { protected $message = 'There is no existing directory at "/var/www/html/logs/logger/svea-checkout-pm" and it could not be created: Permission denied'; private ${Exception}string = ''; protected $code = 0; protected $file = '/var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php'; protected $line = 251; private ${Exception}trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...]]; private ${Exception}previous = NULL; public $xdebug_message = '<tr><th align=\'left\' bgcolor=\'#f57900\' colspan="5"><span style=\'background-color: #cc0000; color: #fce94f; font-size: x-large;\'>( ! )</span> UnexpectedValueException: There is no existing directory at "/var/www/html/logs/logger/svea-checkout-pm" and it could not be created: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line <i>251</i></th></tr>\n<tr><th align=\'left\' bgcolor=\'#e9b96e\' colspan=\'5\'>Call Stack</th></tr>\n<tr><th align=\'center\' bgcolor=\'#eeeeec\''... }, $record = ['message' => 'PaymentMethod_SveaCheckout constructor for reference number: <>', 'context' => [], 'level' => 200, 'level_name' => 'INFO', 'channel' => 'svea-checkout-pm', 'datetime' => class Monolog\DateTimeImmutable { private $useMicroseconds = TRUE; public $date = '2025-12-06 04:52:09.279709'; public $timezone_type = 3; public $timezone = 'Europe/Stockholm' }, 'extra' => []] ).../Logger.php:404

)