( ! ) Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /var/www/html/collections/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0045 | 383704 | {main}( ) | .../index.php:0 |
2 | 0.3798 | 411664 | Omeka\Mvc\Application::init( $configuration = ['modules' => [0 => 'Zend\\Form', 1 => 'Zend\\I18n', 2 => 'Zend\\Mvc\\I18n', 3 => 'Zend\\Mvc\\Plugin\\Identity', 4 => 'Zend\\Navigation', 5 => 'Zend\\Router', 6 => 'Omeka'], 'module_listener_options' => ['module_paths' => [...], 'config_glob_paths' => [...]], 'service_manager' => ['factories' => [...]], 'connection' => ['user' => 'pfomekaS', 'password' => 'GamoraI$hot', 'dbname' => 'd8plantfactsdev', 'host' => 'webdb1.service.ohio-state.edu']] ) | .../index.php:19 |
3 | 0.7710 | 665656 | Zend\ServiceManager\ServiceManager->get( $name = 'Omeka\\ModuleManager' ) | .../Application.php:32 |
4 | 0.7710 | 665656 | Zend\ServiceManager\ServiceManager->doCreate( $resolvedName = 'Omeka\\ModuleManager', $options = ??? ) | .../ServiceManager.php:200 |
5 | 0.8262 | 675240 | Omeka\Service\ModuleManagerFactory->__invoke( $serviceLocator = class Zend\ServiceManager\ServiceManager { protected $abstractFactories = []; protected $aliases = ['EventManagerInterface' => 'Zend\\EventManager\\EventManager', 'Zend\EventManager\EventManagerInterface' => 'EventManager', 'Zend\ModuleManager\ModuleManager' => 'ModuleManager', 'Zend\ModuleManager\Listener\ServiceListener' => 'ServiceListener', 'Zend\EventManager\SharedEventManager' => 'SharedEventManager', 'SharedEventManagerInterface' => 'SharedEventManager', 'Zend\EventManager\SharedEventManagerInterface' => 'SharedEventManager']; protected $allowOverride = FALSE; protected $creationContext = ...; protected $delegators = []; protected $factories = ['EventManager' => class Zend\Mvc\Service\EventManagerFactory { ... }, 'ModuleManager' => class Zend\Mvc\Service\ModuleManagerFactory { ... }, 'ServiceListener' => class Zend\Mvc\Service\ServiceListenerFactory { ... }, 'ServiceManager' => class Closure { virtual $closure = "$this->Zend\Mvc\Service\{closure}", ... }, 'SharedEventManager' => class Closure { virtual $closure = "$this->Zend\Mvc\Service\{closure}", ... }, 'Omeka\Connection' => class Omeka\Service\ConnectionFactory { ... }, 'Omeka\ModuleManager' => class Omeka\Service\ModuleManagerFactory { ... }, 'Omeka\Status' => class Omeka\Service\StatusFactory { ... }]; protected $initializers = [0 => class Closure { virtual $closure = "$this->Zend\Mvc\Service\{closure}", ... }]; protected $lazyServices = []; private $lazyServicesDelegator = NULL; private $resolvedAliases = ['EventManagerInterface' => 'Zend\\EventManager\\EventManager', 'Zend\EventManager\EventManagerInterface' => 'EventManager', 'Zend\ModuleManager\ModuleManager' => 'ModuleManager', 'Zend\ModuleManager\Listener\ServiceListener' => 'ServiceListener', 'Zend\EventManager\SharedEventManager' => 'SharedEventManager', 'SharedEventManagerInterface' => 'SharedEventManager', 'Zend\EventManager\SharedEventManagerInterface' => 'SharedEventManager']; protected $services = ['ApplicationConfig' => [...], 'Zend\ServiceManager\ServiceManager' => ..., 'ServiceListener' => class Zend\ModuleManager\Listener\ServiceListener { ... }, 'SharedEventManager' => class Zend\EventManager\SharedEventManager { ... }, 'ModuleManager' => class Zend\ModuleManager\ModuleManager { ... }, 'Omeka\Connection' => class Doctrine\DBAL\Connection { ... }, 'Omeka\Status' => class Omeka\Mvc\Status { ... }]; protected $shared = ['EventManager' => FALSE]; protected $sharedByDefault = TRUE; protected $configured = TRUE; private $cachedAbstractFactories = [] }, $requestedName = 'Omeka\\ModuleManager', $options = NULL ) | .../ServiceManager.php:764 |
6 | 1.4768 | 1127416 | Doctrine\DBAL\Connection->prepare( $statement = 'SELECT * FROM module' ) | .../ModuleManagerFactory.php:94 |
7 | 1.5015 | 1130008 | Doctrine\DBAL\Statement->__construct( $sql = 'SELECT * FROM module', $conn = class Doctrine\DBAL\Connection { protected $_conn = NULL; protected $_config = class Doctrine\DBAL\Configuration { protected $_attributes = [...] }; protected $_eventManager = class Doctrine\Common\EventManager { private $_listeners = [...] }; protected $_expr = class Doctrine\DBAL\Query\Expression\ExpressionBuilder { private $connection = ... }; private $isConnected = FALSE; private $autoCommit = TRUE; private $transactionNestingLevel = 0; private $transactionIsolationLevel = NULL; private $nestTransactionsWithSavepoints = FALSE; private $params = ['user' => 'pfomekaS', 'password' => 'GamoraI$hot', 'dbname' => 'd8plantfactsdev', 'host' => 'webdb1.service.ohio-state.edu', 'driver' => 'pdo_mysql', 'charset' => 'utf8mb4']; private $platform = class Doctrine\DBAL\Platforms\MySqlPlatform { protected $doctrineTypeMapping = NULL; protected $doctrineTypeComments = NULL; protected $_eventManager = class Doctrine\Common\EventManager { ... }; protected $_keywords = NULL }; protected $_schemaManager = NULL; protected $_driver = class Doctrine\DBAL\Driver\PDOMySql\Driver { }; private $isRollbackOnly = FALSE; protected $defaultFetchMode = 2 } ) | .../Connection.php:860 |
8 | 1.5015 | 1130008 | Doctrine\DBAL\Connection->getWrappedConnection( ) | .../Statement.php:71 |
9 | 1.5015 | 1130008 | Doctrine\DBAL\Connection->connect( ) | .../Connection.php:1438 |
10 | 1.5015 | 1130008 | Doctrine\DBAL\Driver\PDOMySql\Driver->connect( $params = ['user' => 'pfomekaS', 'password' => 'GamoraI$hot', 'dbname' => 'd8plantfactsdev', 'host' => 'webdb1.service.ohio-state.edu', 'driver' => 'pdo_mysql', 'charset' => 'utf8mb4'], $username = 'pfomekaS', $password = 'GamoraI$hot', $driverOptions = [] ) | .../Connection.php:356 |
11 | 1.5015 | 1130008 | Composer\Autoload\ClassLoader->loadClass( $class = 'Doctrine\\DBAL\\Driver\\PDOConnection' ) | .../Driver.php:21 |
12 | 1.5052 | 1130136 | Composer\Autoload\includeFile( $file = '/var/www/html/collections/vendor/composer/../doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php' ) | .../ClassLoader.php:322 |
13 | 1.5105 | 1130896 | include( '/var/www/html/collections/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php ) | .../ClassLoader.php:444 |