Fatal error
-
Unfortunately the plugin just creates a fatal error and so can’t be activated on my site
Fatal error: Uncaught TypeError: WBCR\Factory_Templates_112\Configurate::__construct(): Argument #1 ($plugin) must be of type Wbcr_Factory460_Plugin, WDN_Plugin given, called in /home/calendarium/public_html/wp-content/plugins/disable-admin-notices/includes/class-plugin.php on line 87 and defined in /home/calendarium/public_html/wp-content/plugins/anti-spam/libs/factory/templates/includes/class-configurate.php on line 24( ! ) TypeError: WBCR\Factory_Templates_112\Configurate::__construct(): Argument #1 ($plugin) must be of type Wbcr_Factory460_Plugin, WDN_Plugin given, called in /home/calendarium/public_html/wp-content/plugins/disable-admin-notices/includes/class-plugin.php on line 87 in /home/calendarium/public_html/wp-content/plugins/anti-spam/libs/factory/templates/includes/class-configurate.php on line 24Call Stack#TimeMemoryFunctionLocation10.0033756768{main}( )…/plugins.php:022.795238120416plugin_sandbox_scrape( $plugin = ‘disable-admin-notices/disable-admin-notices.php’ )…/plugins.php:19232.795238121016include_once( ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/disable-admin-notices.php )…/plugin.php:231442.795938127152WDN_Plugin->__construct( $plugin_path = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/disable-admin-notices.php’, $data = [‘prefix’ => ‘wbcr_dan_’, ‘plugin_name’ => ‘wbcr_dan’, ‘plugin_title’ => ‘Webcraftic disable admin notices’, ‘support_details’ => [‘url’ => ‘https://clearfy.pro/’, ‘pages_map’ => […]], ‘has_premium’ => TRUE, ‘license_settings’ => [‘provider’ => ‘freemius’, ‘slug’ => ‘disable-admin-notices-premium’, ‘plugin_id’ => ‘6456’, ‘public_key’ => ‘pk_0570ec3c1b4100b9c9a0cbfe80f9f’, ‘price’ => 29, ‘has_updates’ => TRUE, ‘updates_settings’ => […]], ‘subscribe_widget’ => TRUE, ‘subscribe_settings’ => [‘group_id’ => ‘105407140’], ‘render_adverts’ => TRUE, ‘adverts_settings’ => [‘dashboard_widget’ => FALSE, ‘right_sidebar’ => TRUE, ‘notice’ => FALSE], ‘load_factory_modules’ => [0 => […], 1 => […], 2 => […], 3 => […], 4 => […], 5 => […]], ‘plugin_version’ => ‘1.3.2’, ‘plugin_text_domain’ => ‘disable-admin-notices’] )…/disable-admin-notices.php:15352.798238224552WDN_Plugin->global_scripts( )…/class-plugin.php:3962.798238224592WBCR\Factory_Templates_112\Configurate->__construct( $plugin = class WDN_Plugin { protected $prefix = ‘wbcr_dan_’; protected $plugin_title = ‘Webcraftic disable admin notices’; protected $plugin_name = ‘wbcr_dan’; protected $plugin_version = ‘1.3.2’; protected $plugin_text_domain = ‘disable-admin-notices’; protected $support_details = [‘url’ => ‘https://clearfy.pro/’, ‘pages_map’ => […]]; protected $has_updates = FALSE; protected $updates_settings = []; protected $has_premium = TRUE; protected $license_settings = [‘provider’ => ‘freemius’, ‘slug’ => ‘disable-admin-notices-premium’, ‘plugin_id’ => ‘6456’, ‘public_key’ => ‘pk_0570ec3c1b4100b9c9a0cbfe80f9f’, ‘price’ => 29, ‘has_updates’ => TRUE, ‘updates_settings’ => […]]; protected $render_adverts = TRUE; protected $adverts_settings = [‘dashboard_widget’ => FALSE, ‘right_sidebar’ => TRUE, ‘notice’ => FALSE]; protected $load_factory_modules = [0 => […], 1 => […], 2 => […], 3 => […], 4 => […], 5 => […]]; protected $load_plugin_components = []; protected $support = class WBCR\Factory_461\Entities\Support { protected $plugin_name = NULL; protected $site_url = ‘https://clearfy.pro/’; protected $features_page_slug = ‘premium-features’; protected $pricing_page_slug = ‘disable-admin-notices’; protected $support_page_slug = ‘support’; protected $docs_page_slug = ‘docs’ }; protected $paths = class WBCR\Factory_461\Entities\Paths { public $absolute = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices’; public $main_file = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/disable-admin-notices.php’; public $relative = NULL; public $url = ‘https://calendarium.lu/wp-content/plugins/disable-admin-notices’; protected $plugin_path = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/disable-admin-notices.php’; public $basename = ‘disable-admin-notices/disable-admin-notices.php’; public $migrations = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/migrations’ }; private ${Wbcr_Factory461_Base}plugin_file = ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/disable-admin-notices.php’; private ${Wbcr_Factory461_Base}plugin_data = [‘prefix’ => ‘wbcr_dan_’, ‘plugin_name’ => ‘wbcr_dan’, ‘plugin_title’ => ‘Webcraftic disable admin notices’, ‘support_details’ => […], ‘has_premium’ => TRUE, ‘license_settings’ => […], ‘subscribe_widget’ => TRUE, ‘subscribe_settings’ => […], ‘render_adverts’ => TRUE, ‘adverts_settings’ => […], ‘load_factory_modules’ => […], ‘plugin_version’ => ‘1.3.2’, ‘plugin_text_domain’ => ‘disable-admin-notices’]; public $request = class Wbcr_Factory461_Request { }; public $premium = class WBCR\Factory_Freemius_148\Premium\Provider { protected $plugin = …; protected $settings = […]; private ${WBCR\Factory_461\Premium\Provider}is_install_package = FALSE; private $plugin_id = ‘6456’; private $public_key = ‘pk_0570ec3c1b4100b9c9a0cbfe80f9f’; private $slug = ‘disable-admin-notices-premium’; private $site_api = NULL; private $plugin_api = NULL; private $user_api = NULL; private $is_activate_license = FALSE; private $license = NULL; private $license_site = NULL; private $license_user = NULL; private $license_plugin = NULL }; public $bootstrap = class Wbcr_FactoryBootstrap462_Manager { public $plugin = …; public $scripts = […]; public $styles = […] }; public $forms = class Wbcr_FactoryForms458_Manager { }; protected $activator_class = []; private ${Wbcr_Factory461_Plugin}loaded_factory_modules = [‘factory_bootstrap_462’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/bootstrap/boot.php’, ‘factory_forms_458’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/forms/boot.php’, ‘factory_pages_461’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/pages/boot.php’, ‘factory_templates_112’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/templates/boot.php’, ‘factory_freemius_148’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/freemius/boot.php’, ‘factory_adverts_138’ => ‘/home/calendarium/public_html/wp-content/plugins/disable-admin-notices/libs/factory/adverts/boot.php’]; private ${Wbcr_Factory461_Plugin}loaded_plugin_components = []; private ${Wbcr_Factory461_Plugin}adverts = class WBCR\Factory_Adverts_138\Base { private $plugin = …; private $settings = […]; private $api = class WBCR\Factory_Adverts_138\Creative_Motion_API { … }; private $placements = […]; private $errors = […] }; public $logger = NULL; private $plugin_data = [‘prefix’ => ‘wbcr_dan_’, ‘plugin_name’ => ‘wbcr_dan’, ‘plugin_title’ => ‘Webcraftic disable admin notices’, ‘support_details’ => […], ‘has_premium’ => TRUE, ‘license_settings’ => […], ‘subscribe_widget’ => TRUE, ‘subscribe_settings’ => […], ‘render_adverts’ => TRUE, ‘adverts_settings’ => […], ‘load_factory_modules’ => […], ‘plugin_version’ => ‘1.3.2’, ‘plugin_text_domain’ => ‘disable-admin-notices’]; public $plugin_slug = ‘wbcr_dan’ } )…/class-plugin.php:87
- The topic ‘Fatal error’ is closed to new replies.