ErrorException Object
(
    [message:protected] => Attempt to read property "event_id" on null
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\app\Controllers\Cart.php
    [line:protected] => 47
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\app\Controllers\Cart.php
                    [line] => 47
                    [function] => errorHandler
                    [class] => CodeIgniter\Debug\Exceptions
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\vendor\codeigniter4\framework\system\CodeIgniter.php
                    [line] => 933
                    [function] => addToCart
                    [class] => App\Controllers\Cart
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\vendor\codeigniter4\framework\system\CodeIgniter.php
                    [line] => 509
                    [function] => runController
                    [class] => CodeIgniter\CodeIgniter
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\vendor\codeigniter4\framework\system\CodeIgniter.php
                    [line] => 355
                    [function] => handleRequest
                    [class] => CodeIgniter\CodeIgniter
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\vendor\codeigniter4\framework\system\Boot.php
                    [line] => 325
                    [function] => run
                    [class] => CodeIgniter\CodeIgniter
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\vendor\codeigniter4\framework\system\Boot.php
                    [line] => 67
                    [function] => runCodeIgniter
                    [class] => CodeIgniter\Boot
                    [type] => ::
                )

            [6] => Array
                (
                    [file] => E:\HostingSpaces\rentIT\indaevents.hu\wwwroot\index.php
                    [line] => 56
                    [function] => bootWeb
                    [class] => CodeIgniter\Boot
                    [type] => ::
                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 2
)