Error "Cannot instantiate interface Monolog\LogRecord"

candide

New member
hi,
in August 2026 I created the exe for my Excel-file with xls Padlock V2026.1
Now I'm trying to test the exe. PayPal-Payment via WooCommerce and the Kit is working.
Download and unpacking the zip-file is fine. Then double clicking the exe.

But when entering the activation code
<MyEmail>-<MyOrderNr>
I get the following error:
1795443342994.webp
Whats that?
thx
 
This error comes from a conflict between the kit's logging and another WordPress plugin on your site.

The kit writes its log with the Monolog library, version 3, which it ships in its own folder. To read your WooCommerce orders, the kit loads WordPress, and with it your plugins. One of these plugins includes an older copy of Monolog, version 2, without isolating it, and PHP uses that older copy when the kit writes its first log line. The two versions are not compatible, hence the message Cannot instantiate interface Monolog\LogRecord.

It only happens when logging is turned on in the kit (it is off by default). To fix it:

  1. Open inc/config.ini in the kit folder on your server.
  2. Set enable_logging = false and save the file.
  3. Try the activation again with your EXE.
Your kit files are not damaged and nothing needs to be reinstalled.

If you need the kit's log later, the plugin that ships the older Monolog has to be identified first. Let us know and we will give you a small PHP script that names it.
 
This error comes from a conflict between the kit's logging and another WordPress plugin on your site.
hi,
as you mentioned I changed the inc/config.ini

Then I double clicked on the downloaded Exe-file in explorer:
1. dialog form opens:
<Excel-App> has been successfully activated with your key
seems that activation is done:)

2. only on first open the license agreement form opens

3. form-dialog "Welcome! Choose what you want to do:" opens:
two buttons are there:
* Original Workbook
* Choose Save File


4.1 button click on "Original Workbook"
I can see the apps logo, it disappears after ca. 5 seconds, but nothing more happens

next try
4.2 * double click on exe in explorer
.
.
.
* form-dialog "Welcome! Choose what you want to do:" opens:
* button "Choose Save File" clicked
* Open dialog is opened
* BUT only *.xlsc files can be chosen near file name

After looking some of your videos I think click 4.1 "Original Workbook" should work for my first testing.
What am I missing?

I'm wondering if it makes a difference that I used a tool called “Unviewable+ VBA” from “Ribbon Commander” before I set up the Excel file in XLS Padlock.

thx
 
Last edited:
Good news that the activation works now.

The "Choose Save File" button is expected to show only .xlsc files: it loads a save file created earlier by your application, not the original workbook. For a first test, "Original Workbook" is indeed the right choice.

If the logo disappears and Excel never shows your workbook, Excel did not manage to open it, and we see two things to test.

  • Unviewable+ VBA: this tool changes the internal structure of the VBA project so that the VBA editor can no longer display it. We have never tested XLS Padlock with a workbook processed this way, and XLS Padlock already protects your VBA code on its own ("Prevent access to VBA editor", and the VBA compiler if you use it). Please compile the original workbook, before Unviewable+ was applied, and test that EXE. If it opens, Unviewable+ is the cause and you do not need it.
  • Your XLS Padlock version: XLS Padlock 2026.3 fixes freezes and crashes when protected applications are opened with Microsoft 365. If your maintenance plan covers it, please recompile your project with 2026.3. Recompiling the same project keeps the activation keys you have already issued valid.
If neither helps, please tell us:

  • whether an EXCEL.EXE process stays in the Task Manager after the logo disappears;
  • your Excel version (File, Account, About Excel), including 32-bit or 64-bit;
  • whether a runtime.log file exists in a subfolder of %APPDATA%\XLSPadlock (it is only written when an error occurs). If so, please attach it.
 
Back
Top