CodeIgniter
CodeIgniter copied to clipboard
Open Source PHP Framework (originally from EllisLab)
**Error: Message: str_replace(): Passing null to parameter #3 ($output) of type array|string is deprecated** You need to replace at line no. 457 in system/core/Output.php `$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory),...
In a view you call, execute this code `if (!preg_match(base_url(), '')) {}` It throws an ErrorException In 3 places in the file there is `html_entity_decode(esc($var), 'html')` instead of `html_entity_decode(esc($var, 'html'))`...
### Summary This Pull Request addresses the deprecation warning for `ctype_digit()` when the argument is of type `int`. The warning message is as follows: ``` A PHP Error was encountered...
When trying to use PostgreSQL under the given conditions, the following error occurs: > A PHP Error was encountered > Severity: 8192 > > Message: ctype_digit(): Argument of type int...
In order to future-proof CI3 mt_rand() should be replaced with random_int(PHP_INT_MIN, PHP_INT_MAX) for PHP versions starting with 7.0.0. This affects the following system files: core\Common.php core\Security.php helpers\captcha_helper.php helpers\form_helper.php helpers\string_helper.php libraties\Upload.php...
I wanted to use PHP 8.3 with CI 3.1.13 I've installed PHP 8.3 and it gives the following error. ``` A PHP Error was encountered Severity: 8192 Message: Creation of...
@narfbg I think this is a bug. ### To recreate: $this->db->set_update_batch($dataArrBatch,'index_col')->update_batch('table_name'); ### Gives error: "You must specify an index to match on for batch updates." ### Hypothesis: The index parameter...
Fixes problematic use of static variables in inherited methods in PHP >= 8.1 See: - https://www.php.net/manual/en/migration81.incompatible.php - https://github.com/bcit-ci/CodeIgniter/pull/6173#issuecomment-2113501165 - https://github.com/codeigniter4/CodeIgniter4/pull/5262/files Notes: - There is a mixture of "char" and "chr"...
Hi ### ISSUE I've been getting this ongoing warning / error: "session_write_close(): Failed to write session data using user defined save handler". This has been intermittent but ongoing, ie. every...