checker->request( 'status', $args ); $status = $response['status'] ?? 'invalid'; } if ( empty( $response ) ) { add_settings_error( '', 'mb-error', __( 'Something wrong with the connection to metabox.io. Please try again later.', 'meta-box' ) ); } elseif ( 'active' === $status ) { add_settings_error( '', 'mb-success', __( 'Your license is activated.', 'meta-box' ), 'updated' ); } elseif ( 'expired' === $status ) { // Translators: %s - URL to the My Account page. $message = __( 'License expired. Please renew on the My Account page on metabox.io website.', 'meta-box' ); $message = wp_kses_post( sprintf( $message, 'https://elu.to/mua' ) ); add_settings_error( '', 'mb-expired', $message ); } else { // Translators: %1$s - URL to the My Account page, %2$s - URL to the pricing page. $message = __( 'Invalid license. Please check again or get a new license here.', 'meta-box' ); $message = wp_kses_post( sprintf( $message, 'https://elu.to/mua', 'https://mup' ) ); add_settings_error( '', 'mb-invalid', $message ); } $option['status'] = $status; $admin_notices_hook = $this->option->is_network_activated() ? 'network_admin_notices' : 'admin_notices'; add_action( $admin_notices_hook, 'settings_errors' ); $this->option->update( $option ); } }
Fatal error: Uncaught Error: Class "MetaBox\Updater\Settings" not found in /htdocs/wp-content/plugins/meta-box/inc/loader.php:107 Stack trace: #0 /htdocs/wp-content/plugins/meta-box/meta-box.php(19): RWMB_Loader->init() #1 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #2 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #3 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #4 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #5 /htdocs/index.php(17): require('/htdocs/wp-blog...') #6 {main} thrown in /htdocs/wp-content/plugins/meta-box/inc/loader.php on line 107