There was a problem with some table in the mysql database (not related to fop2):
0]: SELECT * FROM module_xml WHERE id = 'xml' [nativecode=1194 ** Table 'module_xml' is marked as crashed and should be repaired]SQL - <br /> SELECT * FROM module_xml WHERE id = 'xml'
A table marked as crashed in mysql needs to be repaired within mysql itself, it throws those warnings that will prevent freepbx from reloading or whatever, to repair a table, the mysql command is, in this case:
repair table module_xml
You have to issue that command using the mysql command line interface, phpmyadmin or whatever tool you are familiar with.