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

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

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

            [3] => Array
                (
                    [file] => /var/www/www.mycondoplans.com/dreammvc/controllers/condos_building_documents_controller.php
                    [line] => 55
                    [function] => log
                    [class] => BuildingDocumentLogModel
                    [type] => ->
                )

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

            [5] => Array
                (
                    [file] => /var/www/www.mycondoplans.com/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
        )

)