Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.3k views
in Plugins by
by
Could it be that you are running a forum with a huge member base? How many users do you have currently?
by
72,169 questions  73,912 answers and 17,488 users
by
I guess this is the problem, too many users and thus the memory is insufficient. Maybe try reducing the badges (say give out only 12 instead 20), and set higher numbers for the achievements.

PS: With so many questions, why aren't you on this list? http://question2answer.org/sites.php

1 Answer

+1 vote
by
edited by

You can edit index.php and add the following line near the top:

ini_set('memory_limit','64M');

edit: you can do the same thing in php.ini if you access to it. Make sure to restart apache if you do so.

memory_limit = 64M ; 
by
Did not work for me, even higher values (512M).

I opened an issue at https://github.com/NoahY/q2a-badges/issues/49
...