[wp-trac] [WordPress Trac] #59057: Critical error after update to 6.3 due to WP_Metadata_Lazyloader

WordPress Trac noreply at wordpress.org
Thu Aug 10 19:23:20 UTC 2023


#59057: Critical error after update to 6.3 due to WP_Metadata_Lazyloader
-------------------------------+------------------------------
 Reporter:  alexpaterson       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.3
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by alexpaterson):

 Yeah, that's the error I get with pretty much everything (I think) enabled
 in wp-config.php


 {{{
 define( 'WP_DEBUG', true );
 define( 'WP_DEBUG_DISPLAY', true );
 define( 'WP_DEBUG_LOG', true );
 define( 'SCRIPT_DEBUG', true );
 }}}

 I've had a look in mu-plugins and the only file in there was this (aios-
 firewall-loader.php):

 {{{
 <?php
 // Begin AIOWPSEC Firewall
 if (file_exists('/opt/bitnami/wordpress/aios-bootstrap.php')) {
         include_once('/opt/bitnami/wordpress/aios-bootstrap.php');
 }
 // End AIOWPSEC Firewall
 }}}

 That file contained this:


 {{{
 <?php
 /**
  * @version 1.0.2
  * WARNING: Please do not delete this file.
  *
  * This will cause PHP to throw a fatal error and render your site
 unusable.
  *
  * To safely delete this file, please check both your .user.ini file and
 your php.ini file and ensure this file is not set in the auto_prepend_file
 directive.
  *
  * Please ask your web hosting provider if you need guidance with
 executing the aforementioned steps.
  */
 $GLOBALS['aiowps_firewall_rules_path'] = __DIR__.'/wp-content/uploads/aios
 /firewall-rules/';

 $GLOBALS['aiowps_firewall_data'] = array(
         'ABSPATH' => '/opt/bitnami/wordpress/',
 );

 // Begin AIOWPSEC Firewall
 if (file_exists('/bitnami/wordpress/wp-content/plugins/all-in-one-wp-
 security-and-firewall/classes/firewall/wp-security-firewall.php')) {
         include_once('/bitnami/wordpress/wp-content/plugins/all-in-one-wp-
 security-and-firewall/classes/firewall/wp-security-firewall.php');
 }
 // End AIOWPSEC Firewall
 }}}

 And I can't find the php.ini file, but .user.ini contained this:


 {{{
 # Begin AIOWPSEC Firewall
 auto_prepend_file='/opt/bitnami/wordpress/aios-bootstrap.php'
 # End AIOWPSEC Firewall
 }}}

 I don't know if any of this could have anything to do with the error, but
 thought it'd be worth while sharing in any case (the fact that aios-
 bootstrap.php speaks about a fatal error did catch my eye).

 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59057#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list