You are using K-Meleon 1.5 with macros to K-Meleon 1.1.x.
In K-M 1.5 plugin Layers not exist and all references to this plugin in your macros must be modified.
In error messages says kmm file with errors, disable this macros in Edit -> Preferences (F2) -> K-Meleon Plugins -> Macro Extension.
If you need more help to do work your macro post us your macro file (kmm) with errors.
K-Meleon in Spanish