Fix Error: Enlighter Error: MooTools Framework not loaded yet! – WordPress Tutorial

By | July 8, 2019

If you are using Enlighter wordpress plugin to highlight source code, you may find this error:

MooTools Framework not loaded yet!

You source code in posts is not highlighted.

In this tutorial, we will introduce you how to fix this error and highlight source code with Enlighter.

Why this error occur?

The Js code in Enlighter is not loaded correctly.

I have used Autoptimize to optimize my wordpress site, however, it optimizes js files and cause js files in Enlighter are not loaded correctly.

How to fix?

Autoptimize Javascript options

Don’t optimize javascript files.

Then this error is fixed and source code can be highlighted by Enlighter.

Leave a Reply