Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes)
This is memory limit problem. You can solve your problem several way.
Answer 1 : ini_set('memory_limit', '-1'); // it mean memory unlimited
Answer 2 : If you have access to your PHP.ini file, change the line in PHP.ini try with memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
If you don’t access php.ini file please try with .htaccess file. php_value memory_limit 64M