Server Error on custom block creation

Steps to reproduce:

  • Install erp next into container in production mode with easy install
  • Create custom workspace
  • Go to edit mode and try to add a custom block

Expected behavior:

  • Custom block popup works fine

Actual behavior:
Server Error. AttributeError: type object ‘MariaDB’ has no attribute ‘get_query’

Log from “copy error”: