RedBeanPHP\RedException\SQL Object
(
    [sqlState:RedBeanPHP\RedException\SQL:private] => HY000
    [message:protected] => SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/vhosts/www.wciu.com/framework/libs/rb.php
    [line:protected] => 468
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/libs/rb.php
                    [line] => 600
                    [function] => runQuery
                    [class] => RedBeanPHP\Driver\RPDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT content.*, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.published
                      WHEN 'lists' THEN lists.published
                      WHEN 'blog' THEN blog.published 
                      ELSE '2015-06-01 00:00:00'
                    END as published, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.active
                      WHEN 'lists' THEN lists.active
                      WHEN 'blog' THEN blog.active 
                      ELSE 'no'
                    END as active,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.banner_url
                      WHEN 'lists' THEN lists.header_url
                      WHEN 'blog' THEN blog.og_image
                      ELSE ''
                    END as header_image,                     
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tile_image
                      WHEN 'lists' THEN lists.tile_image
                      WHEN 'blog' THEN blog.tile_image 
                      ELSE ''
                    END as tile_image,                       
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.related_image
                      WHEN 'lists' THEN lists.related_image
                      WHEN 'blog' THEN blog.related_image
                      ELSE ''
                    END as related_image,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.thumbnail_image
                      WHEN 'lists' THEN lists.thumbnail_image
                      WHEN 'blog' THEN blog.thumbnail_image 
                      ELSE ''
                    END as thumbnail_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.partner_image 
                      ELSE ''
                    END as partner_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.trending_image 
                      WHEN 'lists' THEN lists.trending_image
                      WHEN 'quizzes' THEN quizzes.trending_image                       
                      ELSE ''
                    END as trending_image,                         
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.name
                      WHEN 'lists' THEN lists.name
                      WHEN 'blog' THEN blog.title 
                      ELSE ''
                    END as title,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_title
                      WHEN 'lists' THEN lists.display_title
                      WHEN 'blog' THEN blog.display_title
                      ELSE ''
                    END as display_title,   
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_description
                      WHEN 'lists' THEN lists.display_description
                      WHEN 'blog' THEN blog.display_description
                      ELSE ''
                    END as display_description,                      
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.description
                      WHEN 'lists' THEN lists.description
                      WHEN 'blog' THEN blog.excerpt 
                      ELSE ''
                    END as description,        
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tags
                      WHEN 'lists' THEN lists.tags
                      WHEN 'blog' THEN blog.tags 
                      ELSE ''
                    END as tags,      
                    CASE content.type
                      WHEN 'blog' THEN blog.author 
                      ELSE ''
                    END as author,                      
                    CASE content.type
                      WHEN 'lists' THEN lists.type
                      ELSE -1
                    END as listtype
                    /*** any other fields for listing content on homepage ****/
                FROM content 
                LEFT JOIN quizzes ON quizzes.id = content.parent_id AND content.type = 'quizzes'
                LEFT JOIN lists ON lists.id = content.parent_id AND content.type = 'lists'
                LEFT JOIN blog ON blog.id = content.parent_id AND content.type = 'blog'  
               
              HAVING active = 'yes' AND (tile_image IS NOT NULL) AND listtype <> 5 
              AND published < NOW() AND parent_id != 25
              
            ORDER BY published DESC LIMIT 3
                            [1] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/libs/rb.php
                    [line] => 2669
                    [function] => GetAll
                    [class] => RedBeanPHP\Driver\RPDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT content.*, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.published
                      WHEN 'lists' THEN lists.published
                      WHEN 'blog' THEN blog.published 
                      ELSE '2015-06-01 00:00:00'
                    END as published, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.active
                      WHEN 'lists' THEN lists.active
                      WHEN 'blog' THEN blog.active 
                      ELSE 'no'
                    END as active,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.banner_url
                      WHEN 'lists' THEN lists.header_url
                      WHEN 'blog' THEN blog.og_image
                      ELSE ''
                    END as header_image,                     
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tile_image
                      WHEN 'lists' THEN lists.tile_image
                      WHEN 'blog' THEN blog.tile_image 
                      ELSE ''
                    END as tile_image,                       
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.related_image
                      WHEN 'lists' THEN lists.related_image
                      WHEN 'blog' THEN blog.related_image
                      ELSE ''
                    END as related_image,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.thumbnail_image
                      WHEN 'lists' THEN lists.thumbnail_image
                      WHEN 'blog' THEN blog.thumbnail_image 
                      ELSE ''
                    END as thumbnail_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.partner_image 
                      ELSE ''
                    END as partner_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.trending_image 
                      WHEN 'lists' THEN lists.trending_image
                      WHEN 'quizzes' THEN quizzes.trending_image                       
                      ELSE ''
                    END as trending_image,                         
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.name
                      WHEN 'lists' THEN lists.name
                      WHEN 'blog' THEN blog.title 
                      ELSE ''
                    END as title,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_title
                      WHEN 'lists' THEN lists.display_title
                      WHEN 'blog' THEN blog.display_title
                      ELSE ''
                    END as display_title,   
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_description
                      WHEN 'lists' THEN lists.display_description
                      WHEN 'blog' THEN blog.display_description
                      ELSE ''
                    END as display_description,                      
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.description
                      WHEN 'lists' THEN lists.description
                      WHEN 'blog' THEN blog.excerpt 
                      ELSE ''
                    END as description,        
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tags
                      WHEN 'lists' THEN lists.tags
                      WHEN 'blog' THEN blog.tags 
                      ELSE ''
                    END as tags,      
                    CASE content.type
                      WHEN 'blog' THEN blog.author 
                      ELSE ''
                    END as author,                      
                    CASE content.type
                      WHEN 'lists' THEN lists.type
                      ELSE -1
                    END as listtype
                    /*** any other fields for listing content on homepage ****/
                FROM content 
                LEFT JOIN quizzes ON quizzes.id = content.parent_id AND content.type = 'quizzes'
                LEFT JOIN lists ON lists.id = content.parent_id AND content.type = 'lists'
                LEFT JOIN blog ON blog.id = content.parent_id AND content.type = 'blog'  
               
              HAVING active = 'yes' AND (tile_image IS NOT NULL) AND listtype <> 5 
              AND published < NOW() AND parent_id != 25
              
            ORDER BY published DESC LIMIT 3
                            [1] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/libs/rb.php
                    [line] => 8033
                    [function] => get
                    [class] => RedBeanPHP\Adapter\DBAdapter
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT content.*, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.published
                      WHEN 'lists' THEN lists.published
                      WHEN 'blog' THEN blog.published 
                      ELSE '2015-06-01 00:00:00'
                    END as published, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.active
                      WHEN 'lists' THEN lists.active
                      WHEN 'blog' THEN blog.active 
                      ELSE 'no'
                    END as active,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.banner_url
                      WHEN 'lists' THEN lists.header_url
                      WHEN 'blog' THEN blog.og_image
                      ELSE ''
                    END as header_image,                     
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tile_image
                      WHEN 'lists' THEN lists.tile_image
                      WHEN 'blog' THEN blog.tile_image 
                      ELSE ''
                    END as tile_image,                       
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.related_image
                      WHEN 'lists' THEN lists.related_image
                      WHEN 'blog' THEN blog.related_image
                      ELSE ''
                    END as related_image,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.thumbnail_image
                      WHEN 'lists' THEN lists.thumbnail_image
                      WHEN 'blog' THEN blog.thumbnail_image 
                      ELSE ''
                    END as thumbnail_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.partner_image 
                      ELSE ''
                    END as partner_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.trending_image 
                      WHEN 'lists' THEN lists.trending_image
                      WHEN 'quizzes' THEN quizzes.trending_image                       
                      ELSE ''
                    END as trending_image,                         
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.name
                      WHEN 'lists' THEN lists.name
                      WHEN 'blog' THEN blog.title 
                      ELSE ''
                    END as title,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_title
                      WHEN 'lists' THEN lists.display_title
                      WHEN 'blog' THEN blog.display_title
                      ELSE ''
                    END as display_title,   
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_description
                      WHEN 'lists' THEN lists.display_description
                      WHEN 'blog' THEN blog.display_description
                      ELSE ''
                    END as display_description,                      
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.description
                      WHEN 'lists' THEN lists.description
                      WHEN 'blog' THEN blog.excerpt 
                      ELSE ''
                    END as description,        
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tags
                      WHEN 'lists' THEN lists.tags
                      WHEN 'blog' THEN blog.tags 
                      ELSE ''
                    END as tags,      
                    CASE content.type
                      WHEN 'blog' THEN blog.author 
                      ELSE ''
                    END as author,                      
                    CASE content.type
                      WHEN 'lists' THEN lists.type
                      ELSE -1
                    END as listtype
                    /*** any other fields for listing content on homepage ****/
                FROM content 
                LEFT JOIN quizzes ON quizzes.id = content.parent_id AND content.type = 'quizzes'
                LEFT JOIN lists ON lists.id = content.parent_id AND content.type = 'lists'
                LEFT JOIN blog ON blog.id = content.parent_id AND content.type = 'blog'  
               
              HAVING active = 'yes' AND (tile_image IS NOT NULL) AND listtype <> 5 
              AND published < NOW() AND parent_id != 25
              
            ORDER BY published DESC LIMIT 3
                            [1] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/libs/rb.php
                    [line] => 8625
                    [function] => query
                    [class] => RedBeanPHP\Facade
                    [type] => ::
                    [args] => Array
                        (
                            [0] => get
                            [1] => SELECT content.*, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.published
                      WHEN 'lists' THEN lists.published
                      WHEN 'blog' THEN blog.published 
                      ELSE '2015-06-01 00:00:00'
                    END as published, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.active
                      WHEN 'lists' THEN lists.active
                      WHEN 'blog' THEN blog.active 
                      ELSE 'no'
                    END as active,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.banner_url
                      WHEN 'lists' THEN lists.header_url
                      WHEN 'blog' THEN blog.og_image
                      ELSE ''
                    END as header_image,                     
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tile_image
                      WHEN 'lists' THEN lists.tile_image
                      WHEN 'blog' THEN blog.tile_image 
                      ELSE ''
                    END as tile_image,                       
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.related_image
                      WHEN 'lists' THEN lists.related_image
                      WHEN 'blog' THEN blog.related_image
                      ELSE ''
                    END as related_image,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.thumbnail_image
                      WHEN 'lists' THEN lists.thumbnail_image
                      WHEN 'blog' THEN blog.thumbnail_image 
                      ELSE ''
                    END as thumbnail_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.partner_image 
                      ELSE ''
                    END as partner_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.trending_image 
                      WHEN 'lists' THEN lists.trending_image
                      WHEN 'quizzes' THEN quizzes.trending_image                       
                      ELSE ''
                    END as trending_image,                         
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.name
                      WHEN 'lists' THEN lists.name
                      WHEN 'blog' THEN blog.title 
                      ELSE ''
                    END as title,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_title
                      WHEN 'lists' THEN lists.display_title
                      WHEN 'blog' THEN blog.display_title
                      ELSE ''
                    END as display_title,   
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_description
                      WHEN 'lists' THEN lists.display_description
                      WHEN 'blog' THEN blog.display_description
                      ELSE ''
                    END as display_description,                      
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.description
                      WHEN 'lists' THEN lists.description
                      WHEN 'blog' THEN blog.excerpt 
                      ELSE ''
                    END as description,        
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tags
                      WHEN 'lists' THEN lists.tags
                      WHEN 'blog' THEN blog.tags 
                      ELSE ''
                    END as tags,      
                    CASE content.type
                      WHEN 'blog' THEN blog.author 
                      ELSE ''
                    END as author,                      
                    CASE content.type
                      WHEN 'lists' THEN lists.type
                      ELSE -1
                    END as listtype
                    /*** any other fields for listing content on homepage ****/
                FROM content 
                LEFT JOIN quizzes ON quizzes.id = content.parent_id AND content.type = 'quizzes'
                LEFT JOIN lists ON lists.id = content.parent_id AND content.type = 'lists'
                LEFT JOIN blog ON blog.id = content.parent_id AND content.type = 'blog'  
               
              HAVING active = 'yes' AND (tile_image IS NOT NULL) AND listtype <> 5 
              AND published < NOW() AND parent_id != 25
              
            ORDER BY published DESC LIMIT 3
                            [2] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/models/model_content.php
                    [line] => 154
                    [function] => getAll
                    [class] => RedBeanPHP\Facade
                    [type] => ::
                    [args] => Array
                        (
                            [0] => SELECT content.*, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.published
                      WHEN 'lists' THEN lists.published
                      WHEN 'blog' THEN blog.published 
                      ELSE '2015-06-01 00:00:00'
                    END as published, 
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.active
                      WHEN 'lists' THEN lists.active
                      WHEN 'blog' THEN blog.active 
                      ELSE 'no'
                    END as active,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.banner_url
                      WHEN 'lists' THEN lists.header_url
                      WHEN 'blog' THEN blog.og_image
                      ELSE ''
                    END as header_image,                     
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tile_image
                      WHEN 'lists' THEN lists.tile_image
                      WHEN 'blog' THEN blog.tile_image 
                      ELSE ''
                    END as tile_image,                       
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.related_image
                      WHEN 'lists' THEN lists.related_image
                      WHEN 'blog' THEN blog.related_image
                      ELSE ''
                    END as related_image,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.thumbnail_image
                      WHEN 'lists' THEN lists.thumbnail_image
                      WHEN 'blog' THEN blog.thumbnail_image 
                      ELSE ''
                    END as thumbnail_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.partner_image 
                      ELSE ''
                    END as partner_image,       
                    CASE content.type
                      WHEN 'blog' THEN blog.trending_image 
                      WHEN 'lists' THEN lists.trending_image
                      WHEN 'quizzes' THEN quizzes.trending_image                       
                      ELSE ''
                    END as trending_image,                         
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.name
                      WHEN 'lists' THEN lists.name
                      WHEN 'blog' THEN blog.title 
                      ELSE ''
                    END as title,
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_title
                      WHEN 'lists' THEN lists.display_title
                      WHEN 'blog' THEN blog.display_title
                      ELSE ''
                    END as display_title,   
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.display_description
                      WHEN 'lists' THEN lists.display_description
                      WHEN 'blog' THEN blog.display_description
                      ELSE ''
                    END as display_description,                      
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.description
                      WHEN 'lists' THEN lists.description
                      WHEN 'blog' THEN blog.excerpt 
                      ELSE ''
                    END as description,        
                    CASE content.type
                      WHEN 'quizzes' THEN quizzes.tags
                      WHEN 'lists' THEN lists.tags
                      WHEN 'blog' THEN blog.tags 
                      ELSE ''
                    END as tags,      
                    CASE content.type
                      WHEN 'blog' THEN blog.author 
                      ELSE ''
                    END as author,                      
                    CASE content.type
                      WHEN 'lists' THEN lists.type
                      ELSE -1
                    END as listtype
                    /*** any other fields for listing content on homepage ****/
                FROM content 
                LEFT JOIN quizzes ON quizzes.id = content.parent_id AND content.type = 'quizzes'
                LEFT JOIN lists ON lists.id = content.parent_id AND content.type = 'lists'
                LEFT JOIN blog ON blog.id = content.parent_id AND content.type = 'blog'  
               
              HAVING active = 'yes' AND (tile_image IS NOT NULL) AND listtype <> 5 
              AND published < NOW() AND parent_id != 25
              
            ORDER BY published DESC LIMIT 3
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/models/model_content.php
                    [line] => 672
                    [function] => get_all_content
                    [class] => Model_Content
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => 3
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/libs/output.php
                    [line] => 85
                    [function] => get_trending
                    [class] => Model_Content
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/framework/classes/page.php
                    [line] => 12
                    [function] => __construct
                    [class] => output
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/vhosts/www.wciu.com/index.php
                    [line] => 176
                    [function] => __construct
                    [class] => page
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)