Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
COmanage Registry 1.0.6 (Polished Polygon MR6)
-
None
-
COmanage Registry 1.0.6
Apache 2.4 (installed from httpd24 SCL repo)
PHP 7.0 (installed from the rh-php70 SCL repo)
PHP 5.6 (installed from the rh-php56 SCL repo)
MariaDB 5.5.52
CentOS 7
Description
I'm using the following command to initialize the COmanage Registry 1.0.6 using the PHP 7.0 runtime installed via the rh-php70 Software Collections Repository:
sudo -u apache scl enable httpd24 rh-php70 – ./Console/cake database
This outputs the following error message:
{{Welcome to CakePHP v2.7.6 Console
---------------------------------------------------------------
App : app
Path: /opt/comanage-registry/app/
---------------------------------------------------------------
PHP Fatal error: Uncaught TypeError: Argument 1 passed to ConsoleErrorHandler::handleException() must be an instance of Exception, instance of Error given in /opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php:55
Stack trace:
#0 [internal function]: ConsoleErrorHandler->handleException(Object(Error))
#1
thrown in /opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php on line 55
Fatal Error Error: Uncaught TypeError: Argument 1 passed to ConsoleErrorHandler::handleException() must be an instance of Exception, instance of Error given in /opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php:55
Stack trace:
#0 [internal function]: ConsoleErrorHandler->handleException(Object(Error))
#1 {main}
thrown in [/opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php, line 55]
2017-02-18 14:51:40 Error: Uncaught TypeError: Argument 1 passed to ConsoleErrorHandler::handleException() must be an instance of Exception, instance of Error given in /opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php:55
Stack trace:
#0 [internal function]: ConsoleErrorHandler->handleException(Object(Error))
#1
thrown in [/opt/comanage-registry/lib/Cake/Console/ConsoleErrorHandler.php, line 55]}}
Database initialization completes successfully using either the PHP 5.6 (installed via the rh-php56 SCL repo) or PHP 5.4 (in the base repo) runtimes.