Buy Now
Sign in

Undefined property: G2\L\View::$vars Message

NickOg , November 14 2017
Answered
NickOg
Hi

Since the latest update to Chloroforms (  6.0.14) I am getting this error on all of my CF6 forms even 'stable' forms that I have not touched for a while.

 Notice: Undefined property: G2\L\View::$vars in /hsphere/local/home/......../libraries/cegcore2/admin/extensions/chronofc/helpers/parser.php(100) : eval()'d code on line 2


I seem to recall a need to reload the cgcore library???

Nick
admin
Hi Nick,

You have some code which tries to access the vars property directly, this is unadvised, please use the functions $this->get("var name") or $this->set("name", "value") to access the vars.

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
NickOg
Hi Max

That was quick - and rings a bell. I think you have told me that before.. and I think I know where I have done that. Odd that it has only just cropped up again

Thanks

Nick
admin
Hi Nick,

I hope its easy to fix, that variable had its name changed in the latest update and so you are receiving an error.

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
NickOg
Yes - all fixed Max - thanks. and that explains why it has just cropped up.

Nick