Jump to content


Bug with CI 3.1.3


  • Please log in to reply
7 replies to this topic

#1 Benoit VRIGNAUD

Benoit VRIGNAUD

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 January 2017 - 08:19 PM

Hello evrybody,

 

I had just update CI 3.1.2 -> 3.1.3.

 

It's look like there is a bug with Grocery CRUD.

 

As someone the same issue ?



#2 Faleddo

Faleddo

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 11 January 2017 - 05:52 AM

Me too. Undefined $object in core/Loader

 

I fixed it by changed get_object_vars($object) into ? get_object_vars($vars) in system\core\Loader.php line 1381 and everything works well. Looks like there's bug fixed to in their github repo -> https://github.com/b...core/Loader.php



#3 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,058 posts
  • LocationLondon

Posted 11 January 2017 - 08:11 PM

Hello guys,

 

Isn't that a bug of Codeigniter 3.1.3 however? What do you think? Is there anything we can do at Grocery CRUD??

Thanks
Johnny


Posted Image

#4 Benoit VRIGNAUD

Benoit VRIGNAUD

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 12 January 2017 - 08:33 AM

Hello,

 

Yes, it's a CodeIgniter's bug : https://github.com/b...niter/pull/4975



#5 JohqASCHearts

JohqASCHearts

    Newbie

  • Members
  • Pip
  • 1 posts
  • LocationSeattle

Posted 15 January 2017 - 01:08 AM

have the exact issue, thanks for making the thread @bvrignaud



#6 Yeisson G

Yeisson G

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 19 January 2017 - 08:49 PM

Same thing happened to me



#7 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,058 posts
  • LocationLondon

Posted 22 January 2017 - 08:16 AM

Just in case someone else is looking for the issue (that I am sure that someone just couldn't find a solution for his/her problem yet!) I am copying the exact error so google can help them faster :)

 

A PHP Error was encountered

 

Severity: Notice

Message: Undefined variable: object

Filename: core/Loader.php

Line Number: 1381

 

A PHP Error was encountered

 

Severity: Warning

Message: get_object_vars() expects parameter 1 to be object, null given

Filename: core/Loader.php

Line Number: 1381

 

and the fix is at the link: https://github.com/b...f45326ce3e0c919

 

 

 


 


Posted Image

#8 Spirizon

Spirizon

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 26 January 2017 - 10:58 AM

Yep, same here, just reinstalled codeigniter 3.1.2 and everything works fine.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users