Mendeley plugin for LibreOffice Error: C++ code threw St9bad_alloc: std::bad_alloc

Hi, I have recently updated my computer using sudo apt and ran into a problem.

When I enabled the Mendeley extension, this error message popped up:

( { { Message = “C++ code threw St9bad_alloc: std::bad_alloc”, Context = ( @0 } }

In the extension manager itself, it says:

Mendeley-1.18.oxt 1.18
Error: The status of this extension is unknown
Mendeley plugin

I have the following installed:

LibreOffice Version:
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial3
CPU Threads: 32; OS Version: Linux 4.4; UI Render: default;
Locale: en-US (en_US.UTF-8); Calc: group

Mendeley version 1.18

What is the ‘actual’ problem and how do I solve it?