11
Well, you might have to see whether it works with 2.2.4 or 2.2.5. Might be a very good idea to upgrade, anyway. Or to look into how to downgrade to 2.0.16. There's a script somewhere, but I assume it's a high risk operation.
You're getting just one error, the one with the foreachq tag not being recognized, which I have a hard time attributing to anything else than to the fact that smarty doesn't find the foreachq function which is defined in compiler.foreachq.php which, you say, is now in its correct place.
All the other notices are just that: Notices and Warnings. But they shouldn't be critical. And as far as I can see, they mostly refer to some language strings not being defined correctly, that sort of stuff. I don't have that phpmyadmin for XOOPS you apparently have there, but I don't think it should interfere. The "xoops_module_header" stuff is a little odd, but I also don't think it should throw smarty off balance.
It might point to your Smarty and template handling files being outdated or corrupt, though. Perhaps, this is being solved by updating to the current versions.
Are there any other strange behaviors on your site? Is it the first time a module isn't updating correctly? Do you have some local install which you can use to test run the trouble shooting steps?
You might also want to switch on the smarty debug option in general settings, and perhaps post the output here. But that's going to be a lot of gibberish.
In any case, I hope somebody else can step in, because I'm pretty much at the end of my wits.