I had the same problem. Since no solution was found so far, I looked at the folder specified in the error. The error indicates that a language file is missed. The error is likely to occur only in WordPress versions that are not in English.
For me, I solved the error as follows:
There are three files in the post-snippets/tinymce/lang folder, en.js, en_en.js and en_US.js
Open en.js in a text editor. In it you will find the following line of code:
desc: 'Insert a Post Snippet'
Simply translate Insert a Post Snippet
into your language and save the file with the abbreviations of your country.
For Germany, de.js. For Spain es.js and so on. (The file named in the error…)
For me, the error has disappeared, the post-snippet button is visible again including all created snippets.
-
This reply was modified 5 years, 9 months ago by Awadea.
-
This reply was modified 5 years, 9 months ago by Awadea.