fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework

Home Page:http://fuelphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error

it-can opened this issue · comments

On php7.2 I get this error:

Fuel\Core\PhpErrorException [ Warning ]:
get_class() expects parameter 1 to be object, null given

COREPATH/classes/security.php @ line 241

Yup:

Note: Explicitly passing NULL as the object is no longer allowed as of PHP 7.2.0. The parameter is still optional and calling get_class() without a parameter from inside a class will work, but passing NULL now emits an E_WARNING notice.

This might pop up in other locations, the codebase hasn't been screened or tested for 7.2 yet.