), E_USER_WARNING ); return array(); } if ( !function_exists('get_plugin_data') ) { /** @noinspection PhpIncludeInspection */ require_once(ABSPATH . '/wp-admin/includes/plugin.php'); } return get_plugin_data($this->pluginAbsolutePath, false, false); } public function removeHooks() { remove_filter('upgrader_post_install', array($this, 'clearCachedVersion')); remove_action('delete_site_transient_update_plugins', array($this, 'clearCachedVersion')); } /** * Check if the plugin file is inside the mu-plugins directory. * * @return bool */ public function isMuPlugin() { static $cachedResult = null; if ( $cachedResult === null ) { if ( !defined('WPMU_PLUGIN_DIR') || !is_string(WPMU_PLUGIN_DIR) ) { $cachedResult = false; return $cachedResult; } //Convert both paths to the canonical form before comparison. $muPluginDir = realpath(WPMU_PLUGIN_DIR); $pluginPath = realpath($this->pluginAbsolutePath); //If realpath() fails, just normalize the syntax instead. if (($muPluginDir === false) || ($pluginPath === false)) { $muPluginDir = Puc_v4p13_Factory::normalizePath(WPMU_PLUGIN_DIR); $pluginPath = Puc_v4p13_Factory::normalizePath($this->pluginAbsolutePath); } $cachedResult = (strpos($pluginPath, $muPluginDir) === 0); } return $cachedResult; } } endif;
Fatal error: Uncaught Error: Class 'Puc_v4p13_Plugin_Package' not found in /home/sportuga/public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/yahnis-elsts/plugin-update-checker/Puc/v4p13/Plugin/UpdateChecker.php:403 Stack trace: #0 /home/sportuga/public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/yahnis-elsts/plugin-update-checker/Puc/v4p13/UpdateChecker.php(90): Puc_v4p13_Plugin_UpdateChecker->createInstalledPackage() #1 /home/sportuga/public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/yahnis-elsts/plugin-update-checker/Puc/v4p13/Plugin/UpdateChecker.php(59): Puc_v4p13_UpdateChecker->__construct('https://license...', 'dynamic-content...', 'dynamic-content...', 12, '') #2 /home/sportuga/public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/yahnis-elsts/plugin-update-checker/Puc/v4p13/Factory.php(121): Puc_v4p13_Plugin_UpdateChecker->__construct('https://license...', '/home/sportuga/...', 'dynamic-content...', 12, '', '') #3 /home/sportuga/public_html/wp-conte in /home/sportuga/public_html/wp-content/plugins/dynamic-content-for-elementor/vendor/yahnis-elsts/plugin-update-checker/Puc/v4p13/Plugin/UpdateChecker.php on line 403