[Notice] Undefined index: args

GET /coronavirus-risk-assessment-information/

Line 124 in /var/www/vhosts/thryberghfullerton.co.uk/httpdocs/vendor/silverstripe/framework/src/Dev/Backtrace.php

Source

115                         $match = true;
116                     }
117                 }
118             } else {
119                 if (in_array($bt[$i]['function'], $ignoredArgs)) {
120                     $match = true;
121                 }
122             }
123             if ($match) {
124                 foreach ($bt[$i]['args'] as $j => $arg) {
125                     $bt[$i]['args'][$j] = '<filtered>';
126                 }
127             }
128         }
129 
130         return $bt;

Trace

GET /coronavirus-risk-assessment-information/

[Warning] Invalid argument supplied for foreach()

GET /coronavirus-risk-assessment-information/

Line 124 in /var/www/vhosts/thryberghfullerton.co.uk/httpdocs/vendor/silverstripe/framework/src/Dev/Backtrace.php

Source

115                         $match = true;
116                     }
117                 }
118             } else {
119                 if (in_array($bt[$i]['function'], $ignoredArgs)) {
120                     $match = true;
121                 }
122             }
123             if ($match) {
124                 foreach ($bt[$i]['args'] as $j => $arg) {
125                     $bt[$i]['args'][$j] = '<filtered>';
126                 }
127             }
128         }
129 
130         return $bt;

Trace

GET /coronavirus-risk-assessment-information/

[Notice] Undefined index: args

GET /coronavirus-risk-assessment-information/

Line 124 in /var/www/vhosts/thryberghfullerton.co.uk/httpdocs/vendor/silverstripe/framework/src/Dev/Backtrace.php

Source

115                         $match = true;
116                     }
117                 }
118             } else {
119                 if (in_array($bt[$i]['function'], $ignoredArgs)) {
120                     $match = true;
121                 }
122             }
123             if ($match) {
124                 foreach ($bt[$i]['args'] as $j => $arg) {
125                     $bt[$i]['args'][$j] = '<filtered>';
126                 }
127             }
128         }
129 
130         return $bt;

Trace

GET /coronavirus-risk-assessment-information/

[Warning] Invalid argument supplied for foreach()

GET /coronavirus-risk-assessment-information/

Line 124 in /var/www/vhosts/thryberghfullerton.co.uk/httpdocs/vendor/silverstripe/framework/src/Dev/Backtrace.php

Source

115                         $match = true;
116                     }
117                 }
118             } else {
119                 if (in_array($bt[$i]['function'], $ignoredArgs)) {
120                     $match = true;
121                 }
122             }
123             if ($match) {
124                 foreach ($bt[$i]['args'] as $j => $arg) {
125                     $bt[$i]['args'][$j] = '<filtered>';
126                 }
127             }
128         }
129 
130         return $bt;

Trace

GET /coronavirus-risk-assessment-information/

[Unknown Error] Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused

GET /coronavirus-risk-assessment-information/

Line 246 in /var/www/vhosts/thryberghfullerton.co.uk/httpdocs/vendor/silverstripe/framework/src/ORM/Connect/PDOConnector.php

Source

237                 $options[PDO::ATTR_EMULATE_PREPARES] = (bool)$isEmulatePrepares;
238             }
239 
240             // Disable stringified fetches
241             $options[PDO::ATTR_STRINGIFY_FETCHES] = false;
242         }
243 
244         // May throw a PDOException if fails
245         $this->pdoConnection = new PDO(
246             $this->driver . ':' . implode(';', $dsn),
247             empty($parameters['username']) ? '' : $parameters['username'],
248             empty($parameters['password']) ? '' : $parameters['password'],
249             $options
250         );
251 
252         // Show selected DB if requested

Trace