Random PHP Errors


#1

Can anyone help me, I’ve recently moved server and transferred everything including the database etc.

But now I’m getting the following errors:

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: MX/Router.php

Line Number: 224

Backtrace:

File: /home/encoreho/public_html/encore/myencore/application/third_party/MX/Router.php
Line: 224
Function: strpos

File: /home/encoreho/public_html/encore/myencore/application/third_party/MX/Router.php
Line: 71
Function: set_class

File: /home/encoreho/public_html/encore/myencore/index.php
Line: 325
Function: require_once

#2

They are no random errors. You are getting the errors because you are using PHP 7.3, which is not fully supported.


#3

Thanks Crafter,

I’ve changed the PHP version and still getting an error.

Will look into it further.

Cheers for your help!


#4

https://www.initekno.com/error-di-router-codeigniter-versi-3-1-10-dan-php-7/