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?
[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.