Connection failed: SQLSTATE[HY000] [1049] Unknown database 'recommended_agencies'
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /data/sites/recommendedagencies.com/includes/model/ratings.model.php on line 1311

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /data/sites/recommendedagencies.com/includes/model/ratings.model.php on line 1460
Whoops! There was an error.
Doctrine \ DBAL \ Exception \ ConnectionException
An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'recommended_agencies' Doctrine\DBAL\Exception\ConnectionException thrown with message "An exception occured in driver: SQLSTATE[HY000] [1049] Unknown database 'recommended_agencies'" Stacktrace: #31 Doctrine\DBAL\Exception\ConnectionException in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103 #30 Doctrine\DBAL\Driver\AbstractMySQLDriver:convertException in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:145 #29 Doctrine\DBAL\DBALException:driverException in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:47 #28 RAR\Twig\Extension\AgencyHelperExtension:__construct in [internal]:0 #27 Doctrine\DBAL\Driver\PDOException in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47 #26 RAR\Twig\Extension\AgencyHelperExtension:__construct in [internal]:0 #25 PDOException in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 #24 PDO:__construct in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 #23 Doctrine\DBAL\Driver\PDOConnection:__construct in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php:45 #22 Doctrine\DBAL\Driver\PDOMySql\Driver:connect in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360 #21 Doctrine\DBAL\Connection:connect in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:429 #20 Doctrine\DBAL\Connection:getDatabasePlatformVersion in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:389 #19 Doctrine\DBAL\Connection:detectDatabasePlatform in /data/sites/recommendedagencies.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328 #18 Doctrine\DBAL\Connection:getDatabasePlatform in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:763 #17 Doctrine\ORM\Mapping\ClassMetadataFactory:getTargetPlatform in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:616 #16 Doctrine\ORM\Mapping\ClassMetadataFactory:completeIdGeneratorMapping in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:174 #15 Doctrine\ORM\Mapping\ClassMetadataFactory:doLoadMetadata in /data/sites/recommendedagencies.com/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:332 #14 Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory:loadMetadata in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:78 #13 Doctrine\ORM\Mapping\ClassMetadataFactory:loadMetadata in /data/sites/recommendedagencies.com/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:216 #12 Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory:getMetadataFor in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:281 #11 Doctrine\ORM\EntityManager:getClassMetadata in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php:44 #10 Doctrine\ORM\Repository\DefaultRepositoryFactory:getRepository in /data/sites/recommendedagencies.com/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:698 #9 Doctrine\ORM\EntityManager:getRepository in /data/sites/recommendedagencies.com/src/RAR/Twig/Extension/AgencyHelperExtension.php:36 #8 RAR\Twig\Extension\AgencyHelperExtension:__construct in [internal]:0 #7 ReflectionClass:newInstanceArgs in /data/sites/recommendedagencies.com/vendor/illuminate/container/Container.php:779 #6 Illuminate\Container\Container:build in /data/sites/recommendedagencies.com/vendor/illuminate/container/Container.php:629 #5 Illuminate\Container\Container:make in /data/sites/recommendedagencies.com/src/RAR/Component/Helper/Page.php:52 #4 RAR\Component\Helper\Page:__construct in /data/sites/recommendedagencies.com/src/RAR/Provider/PageHelperServiceProvider.php:16 #3 RAR\Provider\PageHelperServiceProvider:RAR\Provider\{closure} in /data/sites/recommendedagencies.com/vendor/illuminate/container/Container.php:731 #2 Illuminate\Container\Container:build in /data/sites/recommendedagencies.com/vendor/illuminate/container/Container.php:629 #1 Illuminate\Container\Container:make in /data/sites/recommendedagencies.com/includes/config.php:226 #0 include_once in /data/sites/recommendedagencies.com/index_stage.php:4
Stack frames (32)
31
Doctrine
\
DBAL
\
Exception
\
ConnectionException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
AbstractMySQLDriver.php
103
30
Doctrine
\
DBAL
\
Driver
\
AbstractMySQLDriver
convertException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
DBALException.php
145
29
Doctrine
\
DBAL
\
DBALException
driverException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOMySql
/
Driver.php
47
28
RAR
\
Twig
\
Extension
\
AgencyHelperExtension
__construct
[internal]
0
27
Doctrine
\
DBAL
\
Driver
\
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
47
26
RAR
\
Twig
\
Extension
\
AgencyHelperExtension
__construct
[internal]
0
25
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
43
24
PDO
__construct
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
43
23
Doctrine
\
DBAL
\
Driver
\
PDOConnection
__construct
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOMySql
/
Driver.php
45
22
Doctrine
\
DBAL
\
Driver
\
PDOMySql
\
Driver
connect
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
360
21
Doctrine
\
DBAL
\
Connection
connect
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
429
20
Doctrine
\
DBAL
\
Connection
getDatabasePlatformVersion
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
389
19
Doctrine
\
DBAL
\
Connection
detectDatabasePlatform
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
328
18
Doctrine
\
DBAL
\
Connection
getDatabasePlatform
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
763
17
Doctrine
\
ORM
\
Mapping
\
ClassMetadataFactory
getTargetPlatform
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
616
16
Doctrine
\
ORM
\
Mapping
\
ClassMetadataFactory
completeIdGeneratorMapping
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
174
15
Doctrine
\
ORM
\
Mapping
\
ClassMetadataFactory
doLoadMetadata
/
vendor
/
doctrine
/
common
/
lib
/
Doctrine
/
Common
/
Persistence
/
Mapping
/
AbstractClassMetadataFactory.php
332
14
Doctrine
\
Common
\
Persistence
\
Mapping
\
AbstractClassMetadataFactory
loadMetadata
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
78
13
Doctrine
\
ORM
\
Mapping
\
ClassMetadataFactory
loadMetadata
/
vendor
/
doctrine
/
common
/
lib
/
Doctrine
/
Common
/
Persistence
/
Mapping
/
AbstractClassMetadataFactory.php
216
12
Doctrine
\
Common
\
Persistence
\
Mapping
\
AbstractClassMetadataFactory
getMetadataFor
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityManager.php
281
11
Doctrine
\
ORM
\
EntityManager
getClassMetadata
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Repository
/
DefaultRepositoryFactory.php
44
10
Doctrine
\
ORM
\
Repository
\
DefaultRepositoryFactory
getRepository
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityManager.php
698
9
Doctrine
\
ORM
\
EntityManager
getRepository
/
src
/
RAR
/
Twig
/
Extension
/
AgencyHelperExtension.php
36
8
RAR
\
Twig
\
Extension
\
AgencyHelperExtension
__construct
[internal]
0
7
ReflectionClass
newInstanceArgs
/
vendor
/
illuminate
/
container
/
Container.php
779
6
Illuminate
\
Container
\
Container
build
/
vendor
/
illuminate
/
container
/
Container.php
629
5
Illuminate
\
Container
\
Container
make
/
src
/
RAR
/
Component
/
Helper
/
Page.php
52
4
RAR
\
Component
\
Helper
\
Page
__construct
/
src
/
RAR
/
Provider
/
PageHelperServiceProvider.php
16
3
RAR
\
Provider
\
PageHelperServiceProvider
RAR
\
Provider
\
{closure}
/
vendor
/
illuminate
/
container
/
Container.php
731
2
Illuminate
\
Container
\
Container
build
/
vendor
/
illuminate
/
container
/
Container.php
629
1
Illuminate
\
Container
\
Container
make
/
includes
/
config.php
226
0
include_once
/
index_stage.php
4
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
AbstractMySQLDriver.php
            case '1344':
            case '1382':
            case '1479':
            case '1541':
            case '1554':
            case '1626':
                return new Exception\SyntaxErrorException($message, $exception);
 
            case '1044':
            case '1045':
            case '1046':
            case '1049':
            case '1095':
            case '1142':
            case '1143':
            case '1227':
            case '1370':
            case '2002':
            case '2005':
                return new Exception\ConnectionException($message, $exception);
 
            case '1048':
            case '1121':
            case '1138':
            case '1171':
            case '1252':
            case '1263':
            case '1566':
                return new Exception\NotNullConstraintViolationException($message, $exception);
        }
 
        return new Exception\DriverException($message, $exception);
    }
 
    /**
     * {@inheritdoc}
     */
    public function createDatabasePlatformForVersion($version)
    {
        if ( ! preg_match('/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+))?)?/', $version, $versionParts)) {
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
DBALException.php
 
        if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) {
            return $driver->convertException($msg, $driverEx);
        }
 
        return new self($msg, 0, $driverEx);
    }
 
    /**
     * @param \Doctrine\DBAL\Driver     $driver
     * @param \Exception $driverEx
     *
     * @return \Doctrine\DBAL\DBALException
     */
    public static function driverException(Driver $driver, \Exception $driverEx)
    {
        $msg = "An exception occured in driver: " . $driverEx->getMessage();
 
        if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) {
            return $driver->convertException($msg, $driverEx);
        }
 
        return new self($msg, 0, $driverEx);
    }
 
    /**
     * Returns a human-readable representation of an array of parameters.
     * This properly handles binary data by returning a hex representation.
     *
     * @param array $params
     *
     * @return string
     */
    private static function formatParameters(array $params)
    {
        return '[' . implode(', ', array_map(function ($param) {
            $json = @json_encode($param);
 
            if (! is_string($json) || $json == 'null' && is_string($param)) {
                // JSON encoding failed, this is not a UTF-8 string.
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOMySql
/
Driver.php
 * PDO MySql driver.
 *
 * @since 2.0
 */
class Driver extends AbstractMySQLDriver
{
    /**
     * {@inheritdoc}
     */
    public function connect(array $params, $username = null, $password = null, array $driverOptions = array())
    {
        try {
            $conn = new PDOConnection(
                $this->constructPdoDsn($params),
                $username,
                $password,
                $driverOptions
            );
        } catch (PDOException $e) {
            throw DBALException::driverException($this, $e);
        }
 
        return $conn;
    }
 
    /**
     * Constructs the MySql PDO DSN.
     *
     * @param array $params
     *
     * @return string The DSN.
     */
    protected function constructPdoDsn(array $params)
    {
        $dsn = 'mysql:';
        if (isset($params['host']) && $params['host'] != '') {
            $dsn .= 'host=' . $params['host'] . ';';
        }
        if (isset($params['port'])) {
            $dsn .= 'port=' . $params['port'] . ';';
[internal]
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
Exception message: SQLSTATE[HY000] [1049] Unknown database 'recommended_agencies'
[internal]
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 *
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Exception message: SQLSTATE[HY000] [1049] Unknown database 'recommended_agencies'
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 *
 * @since 2.0
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string      $dsn
     * @param string|null $user
     * @param string|null $password
     * @param array|null  $options
     *
     * @throws PDOException in case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, array $options = null)
    {
        try {
            parent::__construct($dsn, $user, $password, $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOMySql
/
Driver.php
 
/**
 * PDO MySql driver.
 *
 * @since 2.0
 */
class Driver extends AbstractMySQLDriver
{
    /**
     * {@inheritdoc}
     */
    public function connect(array $params, $username = null, $password = null, array $driverOptions = array())
    {
        try {
            $conn = new PDOConnection(
                $this->constructPdoDsn($params),
                $username,
                $password,
                $driverOptions
            );
        } catch (PDOException $e) {
            throw DBALException::driverException($this, $e);
        }
 
        return $conn;
    }
 
    /**
     * Constructs the MySql PDO DSN.
     *
     * @param array $params
     *
     * @return string The DSN.
     */
    protected function constructPdoDsn(array $params)
    {
        $dsn = 'mysql:';
        if (isset($params['host']) && $params['host'] != '') {
            $dsn .= 'host=' . $params['host'] . ';';
        }
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
        return $this->_expr;
    }
 
    /**
     * Establishes the connection with the database.
     *
     * @return boolean TRUE if the connection was successfully established, FALSE if
     *                 the connection is already open.
     */
    public function connect()
    {
        if ($this->_isConnected) return false;
 
        $driverOptions = isset($this->_params['driverOptions']) ?
            $this->_params['driverOptions'] : array();
        $user = isset($this->_params['user']) ? $this->_params['user'] : null;
        $password = isset($this->_params['password']) ?
            $this->_params['password'] : null;
 
        $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions);
        $this->_isConnected = true;
 
        if (null === $this->platform) {
            $this->detectDatabasePlatform();
        }
 
        if (false === $this->autoCommit) {
            $this->beginTransaction();
        }
 
        if ($this->_eventManager->hasListeners(Events::postConnect)) {
            $eventArgs = new Event\ConnectionEventArgs($this);
            $this->_eventManager->dispatchEvent(Events::postConnect, $eventArgs);
        }
 
        return true;
    }
 
    /**
     * Detects and sets the database platform.
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
     * or the underlying driver connection cannot determine the platform
     * version without having to query it (performance reasons).
     *
     * @return string|null
     */
    private function getDatabasePlatformVersion()
    {
        // Driver does not support version specific platforms.
        if ( ! $this->_driver instanceof VersionAwarePlatformDriver) {
            return null;
        }
 
        // Explicit platform version requested (supersedes auto-detection).
        if (isset($this->_params['serverVersion'])) {
            return $this->_params['serverVersion'];
        }
 
        // If not connected, we need to connect now to determine the platform version.
        if (null === $this->_conn) {
            $this->connect();
        }
 
        // Automatic platform version detection.
        if ($this->_conn instanceof ServerInfoAwareConnection &&
            ! $this->_conn->requiresQueryForServerVersion()
        ) {
            return $this->_conn->getServerVersion();
        }
 
        // Unable to detect platform version.
        return null;
    }
 
    /**
     * Returns the current auto-commit mode for this connection.
     *
     * @return boolean True if auto-commit mode is currently enabled for this connection, false otherwise.
     *
     * @see    setAutoCommit
     */
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
 
        if ($this->_eventManager->hasListeners(Events::postConnect)) {
            $eventArgs = new Event\ConnectionEventArgs($this);
            $this->_eventManager->dispatchEvent(Events::postConnect, $eventArgs);
        }
 
        return true;
    }
 
    /**
     * Detects and sets the database platform.
     *
     * Evaluates custom platform class and version in order to set the correct platform.
     *
     * @throws DBALException if an invalid platform was specified for this connection.
     */
    private function detectDatabasePlatform()
    {
        if ( ! isset($this->_params['platform'])) {
            $version = $this->getDatabasePlatformVersion();
 
            if (null !== $version) {
                $this->platform = $this->_driver->createDatabasePlatformForVersion($version);
            } else {
                $this->platform = $this->_driver->getDatabasePlatform();
            }
        } elseif ($this->_params['platform'] instanceof Platforms\AbstractPlatform) {
            $this->platform = $this->_params['platform'];
        } else {
            throw DBALException::invalidPlatformSpecified();
        }
 
        $this->platform->setEventManager($this->_eventManager);
    }
 
    /**
     * Returns the version of the related platform if applicable.
     *
     * Returns null if either the driver is not capable to create version
     * specific platform instances, no explicit server version was specified
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Connection.php
 
    /**
     * Gets the EventManager used by the Connection.
     *
     * @return \Doctrine\Common\EventManager
     */
    public function getEventManager()
    {
        return $this->_eventManager;
    }
 
    /**
     * Gets the DatabasePlatform for the connection.
     *
     * @return \Doctrine\DBAL\Platforms\AbstractPlatform
     */
    public function getDatabasePlatform()
    {
        if (null == $this->platform) {
            $this->detectDatabasePlatform();
        }
 
        return $this->platform;
    }
 
    /**
     * Gets the ExpressionBuilder for the connection.
     *
     * @return \Doctrine\DBAL\Query\Expression\ExpressionBuilder
     */
    public function getExpressionBuilder()
    {
        return $this->_expr;
    }
 
    /**
     * Establishes the connection with the database.
     *
     * @return boolean TRUE if the connection was successfully established, FALSE if
     *                 the connection is already open.
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
    protected function getDriver()
    {
        return $this->driver;
    }
 
    /**
     * {@inheritDoc}
     */
    protected function isEntity(ClassMetadataInterface $class)
    {
        return isset($class->isMappedSuperclass) && $class->isMappedSuperclass === false;
    }
 
    /**
     * @return Platforms\AbstractPlatform
     */
    private function getTargetPlatform()
    {
        if (!$this->targetPlatform) {
            $this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
        }
 
        return $this->targetPlatform;
    }
}
 
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
                ));
            }
        }
    }
 
    /**
     * Completes the ID generator mapping. If "auto" is specified we choose the generator
     * most appropriate for the targeted database platform.
     *
     * @param ClassMetadataInfo $class
     *
     * @return void
     *
     * @throws ORMException
     */
    private function completeIdGeneratorMapping(ClassMetadataInfo $class)
    {
        $idGenType = $class->generatorType;
        if ($idGenType == ClassMetadata::GENERATOR_TYPE_AUTO) {
            if ($this->getTargetPlatform()->prefersSequences()) {
                $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_SEQUENCE);
            } else if ($this->getTargetPlatform()->prefersIdentityColumns()) {
                $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_IDENTITY);
            } else {
                $class->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_TABLE);
            }
        }
 
        // Create & assign an appropriate ID generator instance
        switch ($class->generatorType) {
            case ClassMetadata::GENERATOR_TYPE_IDENTITY:
                $sequenceName = null;
                $fieldName    = $class->identifier ? $class->getSingleIdentifierFieldName() : null;
 
                // Platforms that do not have native IDENTITY support need a sequence to emulate this behaviour.
                if ($this->getTargetPlatform()->usesSequenceEmulatedIdentityColumns()) {
                    $columnName     = $class->getSingleIdentifierColumnName();
                    $quoted         = isset($class->fieldMappings[$fieldName]['quoted']) || isset($class->table['quoted']);
                    $sequencePrefix = $class->getSequencePrefix($this->getTargetPlatform());
                    $sequenceName   = $this->getTargetPlatform()->getIdentitySequenceName($sequencePrefix, $columnName);
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
 
        // If this class has a parent the id generator strategy is inherited.
        // However this is only true if the hierarchy of parents contains the root entity,
        // if it consists of mapped superclasses these don't necessarily include the id field.
        if ($parent && $rootEntityFound) {
            if ($parent->isIdGeneratorSequence()) {
                $class->setSequenceGeneratorDefinition($parent->sequenceGeneratorDefinition);
            } else if ($parent->isIdGeneratorTable()) {
                $class->tableGeneratorDefinition = $parent->tableGeneratorDefinition;
            }
 
            if ($parent->generatorType) {
                $class->setIdGeneratorType($parent->generatorType);
            }
 
            if ($parent->idGenerator) {
                $class->setIdGenerator($parent->idGenerator);
            }
        } else {
            $this->completeIdGeneratorMapping($class);
        }
 
        if (!$class->isMappedSuperclass) {
            foreach ($class->embeddedClasses as $property => $embeddableClass) {
 
                if (isset($embeddableClass['inherited'])) {
                    continue;
                }
 
                if ( ! (isset($embeddableClass['class']) && $embeddableClass['class'])) {
                    throw MappingException::missingEmbeddedClass($property);
                }
 
                if (isset($this->embeddablesActiveNesting[$embeddableClass['class']])) {
                    throw MappingException::infiniteEmbeddableNesting($class->name, $property);
                }
 
                $this->embeddablesActiveNesting[$class->name] = true;
 
                $embeddableMetadata = $this->getMetadataFor($embeddableClass['class']);
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
common
/
lib
/
Doctrine
/
Common
/
Persistence
/
Mapping
/
AbstractClassMetadataFactory.php
 
        // Move down the hierarchy of parent classes, starting from the topmost class
        $parent = null;
        $rootEntityFound = false;
        $visited = [];
        $reflService = $this->getReflectionService();
        foreach ($parentClasses as $className) {
            if (isset($this->loadedMetadata[$className])) {
                $parent = $this->loadedMetadata[$className];
                if ($this->isEntity($parent)) {
                    $rootEntityFound = true;
                    array_unshift($visited, $className);
                }
                continue;
            }
 
            $class = $this->newClassMetadataInstance($className);
            $this->initializeReflection($class, $reflService);
 
            $this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
 
            $this->loadedMetadata[$className] = $class;
 
            $parent = $class;
 
            if ($this->isEntity($class)) {
                $rootEntityFound = true;
                array_unshift($visited, $className);
            }
 
            $this->wakeupReflection($class, $reflService);
 
            $loaded[] = $className;
        }
 
        return $loaded;
    }
 
    /**
     * Provides a fallback hook for loading metadata when loading failed due to reflection/mapping exceptions
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
/
ClassMetadataFactory.php
     * @var \Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
     */
    private $driver;
 
    /**
     * @var \Doctrine\Common\EventManager
     */
    private $evm;
 
    /**
     * @var array
     */
    private $embeddablesActiveNesting = array();
 
    /**
     * {@inheritDoc}
     */
    protected function loadMetadata($name)
    {
        $loaded = parent::loadMetadata($name);
 
        array_map([$this, 'resolveDiscriminatorValue'], array_map([$this, 'getMetadataFor'], $loaded));
 
        return $loaded;
    }
 
    /**
     * @param EntityManagerInterface $em
     */
    public function setEntityManager(EntityManagerInterface $em)
    {
        $this->em = $em;
    }
 
    /**
     * {@inheritDoc}
     */
    protected function initialize()
    {
        $this->driver = $this->em->getConfiguration()->getMetadataDriverImpl();
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
common
/
lib
/
Doctrine
/
Common
/
Persistence
/
Mapping
/
AbstractClassMetadataFactory.php
            $realClassName = $this->getFqcnFromAlias($namespaceAlias, $simpleClassName);
        } else {
            $realClassName = ClassUtils::getRealClass($className);
        }
 
        if (isset($this->loadedMetadata[$realClassName])) {
            // We do not have the alias name in the map, include it
            return $this->loadedMetadata[$className] = $this->loadedMetadata[$realClassName];
        }
 
        $loadingException = null;
 
        try {
            if ($this->cacheDriver) {
                if (($cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt)) instanceof ClassMetadata) {
                    $this->loadedMetadata[$realClassName] = $cached;
 
                    $this->wakeupReflection($cached, $this->getReflectionService());
                } else {
                    foreach ($this->loadMetadata($realClassName) as $loadedClassName) {
                        $this->cacheDriver->save(
                            $loadedClassName . $this->cacheSalt,
                            $this->loadedMetadata[$loadedClassName],
                            null
                        );
                    }
                }
            } else {
                $this->loadMetadata($realClassName);
            }
        } catch (MappingException $loadingException) {
            if (! $fallbackMetadataResponse = $this->onNotFoundMetadata($realClassName)) {
                throw $loadingException;
            }
 
            $this->loadedMetadata[$realClassName] = $fallbackMetadataResponse;
        }
 
        if ($className !== $realClassName) {
            // We do not have the alias name in the map, include it
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityManager.php
 
    /**
     * Returns the ORM metadata descriptor for a class.
     *
     * The class name must be the fully-qualified class name without a leading backslash
     * (as it is returned by get_class($obj)) or an aliased class name.
     *
     * Examples:
     * MyProject\Domain\User
     * sales:PriceRequest
     *
     * Internal note: Performance-sensitive method.
     *
     * @param string $className
     *
     * @return \Doctrine\ORM\Mapping\ClassMetadata
     */
    public function getClassMetadata($className)
    {
        return $this->metadataFactory->getMetadataFor($className);
    }
 
    /**
     * {@inheritDoc}
     */
    public function createQuery($dql = '')
    {
        $query = new Query($this);
 
        if ( ! empty($dql)) {
            $query->setDql($dql);
        }
 
        return $query;
    }
 
    /**
     * {@inheritDoc}
     */
    public function createNamedQuery($name)
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Repository
/
DefaultRepositoryFactory.php
 * This factory is used to create default repository objects for entities at runtime.
 *
 * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
 * @since 2.4
 */
final class DefaultRepositoryFactory implements RepositoryFactory
{
    /**
     * The list of EntityRepository instances.
     *
     * @var \Doctrine\Common\Persistence\ObjectRepository[]
     */
    private $repositoryList = array();
 
    /**
     * {@inheritdoc}
     */
    public function getRepository(EntityManagerInterface $entityManager, $entityName)
    {
        $repositoryHash = $entityManager->getClassMetadata($entityName)->getName() . spl_object_hash($entityManager);
 
        if (isset($this->repositoryList[$repositoryHash])) {
            return $this->repositoryList[$repositoryHash];
        }
 
        return $this->repositoryList[$repositoryHash] = $this->createRepository($entityManager, $entityName);
    }
 
    /**
     * Create a new repository instance for an entity class.
     *
     * @param \Doctrine\ORM\EntityManagerInterface $entityManager The EntityManager instance.
     * @param string                               $entityName    The name of the entity.
     *
     * @return \Doctrine\Common\Persistence\ObjectRepository
     */
    private function createRepository(EntityManagerInterface $entityManager, $entityName)
    {
        /* @var $metadata \Doctrine\ORM\Mapping\ClassMetadata */
        $metadata            = $entityManager->getClassMetadata($entityName);
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
EntityManager.php
    }
 
    /**
     * {@inheritDoc}
     */
    public function lock($entity, $lockMode, $lockVersion = null)
    {
        $this->unitOfWork->lock($entity, $lockMode, $lockVersion);
    }
 
    /**
     * Gets the repository for an entity class.
     *
     * @param string $entityName The name of the entity.
     *
     * @return \Doctrine\ORM\EntityRepository The repository class.
     */
    public function getRepository($entityName)
    {
        return $this->repositoryFactory->getRepository($this, $entityName);
    }
 
    /**
     * Determines whether an entity instance is managed in this EntityManager.
     *
     * @param object $entity
     *
     * @return boolean TRUE if this EntityManager currently manages the given entity, FALSE otherwise.
     */
    public function contains($entity)
    {
        return $this->unitOfWork->isScheduledForInsert($entity)
            || $this->unitOfWork->isInIdentityMap($entity)
            && ! $this->unitOfWork->isScheduledForDelete($entity);
    }
 
    /**
     * {@inheritDoc}
     */
    public function getEventManager()
/
data
/
sites
/
recommendedagencies.com
/
src
/
RAR
/
Twig
/
Extension
/
AgencyHelperExtension.php
{
    /**
     * @var AgencyRepository
     */
    private $agencyRepository;
 
    /**
     * @var FindSimilarAgencyHelper
     */
    private $findSimilarAgencyHelper;
 
    /**
     * AgencyHelperExtension constructor.
     * @param EntityManager $entityManager
     * @param FindSimilarAgencyHelper $findSimilarAgencyHelper
     */
    public function __construct(EntityManager $entityManager, FindSimilarAgencyHelper $findSimilarAgencyHelper)
    {
        $this->findSimilarAgencyHelper = $findSimilarAgencyHelper;
        $this->agencyRepository = $entityManager->getRepository(Agency::class);
    }
 
    /**
     * Returns the name of the extension.
     *
     * @return string The extension name
     */
    public function getName()
    {
        return 'rar_agency_helper';
    }
 
    /**
     * Returns a list of functions to add to the existing list.
     *
     * @return Twig_SimpleFunction[]
     */
    public function getFunctions()
    {
        return [
[internal]
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
illuminate
/
container
/
Container.php
 
            return new $concrete;
        }
 
        $dependencies = $constructor->getParameters();
 
        // Once we have all the constructor's parameters we can create each of the
        // dependency instances and then use the reflection instances to make a
        // new instance of this class, injecting the created dependencies in.
        $parameters = $this->keyParametersByArgument(
            $dependencies, $parameters
        );
 
        $instances = $this->getDependencies(
            $dependencies, $parameters
        );
 
        array_pop($this->buildStack);
 
        return $reflector->newInstanceArgs($instances);
    }
 
    /**
     * Resolve all of the dependencies from the ReflectionParameters.
     *
     * @param  array  $parameters
     * @param  array  $primitives
     * @return array
     */
    protected function getDependencies(array $parameters, array $primitives = [])
    {
        $dependencies = [];
 
        foreach ($parameters as $parameter) {
            $dependency = $parameter->getClass();
 
            // If the class is null, it means the dependency is a string or some other
            // primitive type which we can not resolve since it is not a class and
            // we will just bomb out with an error since we have no-where to go.
            if (array_key_exists($parameter->name, $primitives)) {
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
illuminate
/
container
/
Container.php
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        $abstract = $this->getAlias($this->normalize($abstract));
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract])) {
            return $this->instances[$abstract];
        }
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete, $parameters);
        } else {
            $object = $this->make($concrete, $parameters);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract)) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
/
data
/
sites
/
recommendedagencies.com
/
src
/
RAR
/
Component
/
Helper
/
Page.php
        $this->twig = new \Twig_Environment($loader, [
            'autoescape' => false,
            'debug' => false,
        ]);
        $this->twig->addExtension(new \Twig_Extension_Debug());
 
        $this->twig->addFilter('var_dump', new \Twig_Filter_Function('var_dump'));
 
        $extensions = [
            MediaExtension::class,
            AuthorizationCheckerExtension::class,
            CheckoutExtension::class,
            AgencyHelperExtension::class,
            UserHelperExtension::class,
            UrlExtension::class,
        ];
 
        foreach ($extensions as $extensionClass) {
            /** @var $twigExtension Twig_Extension */
            $twigExtension = $serviceContainer->make($extensionClass);
            $this->twig->addExtension($twigExtension);
        }
 
        $currentEnvironment = constant('ENV_RAR');
 
        if ($currentEnvironment === 'dev' || $currentEnvironment === 'dev_docker') {
            $this->twig->enableDebug();
            $this->twig->addExtension(new DebugExtension());
        }
 
        $this->twig->initRuntime();
    }
 
    public function setParam($key, $value)
    {
        $this->headerParameters[$key] = $value;
 
        if ($key == 'title') {
            $this->seoHelper->addBrowserTitleSegment($value);
        }
/
data
/
sites
/
recommendedagencies.com
/
src
/
RAR
/
Provider
/
PageHelperServiceProvider.php
<?php
 
namespace RAR\Provider;
 
use Illuminate\Container\Container;
use RAR\Component\Helper\Page;
 
class PageHelperServiceProvider extends ServiceProvider
{
    /**
     * Register the provider
     */
    public function register()
    {
        $this->serviceContainer->singleton('page_helper', function (Container $container) {
           return new Page($container);
        });
 
        $this->serviceContainer->alias('page_helper', Page::class);
    }
}
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
illuminate
/
container
/
Container.php
 
        return [];
    }
 
    /**
     * Instantiate a concrete instance of the given type.
     *
     * @param  string  $concrete
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    public function build($concrete, array $parameters = [])
    {
        // If the concrete type is actually a Closure, we will just execute it and
        // hand back the results of the functions, which allows functions to be
        // used as resolvers for more fine-tuned resolution of these objects.
        if ($concrete instanceof Closure) {
            return $concrete($this, $parameters);
        }
 
        $reflector = new ReflectionClass($concrete);
 
        // If the type is not instantiable, the developer is attempting to resolve
        // an abstract type such as an Interface of Abstract Class and there is
        // no binding registered for the abstractions so we need to bail out.
        if (! $reflector->isInstantiable()) {
            if (! empty($this->buildStack)) {
                $previous = implode(', ', $this->buildStack);
 
                $message = "Target [$concrete] is not instantiable while building [$previous].";
            } else {
                $message = "Target [$concrete] is not instantiable.";
            }
 
            throw new BindingResolutionException($message);
        }
 
        $this->buildStack[] = $concrete;
/
data
/
sites
/
recommendedagencies.com
/
vendor
/
illuminate
/
container
/
Container.php
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        $abstract = $this->getAlias($this->normalize($abstract));
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract])) {
            return $this->instances[$abstract];
        }
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete, $parameters);
        } else {
            $object = $this->make($concrete, $parameters);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract)) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
/
data
/
sites
/
recommendedagencies.com
/
includes
/
config.php
/** @var $userHelper \RAR\Component\Helper\User */
$userHelper = $serviceContainer->make('user_helper');
 
/** @var $NavigationBar \RAR\Component\Helper\NavigationBar */
$NavigationBar = $serviceContainer->make('navigation_bar_helper');
 
/** @var $breadCrumb \RAR\Component\Helper\BreadCrumb */
$breadCrumb = $serviceContainer->make('bread_crumb_helper');
 
/** @var $membershipManager MembershipManager */
$membershipManager = $serviceContainer->make('membership_manager');
 
/** @var $logManager LogManager */
$logManager = $serviceContainer->make('log_manager');
 
/** @var $seoHelper \RAR\Component\Helper\Seo */
$seoHelper = $serviceContainer->make('seo_helper');
 
/** @var $pageHelper \RAR\Component\Helper\Page */
$pageHelper = $serviceContainer->make('page_helper');
 
/** @var $flashMessageHelper \RAR\Component\Helper\FlashMessage */
$flashMessageHelper = $serviceContainer->make('flash_message_helper');
 
/** @var $assetHelper \RAR\Component\Helper\Asset */
$assetHelper = $serviceContainer->make('asset_helper');
 
 
/*
 |--------------------------------------------------------------------------
 | Authentication Setup
 |--------------------------------------------------------------------------
 | Setup the authentication & authorization services here.
 |
 */
 
require_once(__DIR__ . '/auth/setup.php');
 
/*
 |--------------------------------------------------------------------------
/
data
/
sites
/
recommendedagencies.com
/
index_stage.php
<?php
 
define('ENV_RAR', 'stage');
include_once('includes/config.php');
include_once('includes/router.php');

Environment & details:

empty
empty
empty
empty
empty
Key Value
ENV_RAR stage
HTTP_HOST stage.recommendedagencies.com
HTTP_CONNECTION close
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE Sat, 22 Sep 2018 12:04:28 GMT
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_FOR 54.145.83.79
HTTP_X_VARNISH 1392427645
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
Apache/2.4.10 (Debian) Server at stage.recommendedagencies.com Port 80
SERVER_SOFTWARE Apache/2.4.10 (Debian)
SERVER_NAME stage.recommendedagencies.com
SERVER_ADDR 172.20.0.3
SERVER_PORT 80
REMOTE_ADDR 172.20.0.7
DOCUMENT_ROOT /data/sites/recommendedagencies.com
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /data/sites/recommendedagencies.com
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /data/sites/recommendedagencies.com/index_stage.php
REMOTE_PORT 49460
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /
SCRIPT_NAME /index_stage.php
PHP_SELF /index_stage.php
REQUEST_TIME_FLOAT 1539726907.458
REQUEST_TIME 1539726907
argv Array ( )
argc 0
Key Value
APACHE_PID_FILE /var/run/apache2/apache2.pid
HOSTNAME 5854f1d46896
APACHE_RUN_USER www-data
PHP_INI_DIR /usr/local/etc/php
PHP_FILENAME php-5.5.38.tar.xz
PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkg-config re2c
APACHE_ENVVARS /etc/apache2/envvars
APACHE_LOG_DIR /var/log/apache2
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
GPG_KEYS 0B96609E270F565C13292B24C13C70B87267B52D 0BD78B5F97500D450838F95DFE857D9A90D90EC1 F38252826ACD957EF380D39F2F7956BC5DA04B5D
PWD /data/sites/recommendedagencies.com
LANG C
APACHE_RUN_GROUP www-data
SHLVL 0
PHP_SHA256 cb527c44b48343c8557fe2446464ff1d4695155a95601083e5d1f175df95580f
APACHE_CONFDIR /etc/apache2
PHP_EXTRA_BUILD_DEPS apache2-dev
APACHE_LOCK_DIR /var/lock/apache2
APACHE_RUN_DIR /var/run/apache2
PHP_VERSION 5.5.38
PHP_EXTRA_CONFIGURE_ARGS --with-apxs2
0. Whoops\Handler\PlainTextHandler
1. Whoops\Handler\PrettyPageHandler