Skip Navigation

[Resolved] Staging site issue

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here was that the user was getting a blank screen on the front.

Solution:

In this user's case they were getting the fatal error below when the wordpress debugging option was enabled.

[25-May-2021 14:55:10 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) 


In a case like this all that is needed is to increase the wordpress allocated memory and the issue should be resolved.

To increase the wordpress memory please follow the instructions in the link below.
https://www.siteground.com/kb/increase-wp-memory-limit/#:~:text=To%20increase%20the%20WordPress%20Memory,on%20all%20shared%20hosting%20accounts.

This support ticket is created 3 years, 9 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 3 voices.

Last updated by matthewL-7 3 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#2062701

Hi

For some reason whenever I clone the site as a staging site on Cloudways one of the key pages just breaks. Everything else works fine. I can't figure out why.

I thought maybe its because it uses Relevanssi for the index and maybe this gets messed up on cloning, so I tried disabling this plugin but the page still does not load.

The page is: hidden link

Any ideas how to see why this toolset page is not working?

Can provide login info etc.

#2062987

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matthew,

Thank you for getting in touch.

I've enabled the private fields for your next response so that I can have a look.

Thanks,
Shane

#2066579

Hello, Shane is out today for a national holiday and will return tomorrow to continue assisting you here. Thanks for your patience!

#2067861

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matthew,

[25-May-2021 14:55:09 UTC] PHP Notice:  is_archive was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:09 UTC] PHP Notice:  is_home was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:09 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:10 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/class-wp-term.php on line 198
[25-May-2021 14:55:10 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 4757
[25-May-2021 14:55:10 UTC] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
[25-May-2021 14:55:22 UTC] PHP Notice:  is_archive was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:22 UTC] PHP Notice:  is_home was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:22 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:29 UTC] PHP Notice:  is_archive was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:29 UTC] PHP Notice:  is_home was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313
[25-May-2021 14:55:29 UTC] PHP Notice:  is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/functions.php on line 5313

The following errors are being generated on the site. As well as the ones below.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/599483.cloudwaysapps.com/pyvzhpmpqn/public_html/wp-includes/class-wp-term.php on line 198

To resolve this i've increased the memory to 512M and the page loads, however only after first deactivating all the non-toolset plugins.

I've re-enabled all the plugins and the issue is no longer there because the fatal error was being thrown because the site ran out of memory.

Thanks,
Shane

#2069871

How odd but thank you very much! 🙂