f="%2$s" target="_blank">get a new one here.', 'meta-box' ), // Translators: %3$s - URL to the My Account page. 'expired' => __( 'Your license key is expired. Please renew your license.', 'meta-box' ), ]; $status = $this->option->get_license_status(); if ( ! isset( $messages[ $status ] ) ) { return; } echo '
 ' . wp_kses_post( sprintf( $messages[ $status ], $this->settings_page, 'https://elu.to/mnp', 'https://elu.to/mna' ) ); } public function plugin_links( array $links ): array { $status = $this->option->get_license_status(); if ( 'active' === $status ) { return $links; } $text = 'no_key' === $status ? __( 'Activate License', 'meta-box' ) : __( 'Update License', 'meta-box' ); $links[] = '' . esc_html( $text ) . ''; return $links; } }
Fatal error: Uncaught Error: Class "MetaBox\Updater\Notification" not found in /htdocs/wp-content/plugins/meta-box/inc/loader.php:109 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 109