Unfortunately, you'll have to edit the code where I pointed out so that you can output the exact message there. Unfortunately, it could just be that the code is just too "old" to support maria properly. As @ProAvia pointed out, though they're supposed to be compatible, there could still be issues in compat