Looks like I've found a bug. Steps to reproduce:
1. Although it seems to be failing with any module, for convenience, open the qa-plugin/basic-adsense/qa-basic-adsense.php file
2. Add the following function to it:
function load_module($directory, $urltoroot, $type, $name) {
error_log('111');
qa_opt('a'); // Make sure this option title is NOT in the DB
error_log('222');
}
3. Go to the plugins page
The page breaks with an HTTP 500 error. The log results:
[... too many "111" outputs... over a hundred in my case ...]
[Sun Jan 12 23:48:18 2014] [error] [client 127.0.0.1] 111, referer: http://localhost/admin/general
[Sun Jan 12 23:48:18 2014] [error] [client 127.0.0.1] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 91 bytes) in /my-local-path/site/qa-include/qa-app-options.php on line 219, referer: http://localhost/admin/general
So it seems there is some kind of loop going on there that is triggering the loading of modules. What would be the appropriate way of creating a ticket for this bug? I see no BUG category and no way to report it using github.