gins( $types ) { $seo = in_array( 'seo', $types, true ) ? $this->getConflictingPlugins( 'seo' ) : []; $sitemap = in_array( 'sitemap', $types, true ) ? $this->getConflictingPlugins( 'sitemap' ) : []; $plugins = array_merge( $seo, $sitemap ); require_once ABSPATH . 'wp-admin/includes/plugin.php'; foreach ( $plugins as $pluginPath ) { if ( is_plugin_active( $pluginPath ) ) { deactivate_plugins( $pluginPath ); } } } /** * Get a list of conflicting plugin slugs. * * @since 4.5.1 * * @return array An array of conflicting plugin slugs. */ public function getConflictingPluginSlugs() { return $this->conflictingPluginSlugs; } }
Fatal error: Uncaught Error: Class "AIOSEO\Plugin\Common\Admin\ConflictingPlugins" not found in /htdocs/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php:308 Stack trace: #0 /htdocs/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(97): AIOSEO\Plugin\AIOSEO->load() #1 /htdocs/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(76): AIOSEO\Plugin\AIOSEO->init() #2 /htdocs/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php(414): AIOSEO\Plugin\AIOSEO::instance() #3 /htdocs/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php(96): aioseo() #4 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #5 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #6 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #7 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #8 /htdocs/index.php(17): require('/htdocs/wp-blog...') #9 {main} thrown in /htdocs/wp-content/plugins/all-in-one-seo-pack/app/AIOSEO.php on line 308