The OER Map site periodically crashes, and we had determined that this was caused by the Web server running out of memory. We also found that the MySQL server was closing connections without an error message, which can be caused by dynamically generated queries which exceed a specified size.
Through research for bug #31, I've determined that a call to the WordPress function the_excerpt() within the short-code rendering, it can lead to unintentional recursion. This happens when there is no explicit "excerpt" for the the post - the excerpt is auto-generated from the main post content - if the post itself contains short-codes, then these are evaluated, and recursion occurs...
The OER Map site periodically crashes, and we had determined that this was caused by the Web server running out of memory. We also found that the MySQL server was closing connections without an error message, which can be caused by dynamically generated queries which exceed a specified size.
Through research for bug #31, I've determined that a call to the WordPress function
the_excerpt()
within the short-code rendering, it can lead to unintentional recursion. This happens when there is no explicit "excerpt" for the the post - the excerpt is auto-generated from the main post content - if the post itself contains short-codes, then these are evaluated, and recursion occurs...the_excerpt()
Simplified PHP:
the_excerpt()