Error *8053 FastCGI sent in stderr: "P

Support Meta Box AIO Error *8053 FastCGI sent in stderr: "P

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49940
    Scot MacDonaldScot MacDonald
    Participant

    I've had my site go down and was told by Kinsta support:

    The error occurs because the array_values() function in /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Helpers/FieldKeys.php is receiving null instead of an array.

    It took my site down right after I installed a plugin (Theme My Login). Not sure if that was the cause but I've had to rename the plugin in my plugins folder in order to get back into admin. I looked for pending updates to AIO but I don't see anything.

    #49941
    Scot MacDonaldScot MacDonald
    Participant

    Tried to re-install AIO and I have this take my site down:

    Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, null given in /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Helpers/FieldKeys.php:40 Stack trace: #0 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Helpers/FieldKeys.php(40): array_values(NULL) #1 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/wpmetabox/mbb-parser/src/Unparsers/Field.php(334): MBB\Helpers\FieldKeys::all() #2 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/wpmetabox/mbb-parser/src/Unparsers/Field.php(48): MBBParser\Unparsers\Field->unparse_custom_settings() #3 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/wpmetabox/mbb-parser/src/Unparsers/MetaBox.php(501): MBBParser\Unparsers\Field->unparse() #4 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/wpmetabox/mbb-parser/src/Unparsers/MetaBox.php(492): MBBParser\Unparsers\MetaBox->convert_fields_for_builder(Array) #5 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/wpmetabox/mbb-parser/src/Unparsers/MetaBox.php(56): MBBParser\Unparsers\MetaBox->unparse_fields() #6 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/JsonService.php(226): MBBParser\Unparsers\MetaBox->unparse() #7 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php(78): MBB\JsonService::get_meta_boxes(Array, 'full') #8 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Register.php(14): MBB\Register->get_database_meta_boxes() #9 /www/allmyvinyl_782/public/wp-includes/class-wp-hook.php(341): MBB\Register->register_meta_box(Array) #10 /www/allmyvinyl_782/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #11 /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/core.php(25): apply_filters('rwmb_meta_boxes', Array) #12 /www/allmyvinyl_782/public/wp-includes/class-wp-hook.php(341): RWMB_Core->register_meta_boxes('') #13 /www/allmyvinyl_782/public/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #14 /www/allmyvinyl_782/public/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #15 /www/allmyvinyl_782/public/wp-settings.php(742): do_action('init') #16 /www/allmyvinyl_782/public/wp-config.php(102): require_once('/www/allmyvinyl...') #17 /www/allmyvinyl_782/public/wp-load.php(50): require_once('/www/allmyvinyl...') #18 /www/allmyvinyl_782/public/wp-admin/admin.php(35): require_once('/www/allmyvinyl...') #19 /www/allmyvinyl_782/public/wp-admin/plugins.php(10): require_once('/www/allmyvinyl...') #20 {main} thrown in /www/allmyvinyl_782/public/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/Helpers/FieldKeys.php on line 40

    #49942
    Scot MacDonaldScot MacDonald
    Participant

    I was able to get the site up by renaming the meta-box-builder folder within AIO and updating the Field Keys file:

    public static function all(): array {
        if ( self::$all_keys !== null ) {
            return self::$all_keys;
        }
        self::build();
        if ( self::$keys_by_type === null ) {
            return [];
        }
        self::$all_keys = array_values( array_unique( array_merge( ...array_values( self::$keys_by_type ) ) ) );
        return self::$all_keys;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.