0

hi there,

How to fix this ? i got below message when activating plugin from wp-admin

Plugin could not be activated because it triggered a fatal error.
Fatal error: Out of memory (allocated 15990784) (tried to allocate 77824 bytes) in …. plugins/wp-e-commerce/wpsc-admin/display-groups.page.php on line 187

I found below code at display-groups.page.php on line 187
” if($_POST > 0) {
$product_width = (int)$_POST;
} else {
$product_width = ”;
}

Also googled out "http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" but not working for me.

Regards,
gptArun

2
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by gptArun
0

Usually errors occur before that line.
Oh,if you could do a var_dump before that line to see what values are you working with , ohh dont forget to put a die() in too.

var_dump($_POST);
die();

Edited by ax8l: n/a

0

Hi ax8l,
I put var_dump($_POST); die(); before that line , but still occurs same problem .
:(

0

i googled your plugin and it looks like (in some cases wp 2.8...) it needs more then 32 mb of memory to run and even though you increased WP_MEMORY_LIMIT that doesnt mean that your host allows ini_set in php (that means that you cant increase your allowed memory limit).It might be a problem with the script too and i do think it can be optimized to use less,but that is their problem...sorry.
Check their forums..

http://www.instinct.co.nz/forums/

sorry i couldnt be more helpful.
Cheers mate!

Edited by ax8l: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.