- system/ vervangen door CodeIgniter 3.4.5 (pocketarc/codeigniter, PHP 8.2-8.5 compatibel) - config.php, mimes.php, user_agents.php en error-views bijgewerkt naar 3.4.5 - composer.json: php-constraint "^7.4 || ^8.0" zodat composer install op 8.3 werkt - PHP 8-fatals opgelost: count()/array-functies op FALSE/null, rekenen met lege strings, delen door nul, property zetten op FALSE, curly-brace string offsets, ongedefinieerde constanten, foute curl_setopt in Phantom_model::create_img - dynamic properties gedeclareerd in libraries, optionele parameters voor verplichte opgelost - vergelijkingen waar '' == 0 in PHP 8 anders uitvalt gecast naar (int) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
901 B
PHP
33 lines
901 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
?>
|
|
|
|
<div style="border:1px solid #dd4814;padding-left:20px;margin:10px 0;">
|
|
|
|
<h4>An uncaught Exception was encountered</h4>
|
|
|
|
<p>Type: <?php echo get_class($exception); ?></p>
|
|
<p>Message: <?php echo $message; ?></p>
|
|
<p>Filename: <?php echo $exception->getFile(); ?></p>
|
|
<p>Line Number: <?php echo $exception->getLine(); ?></p>
|
|
|
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
|
|
|
<p>Backtrace:</p>
|
|
<?php foreach ($exception->getTrace() as $error): ?>
|
|
|
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
|
|
|
<p style="margin-left:10px">
|
|
File: <?php echo $error['file']; ?><br />
|
|
Line: <?php echo $error['line']; ?><br />
|
|
Function: <?php echo $error['function']; ?>
|
|
</p>
|
|
<?php endif ?>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<?php endif ?>
|
|
|
|
</div>
|