raknjak / CIMembership

cimembership.io
https://cimembership.io
GNU General Public License v3.0
19 stars 12 forks source link

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

Closed raknjak closed 5 years ago

raknjak commented 5 years ago

https://forum.codeigniter.com/printthread.php?tid=72393

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: 239

Backtrace:

File: C:\xampp\htdocs\CIMembership\application\vendor\MX\Router.php Line: 239 Function: strpos

File: C:\xampp\htdocs\CIMembership\application\vendor\MX\Router.php Line: 72 Function: set_class

File: C:\xampp\htdocs\CIMembership\index.php Line: 315 Function: require_once

raknjak commented 5 years ago

fixed with latest commit e866ee3dcc8095cb3c43f9fbe6da3c64cc0fdd4b

ammsway commented 4 years ago

// if (strpos($class, $suffix) === FALSE) replay with this if ($suffix && strpos($class, $suffix) === FALSE)

image

berkaycalti commented 4 years ago

Thank you !

coderHanif commented 4 years ago

It's work! Thank you, Brother,@ammsway.