Forums

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

NickOg 14 Nov, 2017
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
Max_admin 14 Nov, 2017
Answer
1 Likes
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, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
NickOg 14 Nov, 2017
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
Max_admin 15 Nov, 2017
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, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
NickOg 15 Nov, 2017
1 Likes
Yes - all fixed Max - thanks. and that explains why it has just cropped up.

Nick
This topic is locked and no more replies can be posted.