[eluser]tical[/eluser]
I was having a very similar problem to Mark75, and Alfonso Rubalcava's solution worked.
However, I don't like editing CI system files if I can help it.
Is this a bug in CI2.0 or should I change the way I share variables between models, controllers, libraries etc?
In my example, I had a variable like
Code:
$this->_data_example
defined in my library, then I had a model trying to assign a value to this as
Code:
$this->example_library->_data_example = $data
This was then returning the same error as Mark75's.
This error only occurred when I updated the site from an early pre-release of CI2.0 to the official 2.0 release version.