Array ( [0] => Array ( [status] => error [statusCode] => 500 [statusText] => Internal Server Error [currentContent] => [message] => [trace] => Array ( [0] => Array ( [namespace] => [short_class] => [class] => [type] => [function] => [file] => /var/www/html/arosoftware-rebuild/src/Aro/DynamicDbBundle/Services/AroDBChecker.php [line] => 39 [args] => Array ( ) ) [1] => Array ( [namespace] => Aro\DynamicDbBundle\Services [short_class] => AroDBChecker [class] => Aro\DynamicDbBundle\Services\AroDBChecker [type] => -> [function] => grantDbAccessToken [file] => /var/www/html/arosoftware-rebuild/src/Aro/DynamicDbBundle/Connection/ConnectionManager.php [line] => 88 [args] => Array ( ) ) [2] => Array ( [namespace] => Aro\DynamicDbBundle\Connection [short_class] => ConnectionManager [class] => Aro\DynamicDbBundle\Connection\ConnectionManager [type] => -> [function] => switchDatabase [file] => /var/www/html/arosoftware-rebuild/src/Aro/DynamicDbBundle/EventListener/RequestListener.php [line] => 57 [args] => Array ( [0] => Array ( [0] => string [1] => clairmont ) ) ) [3] => Array ( [namespace] => Aro\DynamicDbBundle\EventListener [short_class] => RequestListener [class] => Aro\DynamicDbBundle\EventListener\RequestListener [type] => -> [function] => onKernelRequest [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\Event\GetResponseEvent ) ) ) [4] => Array ( [namespace] => [short_class] => [class] => [type] => [function] => call_user_func [file] => /var/www/html/arosoftware-rebuild/app/cache/prod/classes.php [line] => 1670 [args] => Array ( [0] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\DynamicDbBundle\EventListener\RequestListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [1] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\Event\GetResponseEvent ) ) ) [5] => Array ( [namespace] => Symfony\Component\EventDispatcher [short_class] => EventDispatcher [class] => Symfony\Component\EventDispatcher\EventDispatcher [type] => -> [function] => doDispatch [file] => /var/www/html/arosoftware-rebuild/app/cache/prod/classes.php [line] => 1603 [args] => Array ( [0] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Nelmio\CorsBundle\EventListener\CorsListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [1] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => FOS\RestBundle\EventListener\MimeTypeListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [2] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Bundle\FrameworkBundle\EventListener\SessionListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [3] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\EventListener\FragmentListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [4] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\EventListener\RouterListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [5] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\EventListener\LocaleListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [6] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\DynamicDbBundle\EventListener\RequestListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [7] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\Security\Http\Firewall ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [8] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => FOS\RestBundle\EventListener\BodyListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [9] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Nelmio\ApiDocBundle\EventListener\RequestListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [10] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\PortalBundle\SecurityLog\SecurityLogRecorder ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [11] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\SocketBundle\Event\ServerEvent ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [12] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\SocketBundle\EventListener\SocketBindListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) [13] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener ) [1] => Array ( [0] => string [1] => injectLogger ) ) ) [14] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Stof\DoctrineExtensionsBundle\EventListener\LocaleListener ) [1] => Array ( [0] => string [1] => onKernelRequest ) ) ) ) ) [1] => Array ( [0] => string [1] => kernel.request ) [2] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\Event\GetResponseEvent ) ) ) [6] => Array ( [namespace] => Symfony\Component\EventDispatcher [short_class] => EventDispatcher [class] => Symfony\Component\EventDispatcher\EventDispatcher [type] => -> [function] => dispatch [file] => /var/www/html/arosoftware-rebuild/app/cache/prod/classes.php [line] => 1767 [args] => Array ( [0] => Array ( [0] => string [1] => kernel.request ) [1] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\Event\GetResponseEvent ) ) ) [7] => Array ( [namespace] => Symfony\Component\EventDispatcher [short_class] => ContainerAwareEventDispatcher [class] => Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher [type] => -> [function] => dispatch [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2915 [args] => Array ( [0] => Array ( [0] => string [1] => kernel.request ) [1] => Array ( [0] => object [1] => Symfony\Component\HttpKernel\Event\GetResponseEvent ) ) ) [8] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => HttpKernel [class] => Symfony\Component\HttpKernel\HttpKernel [type] => -> [function] => handleRaw [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2900 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) ) ) [9] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => HttpKernel [class] => Symfony\Component\HttpKernel\HttpKernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 3029 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) [2] => Array ( [0] => boolean [1] => 1 ) ) ) [10] => Array ( [namespace] => Symfony\Component\HttpKernel\DependencyInjection [short_class] => ContainerAwareHttpKernel [class] => Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2308 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) [2] => Array ( [0] => boolean [1] => 1 ) ) ) [11] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => Kernel [class] => Symfony\Component\HttpKernel\Kernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Client.php [line] => 81 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) ) ) [12] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => Client [class] => Symfony\Component\HttpKernel\Client [type] => -> [function] => doRequest [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/BrowserKit/Client.php [line] => 334 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) ) ) [13] => Array ( [namespace] => Symfony\Component\BrowserKit [short_class] => Client [class] => Symfony\Component\BrowserKit\Client [type] => -> [function] => request [file] => /var/www/html/arosoftware-rebuild/src/Aro/ApiBundle/Controller/AggregateController.php [line] => 69 [args] => Array ( [0] => Array ( [0] => string [1] => POST ) [1] => Array ( [0] => string [1] => /api/cms/getWebsite?db=clairmont ) [2] => Array ( [0] => array [1] => Array ( [domain] => Array ( [0] => string [1] => www.clairmontbanks.com.au ) ) ) [3] => Array ( [0] => array [1] => Array ( ) ) [4] => Array ( [0] => array [1] => Array ( [REDIRECT_STATUS] => Array ( [0] => string [1] => 200 ) [HTTP_HOST] => Array ( [0] => string [1] => admin.arosoftware.com:8080 ) [HTTP_ACCEPT] => Array ( [0] => string [1] => */* ) [CONTENT_TYPE] => Array ( [0] => string [1] => application/json ) [CONTENT_LENGTH] => Array ( [0] => string [1] => 112 ) [PATH] => Array ( [0] => string [1] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ) [SERVER_SIGNATURE] => Array ( [0] => string [1] =>
Apache/2.4.7 (Ubuntu) Server at admin.arosoftware.com Port 8080
) [SERVER_SOFTWARE] => Array ( [0] => string [1] => Apache/2.4.7 (Ubuntu) ) [SERVER_NAME] => Array ( [0] => string [1] => admin.arosoftware.com ) [SERVER_ADDR] => Array ( [0] => string [1] => 172.30.1.94 ) [SERVER_PORT] => Array ( [0] => string [1] => 8080 ) [REMOTE_ADDR] => Array ( [0] => string [1] => 127.0.0.1 ) [DOCUMENT_ROOT] => Array ( [0] => string [1] => /var/www/html/arosoftware-rebuild/web ) [REQUEST_SCHEME] => Array ( [0] => string [1] => http ) [CONTEXT_PREFIX] => Array ( [0] => string [1] => ) [CONTEXT_DOCUMENT_ROOT] => Array ( [0] => string [1] => /var/www/html/arosoftware-rebuild/web ) [SERVER_ADMIN] => Array ( [0] => string [1] => webmaster@localhost ) [SCRIPT_FILENAME] => Array ( [0] => string [1] => /var/www/html/arosoftware-rebuild/web/app.php ) [REMOTE_PORT] => Array ( [0] => string [1] => 49421 ) [REDIRECT_QUERY_STRING] => Array ( [0] => string [1] => access_token=NGNjNWQ3MzEyYjFmNjJiMDI1MGRiYzZkNTUyOTQ3M2Y0NWE5ZDgxYjI3MWY0YWM0YzQxZTIyNmU1N2I2ODBkZA&db=clairmont ) [REDIRECT_URL] => Array ( [0] => string [1] => /api/aggregate ) [GATEWAY_INTERFACE] => Array ( [0] => string [1] => CGI/1.1 ) [SERVER_PROTOCOL] => Array ( [0] => string [1] => HTTP/1.1 ) [REQUEST_METHOD] => Array ( [0] => string [1] => POST ) [QUERY_STRING] => Array ( [0] => string [1] => access_token=NGNjNWQ3MzEyYjFmNjJiMDI1MGRiYzZkNTUyOTQ3M2Y0NWE5ZDgxYjI3MWY0YWM0YzQxZTIyNmU1N2I2ODBkZA&db=clairmont ) [REQUEST_URI] => Array ( [0] => string [1] => /api/aggregate?access_token=NGNjNWQ3MzEyYjFmNjJiMDI1MGRiYzZkNTUyOTQ3M2Y0NWE5ZDgxYjI3MWY0YWM0YzQxZTIyNmU1N2I2ODBkZA&db=clairmont ) [SCRIPT_NAME] => Array ( [0] => string [1] => /app.php ) [PHP_SELF] => Array ( [0] => string [1] => /app.php ) [REQUEST_TIME_FLOAT] => Array ( [0] => string [1] => 1534343786.126 ) [REQUEST_TIME] => Array ( [0] => string [1] => 1534343786 ) ) ) ) ) [14] => Array ( [namespace] => Aro\ApiBundle\Controller [short_class] => AggregateController [class] => Aro\ApiBundle\Controller\AggregateController [type] => -> [function] => postAggregateAction [args] => Array ( ) ) [15] => Array ( [namespace] => [short_class] => [class] => [type] => [function] => call_user_func_array [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2926 [args] => Array ( [0] => Array ( [0] => array [1] => Array ( [0] => Array ( [0] => object [1] => Aro\ApiBundle\Controller\AggregateController ) [1] => Array ( [0] => string [1] => postAggregateAction ) ) ) [1] => Array ( [0] => array [1] => Array ( ) ) ) ) [16] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => HttpKernel [class] => Symfony\Component\HttpKernel\HttpKernel [type] => -> [function] => handleRaw [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2900 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) ) ) [17] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => HttpKernel [class] => Symfony\Component\HttpKernel\HttpKernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 3029 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) [2] => Array ( [0] => boolean [1] => 1 ) ) ) [18] => Array ( [namespace] => Symfony\Component\HttpKernel\DependencyInjection [short_class] => ContainerAwareHttpKernel [class] => Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/app/bootstrap.php.cache [line] => 2308 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) [2] => Array ( [0] => boolean [1] => 1 ) ) ) [19] => Array ( [namespace] => Symfony\Component\HttpKernel [short_class] => Kernel [class] => Symfony\Component\HttpKernel\Kernel [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php [line] => 471 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => string [1] => 1 ) [2] => Array ( [0] => boolean [1] => 1 ) ) ) [20] => Array ( [namespace] => Symfony\Component\HttpKernel\HttpCache [short_class] => HttpCache [class] => Symfony\Component\HttpKernel\HttpCache\HttpCache [type] => -> [function] => forward [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php [line] => 60 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => boolean [1] => 1 ) [2] => Array ( [0] => null ) ) ) [21] => Array ( [namespace] => Symfony\Bundle\FrameworkBundle\HttpCache [short_class] => HttpCache [class] => Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache [type] => -> [function] => forward [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php [line] => 242 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => boolean [1] => 1 ) ) ) [22] => Array ( [namespace] => Symfony\Component\HttpKernel\HttpCache [short_class] => HttpCache [class] => Symfony\Component\HttpKernel\HttpCache\HttpCache [type] => -> [function] => pass [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php [line] => 259 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => boolean [1] => 1 ) ) ) [23] => Array ( [namespace] => Symfony\Component\HttpKernel\HttpCache [short_class] => HttpCache [class] => Symfony\Component\HttpKernel\HttpCache\HttpCache [type] => -> [function] => invalidate [file] => /var/www/html/arosoftware-rebuild/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php [line] => 188 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) [1] => Array ( [0] => boolean [1] => 1 ) ) ) [24] => Array ( [namespace] => Symfony\Component\HttpKernel\HttpCache [short_class] => HttpCache [class] => Symfony\Component\HttpKernel\HttpCache\HttpCache [type] => -> [function] => handle [file] => /var/www/html/arosoftware-rebuild/web/app.php [line] => 21 [args] => Array ( [0] => Array ( [0] => object [1] => Symfony\Component\HttpFoundation\Request ) ) ) ) ) ) Internal Server Error (500 Internal Server Error)
Exception detected!

Internal Server Error

500 Internal Server Error - Exception

Stack Trace

  1. in /var/www/html/aro-website-codebase/core/src/Aro/WebsiteBundle/Service/ApiService.php at line 274  -
    1.                 if (!empty($json_response[0]['status']) && $json_response[0]['status'] == 'error') {
    2.                     print_r($json_response);
    3.                     throw new \Exception"{$json_response[0]['statusText']});
    4.                 }
    5.         // commented out so we also gets fresh content when developing
  2. at ApiService ->executeRequest (object(ApiRequestModel), false, '')
    in /var/www/html/aro-website-codebase/core/src/Aro/WebsiteBundle/Service/ApiService.php at line 399  +
  3. at ApiService ->requestCmsApi ('getWebsite', array('domain' => 'www.clairmontbanks.com.au'), 'POST')
    in /var/www/html/aro-website-codebase/core/src/Aro/WebsiteBundle/Service/ApiService.php at line 439  +
  4. at ApiService ->getWebsite ()
    in /var/www/html/aro-website-codebase/core/src/Aro/WebsiteBundle/Controller/AroController.php at line 404  +
  5. at AroController ->getPageSettingsJson ('home')
    in /var/www/html/aro-website-codebase/core/src/Aro/WebsiteBundle/Controller/DefaultController.php at line 331  +
  6. at DefaultController ->indexAction (false)
  7. at call_user_func_array (array(object(DefaultController), 'indexAction'), array(false))
    in kernel.root_dir/bootstrap.php.cache at line 2935  +
  8. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2909  +
  9. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 3038  +
  10. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2314  +
  11. at Kernel ->handle (object(Request))
    in /var/www/html/aro-website-codebase/sites/clairmont/web/app.php at line 31  +

Logs  -

Stack Trace (Plain Text)  +