TemplateContainer Object
(
    [directory:protected] => /themes/admin/
    [tinymce_js] => /themes/admin/tinymce/tinymce.min.js
    [tinymce_css] => /themes/admin/tinymce/tinymce.css
    [vars:Object:private] => Array
        (
            [title] => PDOException
            [message] => SQLSTATE[HY000] [1045] Access denied for user 'miamidem_user'@'hera-2.aycmedia.com' (using password: YES)
            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/Connector.php
            [line] => 55
            [backtrace_items] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/Connector.php
                            [line] => 55
                            [function] => PDOException
                            [source] => <span class='bold'>50</span>         $username = Arr::get($config, 'username');
<span class='bold'>51</span> 
<span class='bold'>52</span>         $password = Arr::get($config, 'password');
<span class='bold'>53</span> 
<span class='bold'>54</span>         try {
<span class='bold'>55</span> <em>            $pdo = new PDO($dsn, $username, $password, $options);
</em><span class='bold'>56</span>         } catch (Exception $e) {
<span class='bold'>57</span>             $pdo = $this-&gt;tryAgainIfCausedByLostConnection(
<span class='bold'>58</span>                 $e, $dsn, $username, $password, $options
<span class='bold'>59</span>             );
<span class='bold'>60</span>         }

                        )

                    [1] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/Connector.php
                            [line] => 55
                            [function] => __construct
                            [class] => PDO
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => mysql:host=db.aycmedia.com;dbname=miamidem_main
                                    [1] => miamidem_user
                                    [2] => qgR-d&)hB;mr
                                    [3] => Array
                                        (
                                            [8] => 0
                                            [3] => 2
                                            [11] => 0
                                            [17] => 
                                            [20] => 0
                                        )

                                )

                            [source] => <span class='bold'>50</span>         $username = Arr::get($config, 'username');
<span class='bold'>51</span> 
<span class='bold'>52</span>         $password = Arr::get($config, 'password');
<span class='bold'>53</span> 
<span class='bold'>54</span>         try {
<span class='bold'>55</span> <em>            $pdo = new PDO($dsn, $username, $password, $options);
</em><span class='bold'>56</span>         } catch (Exception $e) {
<span class='bold'>57</span>             $pdo = $this-&gt;tryAgainIfCausedByLostConnection(
<span class='bold'>58</span>                 $e, $dsn, $username, $password, $options
<span class='bold'>59</span>             );
<span class='bold'>60</span>         }

                        )

                    [2] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/MySqlConnector.php
                            [line] => 22
                            [function] => createConnection
                            [class] => Illuminate\Database\Connectors\Connector
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => mysql:host=db.aycmedia.com;dbname=miamidem_main
                                    [1] => Array
                                        (
                                            [driver] => mysql
                                            [host] => db.aycmedia.com
                                            [database] => miamidem_main
                                            [username] => miamidem_user
                                            [password] => qgR-d&)hB;mr
                                            [charset] => utf8
                                            [collation] => utf8_unicode_ci
                                            [prefix] => 
                                            [name] => default
                                        )

                                    [2] => Array
                                        (
                                            [8] => 0
                                            [3] => 2
                                            [11] => 0
                                            [17] => 
                                            [20] => 0
                                        )

                                )

                            [source] => <span class='bold'>17</span>         $options = $this-&gt;getOptions($config);
<span class='bold'>18</span> 
<span class='bold'>19</span>         // We need to grab the PDO options that should be used while making the brand
<span class='bold'>20</span>         // new connection instance. The PDO options control various aspects of the
<span class='bold'>21</span>         // connection's behavior, and some might be specified by the developers.
<span class='bold'>22</span> <em>        $connection = $this-&gt;createConnection($dsn, $config, $options);
</em><span class='bold'>23</span> 
<span class='bold'>24</span>         if (isset($config['unix_socket'])) {
<span class='bold'>25</span>             $connection-&gt;exec(&quot;use `{$config['database']}`;&quot;);
<span class='bold'>26</span>         }
<span class='bold'>27</span> 

                        )

                    [3] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/ConnectionFactory.php
                            [line] => 60
                            [function] => connect
                            [class] => Illuminate\Database\Connectors\MySqlConnector
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [driver] => mysql
                                            [host] => db.aycmedia.com
                                            [database] => miamidem_main
                                            [username] => miamidem_user
                                            [password] => qgR-d&)hB;mr
                                            [charset] => utf8
                                            [collation] => utf8_unicode_ci
                                            [prefix] => 
                                            [name] => default
                                        )

                                )

                            [source] => <span class='bold'>55</span>      * @param  array  $config
<span class='bold'>56</span>      * @return \Illuminate\Database\Connection
<span class='bold'>57</span>      */
<span class='bold'>58</span>     protected function createSingleConnection(array $config)
<span class='bold'>59</span>     {
<span class='bold'>60</span> <em>        $pdo = $this-&gt;createConnector($config)-&gt;connect($config);
</em><span class='bold'>61</span> 
<span class='bold'>62</span>         return $this-&gt;createConnection($config['driver'], $pdo, $config['database'], $config['prefix'], $config);
<span class='bold'>63</span>     }
<span class='bold'>64</span> 
<span class='bold'>65</span>     /**

                        )

                    [4] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Connectors/ConnectionFactory.php
                            [line] => 49
                            [function] => createSingleConnection
                            [class] => Illuminate\Database\Connectors\ConnectionFactory
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [driver] => mysql
                                            [host] => db.aycmedia.com
                                            [database] => miamidem_main
                                            [username] => miamidem_user
                                            [password] => qgR-d&)hB;mr
                                            [charset] => utf8
                                            [collation] => utf8_unicode_ci
                                            [prefix] => 
                                            [name] => default
                                        )

                                )

                            [source] => <span class='bold'>44</span> 
<span class='bold'>45</span>         if (isset($config['read'])) {
<span class='bold'>46</span>             return $this-&gt;createReadWriteConnection($config);
<span class='bold'>47</span>         }
<span class='bold'>48</span> 
<span class='bold'>49</span> <em>        return $this-&gt;createSingleConnection($config);
</em><span class='bold'>50</span>     }
<span class='bold'>51</span> 
<span class='bold'>52</span>     /**
<span class='bold'>53</span>      * Create a single database connection instance.
<span class='bold'>54</span>      *

                        )

                    [5] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/DatabaseManager.php
                            [line] => 175
                            [function] => make
                            [class] => Illuminate\Database\Connectors\ConnectionFactory
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [driver] => mysql
                                            [host] => db.aycmedia.com
                                            [database] => miamidem_main
                                            [username] => miamidem_user
                                            [password] => qgR-d&)hB;mr
                                            [charset] => utf8
                                            [collation] => utf8_unicode_ci
                                            [prefix] => 
                                        )

                                    [1] => default
                                )

                            [source] => <span class='bold'>170</span>         // resolver for the drivers themselves which applies to all connections.
<span class='bold'>171</span>         if (isset($this-&gt;extensions[$driver])) {
<span class='bold'>172</span>             return call_user_func($this-&gt;extensions[$driver], $config, $name);
<span class='bold'>173</span>         }
<span class='bold'>174</span> 
<span class='bold'>175</span> <em>        return $this-&gt;factory-&gt;make($config, $name);
</em><span class='bold'>176</span>     }
<span class='bold'>177</span> 
<span class='bold'>178</span>     /**
<span class='bold'>179</span>      * Prepare the database connection instance.
<span class='bold'>180</span>      *

                        )

                    [6] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/DatabaseManager.php
                            [line] => 67
                            [function] => makeConnection
                            [class] => Illuminate\Database\DatabaseManager
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => default
                                )

                            [source] => <span class='bold'>62</span> 
<span class='bold'>63</span>         // If we haven't created this connection, we'll create it based on the config
<span class='bold'>64</span>         // provided in the application. Once we've created the connections we will
<span class='bold'>65</span>         // set the &quot;fetch mode&quot; for PDO which determines the query return types.
<span class='bold'>66</span>         if (! isset($this-&gt;connections[$name])) {
<span class='bold'>67</span> <em>            $connection = $this-&gt;makeConnection($name);
</em><span class='bold'>68</span> 
<span class='bold'>69</span>             $this-&gt;setPdoForType($connection, $type);
<span class='bold'>70</span> 
<span class='bold'>71</span>             $this-&gt;connections[$name] = $this-&gt;prepare($connection);
<span class='bold'>72</span>         }

                        )

                    [7] => Array
                        (
                            [file] => /home/restaurd/public_html/vendor/illuminate/database/Capsule/Manager.php
                            [line] => 108
                            [function] => connection
                            [class] => Illuminate\Database\DatabaseManager
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => default
                                )

                            [source] => <span class='bold'>103</span>      * @param  string  $name
<span class='bold'>104</span>      * @return \Illuminate\Database\Connection
<span class='bold'>105</span>      */
<span class='bold'>106</span>     public function getConnection($name = null)
<span class='bold'>107</span>     {
<span class='bold'>108</span> <em>        return $this-&gt;manager-&gt;connection($name);
</em><span class='bold'>109</span>     }
<span class='bold'>110</span> 
<span class='bold'>111</span>     /**
<span class='bold'>112</span>      * Register a connection with the manager.
<span class='bold'>113</span>      *

                        )

                    [8] => Array
                        (
                            [file] => /home/restaurd/public_html/inc/core/Bootstrap.php
                            [line] => 24
                            [function] => getConnection
                            [class] => Illuminate\Database\Capsule\Manager
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => default
                                )

                            [source] => <span class='bold'>19</span> 
<span class='bold'>20</span>         $config = config();
<span class='bold'>21</span> 
<span class='bold'>22</span>         foreach ($config-&gt;databases as $name =&gt; $database) {
<span class='bold'>23</span>             $capsule-&gt;addConnection($database);
<span class='bold'>24</span> <em>            $connection = $capsule-&gt;getConnection($name);
</em><span class='bold'>25</span> 
<span class='bold'>26</span>             // keep track of the queries we dispatch during development
<span class='bold'>27</span>             if ($config-&gt;debug)
<span class='bold'>28</span>                 $connection-&gt;enableQueryLog();
<span class='bold'>29</span>             else

                        )

                    [9] => Array
                        (
                            [file] => /home/restaurd/public_html/inc/cms.php
                            [line] => 47
                            [function] => initEloquent
                            [class] => Bootstrap
                            [type] => ::
                            [args] => Array
                                (
                                )

                            [source] => <span class='bold'>42</span> require(SYSTEM_DIR . &quot;/vendor/autoload.php&quot;);
<span class='bold'>43</span> 
<span class='bold'>44</span> /**
<span class='bold'>45</span>  * Initialize all our global systems.
<span class='bold'>46</span>  */
<span class='bold'>47</span> <em>Bootstrap::initEloquent();
</em><span class='bold'>48</span> Bootstrap::initSessions();
<span class='bold'>49</span> 
<span class='bold'>50</span> /**
<span class='bold'>51</span>  * Perform any initialization necessary.
<span class='bold'>52</span>  */

                        )

                    [10] => Array
                        (
                            [file] => /home/restaurd/public_html/index.php
                            [line] => 9
                            [args] => Array
                                (
                                    [0] => /home/restaurd/public_html/inc/cms.php
                                )

                            [function] => require
                            [source] => <span class='bold'> 4</span> use Model\Siteinfo;
<span class='bold'> 5</span> use Model\Sitemenu;
<span class='bold'> 6</span> use Model\Sponsor;
<span class='bold'> 7</span> 
<span class='bold'> 8</span> try {
<span class='bold'> 9</span> <em>    require(&quot;inc/cms.php&quot;);
</em><span class='bold'>10</span>     $metadata = new MetaData();
<span class='bold'>11</span> 
<span class='bold'>12</span>     $template = new Template(&quot;pages/home&quot;);
<span class='bold'>13</span> 
<span class='bold'>14</span>     $template-&gt;sitemenus = Sitemenu::get();

                        )

                )

        )

)