PHP error on line 3654 while upgrade to 1.3.1
- Single Page
Posted 06 September 2012 - 08:34 AM
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
[i]Put [/i][i]before line 3654 [/i][i]: $this->config = (object)array();[/i]
[i]Line 3654 : $this->config->default_language = $ci->config->item('grocery_crud_default_language');[/i]
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.
Posted 06 September 2012 - 12:46 PM
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.
Posted 06 September 2012 - 13:51 PM
Posted 07 September 2012 - 00:15 AM