Posted: June 21, 2014 at 12:05 pm
|
I once had this problem solved before but now it’s happening again. I’ve got Cocoa error 3840 after logging in on my iPhone app (EE HD ver 1.6.3). Also, from the event JSON feed, I’ve got this error message: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /home/k2750393/public_html/float2nature.com/wordpress/wp-includes/shortcodes.php on line 227 How to fix this? |
Hello, Please raise the memory that is available to PHP: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP If you have already raised it, then please ask the host to raise it from their end. — |
|
|
Hi Lorenzo, Thanks for your quick respond. I have asked the host to raise it. It’s now set to 128M. You can see it from the info.php screenshot. The error messages still appear both on event JSON feed and EE iPhone app. On my EE iPhone app, I can’t access my events (today/past/future). |
Hi Meng, The site is still running out of memory. Here are some searches on the WordPress.org forums for the memory issue: http://wordpress.org/search/Fatal+error%3A+Allowed+memory+size?forums=1 Since you have already raised it, I would check with the host about bumping up the limit to a higher level: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP — |
|
|
My host has confirmed that the memory limit has been set to higher level (256M) but the errors still occur. As I’ve mentioned earlier, I have once had this same problem solved before. This is so frustrating. |
|
Hi, The initial error you posted: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) This is already reaching 256mb in memory. This to me suggests that there is a memory leak somewhere on your site. It could be the theme it could be a plugin. Are you using a large number of plugins? |
|
Hi Dean! As I’ve mentioned earlier, I had this similar problem once before and it was solved. Here’s the link of the topic: https://eventespresso.com/topic/fatal-error-message-in-json-api-test/. I have tried to deactivate some plugins, also changed the theme, but it didn’t work. |
Hi, could you run some testing with only Event Espresso running and let us know if the issue continues? Temporarily deactivate all plugins. Then reactivate Event Espresso and addons and test out the iphone app. Does it still report memory issues? Be sure to restore your other plugins after running the test above. — |
|
|
I’ve just tried that once again. The issues still persist. |
Hi Meng, Could you remove the [LISTATTENDEES] shortcode from your events and retry please? This is to help narrow down the issue. |
|
|
Hi Tony, It’s working! Thank you! |
Great! 🙂 To fix this if you open up wp-content/uploads/espresso/templates/attendee_list.php Around line 50 you’ll find: if (!$this_is_a_reg_page){ $event_desc = do_shortcode(stripslashes_deep($event->event_desc)); } Either remove or comment out that code. This has been fixed within EE previously, but it appears you copied that template over when using a version that did not have this fix applied. |
|
|
Hi Tony, Thank you for the info. I’ve tried to fix it but the error message reappeared. Fortunately, we don’t need the ‘feature’ that allows us to display our attendee list with their gravatar. It’ll be cool, though. I really hope this would be fixed in the future. |
Hi, We’ll have this fixed for the next release of Event Espresso 3. — |
|
The support post ‘Cocoa error 3840 on iPhone App’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.