Skip Navigation

[Resolved] Crashed Website, Only Error Shows Toolset Maps…

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 5 replies, has 3 voices.

Last updated by shawnW-3 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1793575

I am trying to:
Run Toolset Maps without issue. Our site recently crashed requiring a full restore. The only error we can track through the entire thing is this (below). The pages that we had trouble with were all pages where a map view was embedded.

Link to a page where the issue can be seen:
Please set to private before we share links.

I expected to see:
No Errors

Instead, I got:

[28-Sep-2020 23:03:50 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 10485760 bytes) in /home/site/live.site.com/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php on line 1226

This is the only error that's been showing and it's been showing for several days. It may be related to the crash, it may not be, but in any case we'd like to get it sorted. What's really strange is that we have a test site and a live site, both running the same versions and this is only occurring on the live site.

#1794347

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Have you tried increasing the PHP memory limits on the server? The error states that the server ran out of allocated memory while performing some task (which at the time was from Maps).

See https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

The amount you need to allocate is very much dependent on the size of the site, the number and type of plugins currently active etc., so any requirement (as listed at https://toolset.com/toolset-requirements/) is very much a minimum, and the actual requirements may be rather higher on real world sites.

#1794397

Yes, of course. We went all the way up to 2GB of memory with no change in results.

#1795151

Hello,

I have checked the debug information you provided above, the "MemoryLimit" setting is 256M, and your website is using lots of plugins, so it is not enough.

Please try these:
1) Follow WP document to increase PHP memory limitaion:
https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

2) Dashboard-> Toolset-> Settings, click link "Toolset Debug Information and Troubleshooting ", search and find the setting "MemoryLimit", make sure it does take effect in your website.

#1796179

My issue is resolved now. Thank you!

#1959095

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/.../wp-content/plugins/toolset-maps/includes/toolset-common-functions.php on line 1227

Need some more advice on this one.
Perhaps just some understanding of how the plugin works...
What could be causing this issue...
Ideas for how we can fix it without just endlessly increasing the memory allowance?

This error was hitting every two minutes (so probably everytime the map was being used).