Hi there,
i'm using processwire 2.4.0 with LanguageSupport (id=150, version=1.0.1) and FormBuilder (version=0.2.2):
There are following possibilities to embed a form in html:
Optiona A (Embed in Text):
form-builder/contactform
primary language --> ok
secondary language --> not ok (Notice: Trying to get property of non-object in /..../wire/core/Page.php on line 1253)
Option B (echo in some-template.php)
echo $forms->embed('contactform');
primary language --> ok
secondary language --> not ok (Notice: Trying to get property of non-object in /..../wire/core/Page.php on line 1253)
Option C (echo in some-template.php)
echo $forms->load('contactform')->render();
primary language --> ok (but no styles and no theme)
secondary language --> ok (but no styles and no theme)
All three possibilities don't work as expected.
Does anybody know how to solve this problem?
The PageObject seems to be null in secondary language.. object(NullPage)#461