PHP Fatal error: Allowed memory size exhausted
-
I get this accompanied by a 500 error on the site (php 8)
PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in wp-content/plugins/better-wp-security/core/lib.php on line 541
541 is the first line below
$html = "<div style=\"background: {$bkg};border-left: 4px solid {$bdr};padding: 1px 12px; margin: 5px 0 15px;\">"; $html .= '<p style="margin: 0.5em 6px 0.5em 0;padding: 2px;vertical-align: bottom;">'; $html .= is_wp_error( $message ) ? $message->get_error_message() : $message; $html .= '</p>'; $html .= '</div>';
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Fatal error: Allowed memory size exhausted’ is closed to new replies.