I found that the $enabledt variable is used within phpmyadmin class before it's declared.
See line 64 in manifests/init.pp, while $enabledt is not defined till line 73.
I workarounded it just by moving the $state_select = $enabledt ?... code block before line 61.