Welcome Guest, Not a member yet? Register   Sign In
PHP8.1 CI3 deprecated errors
#1

I'm looking to migrate from PHP7.4 to PHP 8.1 and I get errors like:
PHP Error was encountered
Severity: 8192
Message: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Filename: libraries/Javascript.php
Line Number: 658

Line Number Trace:
            $str = $this->_open_script($external_file);
        }
        elseif (strpos($this->_javascript_location, 'http://') !== FALSE)
        {
            $str = $this->_open_script($this->_javascript_location.$external_file);

I thought CI3 can support PHP 8? Has anyone ran into these same issues?



        }
Reply


Messages In This Thread
PHP8.1 CI3 deprecated errors - by akeni - 11-07-2023, 02:26 PM
RE: PHP8.1 CI3 deprecated errors - by JustJohnQ - 11-08-2023, 03:36 AM
RE: PHP8.1 CI3 deprecated errors - by pugelarouge - 11-08-2023, 06:05 AM
RE: PHP8.1 CI3 deprecated errors - by SwellFellar - 09-12-2024, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB