Fatal error after transfer
Permalink
I upgraded a C5 site and made minor edits to the theme. I have everything working. When I wen to test editing I get the error:
Fatal error: Call to undefined method Localization::activeLanguage() in /home3/turnkez3/public_html/lchd-2015/concrete/core/helpers/tinymce.php on line 118
I checked the file and it references:
I upgraded from 5.6.1.2 to 5.6.3.1.
From what I can tell the only block type that is having issues is the content block.
Fatal error: Call to undefined method Localization::activeLanguage() in /home3/turnkez3/public_html/lchd-2015/concrete/core/helpers/tinymce.php on line 118
I checked the file and it references:
if((Localization::activeLanguage() != 'en') && (!array_key_exists('language', $textEditorOptions))) { $textEditorLanguagesFolder = DIR_BASE_CORE . '/' . DIRNAME_JAVASCRIPT . '/tiny_mce'; if(!empty($textEditorOptions['theme'])) { $textEditorLanguagesFolder .= '/themes/' . $textEditorOptions['theme']; }
I upgraded from 5.6.1.2 to 5.6.3.1.
From what I can tell the only block type that is having issues is the content block.