A PHP Error was encountered
Severity: Warning
Message: Creating default object from empty value
Filename: libraries/Grocery_CRUD.php
Line Number: 3654
I have found the issue when I open the admin as screenshot showing,
By the way, I have found my possible solution (may be workaround) to add line
Put before line 3654 : $this->config = (object)array();
Line 3654 : $this->config->default_language = $ci->config->item('grocery_crud_default_language');
After that, the error has been gone.
However I post here to ask your suggestion. Is the workaround correct, I'm afraid of impacted? Thanks.


PHP error on line 3654 while upgrade to 1.3.1
Started by Chanchai Manatrakul, Sep 06 2012 08:34 AM
3 replies to this topic
#1
Posted 06 September 2012 - 08:34 AM
#2
Posted 06 September 2012 - 12:46 PM
Hello Chanchai Manatrakul and welcome to the forum,
No your fix is correct and I will change it straight away. Probably this error is only for 5.2.x
Thanks for the sharing.
No your fix is correct and I will change it straight away. Probably this error is only for 5.2.x
Thanks for the sharing.
#3
Posted 06 September 2012 - 01:51 PM
Thank you so much for your great work also. I love your framework so much.
#4
Posted 07 September 2012 - 12:15 AM
Guys just to inform you I have uploaded again the grocery CRUD version 1.3.1 with this only line of code more. So Just try to download the project again from: http://www.grocerycrud.com/downloads if you have a similar problem.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users