Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
WPML + Simple:Press
Avatar
alekseyn
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 7:44 am

I have a funny issue when enabling both plugins together from the CP:

I have enabled the WP_DEBUG to see what's going on:

 

1. on a clean site, when I just enable Simple:Press I get the following:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /wp-content/plugins/simple-press/sp-api/sp-api-class-user.php on line 274

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /wp-content/plugins/simple-press/sp-api/sp-api-class-user.php on line 283

2. right after that I am enabling the WPML core plugin and I get a blank page instead of a dashboard with this in addition to the messages in item 1:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /wp-admin/includes/template.php on line 292(line number is different sometimes)

 

Then I have to goto the DB and disable all plugins from there to continue...

 

Any ideas on how to solve this are greatly appreciated!

(WP 3.3.1 and Simple:Press 5.0 both latest versions)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 8:49 am

well the first one one to solve is the running out of php memory... what is your allocated php memory?

very odd that you have the display of those warnings enabled on your site - not a best practice or common...  but we can look into whether the pass by reference on call can be switched to the receiving end...  but that wont be the memory issue..

Avatar
alekseyn
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 9:00 am

max_execution_time 30

max_file_uploads 20

max_input_nesting_level 64

max_input_time 60

memory_limit 24M

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 9:02 am

24M wow that is low...  wp min is 32M with recommended of 48M these days... of course the value changes depending on wp theme and plugins being run...

and max execution time of 30 is a bit skimpy too but usually works...

so I would recommend trying to up the memory...

Avatar
alekseyn
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 9:28 am

that was it )) . memory and execution time increased and it activates OK. thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2012 - 12:28 pm

good to hear. thanks for the update.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620