Posted: February 25, 2014 at 11:13 pm
|
Event Espresso version: 3.1.36.4.P WordPress version: WP 3.8.1 Installed plugins: New installation? Yes (some plugins). Registration page: http://float2nature.com/event-registration/ Message: Hi, Team! I have just upgraded my license from personal to business license that comes along with cool additional plugins such as JSON API that allows authorized users to use mobile apps as an onsite attendee management tool. I followed the instruction on the online documentation. After several attempts, somehow I managed to login on my iphone (Event Espresso HD app) and this message popped out: “No Events. The operation couldn’t be completed. (Cocoa error 3840.)” And then I made a test on my PC to make sure whether the JSON API is working properly on my website as it’s described on https://eventespresso.com/wiki/api-addon/ and this error message appeared: “Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20 bytes) in /home/floatpro/public_html/float2nature.com/wordpress/wp-includes/shortcodes.php on line 213” Here’s the link: http://float2nature.com/espresso-api/v1/events/public.pretty_json Please, help! |
Hi Meng, Your WordPress site is having some memory issues. Could you try raising the memory that is available to PHP? This change is made through your wp-config.php file (the middle of the file is a safe location to add one of the macros): http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP — |
|
|
Hi Lorenzo! Thanks for your respond. I have already set the WP memory limit to 128 MB, it’s exactly the very limit for my server’s PHP configuration. Here’s what’s written on my system status that can be accessed via my dashboard: Server Environment |
Hi Meng, that amount of memory should definitely be fine. I wonder if one of the other plugins is using a higher amount of memory than normal. Do you see the same issue if you temporarily deactivate all plugins and then reactivate them? — |
|
|
Yes, I have tried to deactivate & reactivate other plugins also. I’ve read about the trick in sone other topics. It just didn’t seem to work. That’s why I decide to submit my own topic. |
|
Hi Meng, Setting the memory ion wp-config.php will only work if the server allows it. You could a large amount of memory in there but if the server only allows 16mb, then that’s all you will get. As such I would refer to your server logs and to your host to find out exactly what memory allocation you have and to see if there is something causing a memory leak. |
|
Hi Dean, As I have mentioned earlier, I have set the WP memory to the maximum limit allowed by my server (128 MB). Here are some screenshots as shown in the server’s control panel: |
|
Another screenshot from my server’s control panel: |
Hi Meng, You will need to host the images somehwere and post the link here, or you can email them to support@eventespresso.com with a reference to this thread within the email 🙂 |
|
|
Hi Tony! I did. I used the “img” button to send the images. Here’s the links: PHP Configuration: Server Status: WPSettings: |
Hi Meng, Although the first 2 images show the memory limit for the Server/PHP as 128MB, the error message your are receiving shows a limit of 64MB (67108864 bytes). As Dean mentioned I would contact your host regarding this issue as although you have set the Memory limit to 128M your host can (and often do) override this even though the settings within cPanel (or alternative) display the correct values you set. |
|
|
Hi Tony! I see. Thanks again for your respond. You can contact my host via this email address: info@andalan.net. Many thanks in advance. 🙂 |
Hi Meng, You will need to contact your host because you are their customer. If they have any questions about how to allow more memory it’s time to find a new host. |
|
|
Hi guys! My host has just set the WP Memory limit to 128 MB. The error message now reads: “Fatal error: Out of memory (allocated 103284736) (tried to allocate 61 bytes) in /home/floatpro/public_html/float2nature.com/wordpress/wp-includes/shortcodes.php on line 184” |
|
Hi Meng, “My host has just set the WP Memory limit to 128 MB” but did they give your server access to that amount of memory? If you host has allowed your server resource allocation to have 128mb, and it is still causing the error, then there is a problem with another plugin or the theme where the memory is “leaking” causing it to be filled up unnecessarily. We know this is not an Event Espresso issue based on the fact we use it daily with much less memory resources (32-64mb) on a variety of servers. Plus we would be inundated with customer requests, as most shared servers have very limited memory allocation. As such you will need to trouble shoot your site to find the offending plugin or theme that is causing this. Try deactivating everything barring Event Espresso and using a default theme such as Twentytwelve and wee if the issue persists. |
|
Hi guys! I moved my website to a new host about a week ago. By using Event Espresso Requirements Check, I can see that my previous problem with PHP memory limit now no longer exists. But when I tried to test the JSON API with the link http://float2nature.com/espresso-api/v1/events/public.pretty_json the screen just went white/blank. I’ve also tried to fetch my past events with the iPhone app (Event Espresso HD) and it said “No Events, 500-internal server error.” I’ve tried to activate and deactivate my plugins, change my current theme to the default theme. It didn’t help a bit. This is so frustrating! |
Hi Meng, Server errors are usually recorded in a site error_log. For some hosts, this can be found in the WordPress root (same location as the wp-config.php file). It may also be available through a hosting panel/cpanel. Could you check the site error_log to see if there is specific information available on the internal server error? — |
|
|
Hi Lorenzo, I see this at the bottom line in my site’s error_log: “[10-Mar-2014 09:00:38 Asia/Jakarta] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/redacted/wordpress/wp-includes/shortcodes.php on line 214”. This is so confusing because the event espresso requirements check says “You have successfully allocated 136.75MB of memory”.
|
Hello Meng, Could you please create a temporary WordPress admin login and a temporary SFTP or FTP login so I can take a closer look at this issue? Please share that temporary login through the secure link below: To prevent delays in troubleshooting, be sure to double check your information on the form before submitting. The submit button for the form appears after you have answered “Yes” to the last question. Thank you. — |
|
Hi there Meng, I wanted to let you know that I’ve received your temporary login. Let’s continue working privately there to resolve this issue. Cheers — |
|
The support post ‘Fatal Error Message in JSON API Test’ 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.