Overview
After enabling additional language packs, you may get the following error:
Undefined index: lastmodifiedby (./__swift/cache/53ad2668017573721b216d7d5c0f2207.php:44)
It means that the specific phrase lastmodifiedby doesn't exist for a language pack you have applied or enabled. To fix this issue, you need to insert the missing phrase.
NOTE: The value or text in the error may vary depending on which phrase is missing. The lastmodifiedby text in the error above is the 'identifier' of the missing phrase.
Prerequisites
- Access to the admin control panel (admin staff account).
Solution
- Log in to the Admin CP.
- In the Home tab, select Languages from the Options.
- Select Phrases and click the Insert Phrase button.
- NOTE: Make sure the language you want to edit is selected from the Language drop-down menu before clicking the Insert Phrase button.
- NOTE: Make sure the language you want to edit is selected from the Language drop-down menu before clicking the Insert Phrase button.
- Fill out the form by entering the identifier and the text accordingly.
- Click the Insert button when done.
Confirmation
Once done inserting the missing phrase, the aforesaid error message should no longer appear. If there are multiple missing phrases, you would need to repeat the same steps to add the missing phrases.