PDOException Object
(
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null
    [string:Exception:private] => 
    [code:protected] => 23000
    [file:protected] => /opt/mycondoplans_com/www/dreammvc/core/dream_model.php
    [line:protected] => 794
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /opt/mycondoplans_com/www/dreammvc/core/dream_model.php
                    [line] => 794
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /opt/mycondoplans_com/www/dreammvc/core/dream_model.php
                    [line] => 577
                    [function] => _Insert
                    [class] => DreamModel
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /opt/mycondoplans_com/www/dreammvc/models/building_document_log_model.php
                    [line] => 35
                    [function] => Save
                    [class] => DreamModel
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /opt/mycondoplans_com/www/dreammvc/controllers/condos_building_documents_controller.php
                    [line] => 49
                    [function] => log
                    [class] => BuildingDocumentLogModel
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /opt/mycondoplans_com/www/dreammvc/core/dream_controller.php
                    [line] => 30
                    [function] => Download
                    [class] => CondosBuildingDocumentsController
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /opt/mycondoplans_com/www/index.php
                    [line] => 108
                    [function] => ExecuteAction
                    [class] => DreamController
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 23000
            [1] => 1048
            [2] => Column 'user_id' cannot be null
        )

)