Hi, I find that removing some code I had added to my Page.php Page_Controller init function fixes the page creation error
I was trying to get the page to display the "fr" meta language in headers, using session :
class Page_Controller extends ContentController {
function init() {
parent::init();
Requirements::themedCSS("layout");
Requirements::themedCSS("typography");
Requirements::themedCSS("form");
Session::set('currentLang', 'fr');
}
}
I have two questions for core developers
1. How can I safely set up my meta language for display ?
2. why does the session currentLang value affect page creation action while not affecting page duplication ?
tough!!!