Файловый менеджер - Редактировать - /home/tarafhaber/public_html/wp-includes/ID3/Cache.tar
Назад
Memcache.php 0000644 00000012717 15010557307 0006772 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use Memcache as NativeMemcache; /** * Caches data to memcache * * Registered for URLs with the "memcache" protocol * * For example, `memcache://localhost:11211/?timeout=3600&prefix=sp_` will * connect to memcache on `localhost` on port 11211. All tables will be * prefixed with `sp_` and data will expire after 3600 seconds * * @package SimplePie * @subpackage Caching * @uses Memcache * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ class Memcache implements Base { /** * Memcache instance * * @var Memcache */ protected $cache; /** * Options * * @var array */ protected $options; /** * Cache name * * @var string */ protected $name; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $type) { $this->options = [ 'host' => '127.0.0.1', 'port' => 11211, 'extras' => [ 'timeout' => 3600, // one hour 'prefix' => 'simplepie_', ], ]; $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); $this->cache = new NativeMemcache(); $this->cache->addServer($this->options['host'], (int) $this->options['port']); } /** * Save data to the cache * * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data) { if ($data instanceof \SimplePie\SimplePie) { $data = $data->data; } return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']); } /** * Retrieve the data saved to the cache * * @return array Data for SimplePie::$data */ public function load() { $data = $this->cache->get($this->name); if ($data !== false) { return unserialize($data); } return false; } /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime() { $data = $this->cache->get($this->name); if ($data !== false) { // essentially ignore the mtime because Memcache expires on its own return time(); } return false; } /** * Set the last modified time to the current time * * @return bool Success status */ public function touch() { $data = $this->cache->get($this->name); if ($data !== false) { return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']); } return false; } /** * Remove the cache * * @return bool Success status */ public function unlink() { return $this->cache->delete($this->name, 0); } } class_alias('SimplePie\Cache\Memcache', 'SimplePie_Cache_Memcache'); Psr16.php 0000644 00000012023 15010557307 0006171 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use Psr\SimpleCache\CacheInterface; use Psr\SimpleCache\InvalidArgumentException; /** * Caches data into a PSR-16 cache implementation * * @package SimplePie * @subpackage Caching * @internal */ final class Psr16 implements DataCache { /** * PSR-16 cache implementation * * @var CacheInterface */ private $cache; /** * PSR-16 cache implementation * * @param CacheInterface $cache */ public function __construct(CacheInterface $cache) { $this->cache = $cache; } /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null) { $data = $this->cache->get($key, $default); if (!is_array($data) || $data === $default) { return $default; } return $data; } /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool { return $this->cache->set($key, $value, $ttl); } /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool { return $this->cache->delete($key); } } DataCache.php 0000644 00000011167 15010557307 0007063 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use InvalidArgumentException; /** * Subset of PSR-16 Cache client for caching data arrays * * Only get(), set() and delete() methods are used, * but not has(), getMultiple(), setMultiple() or deleteMultiple(). * * The methods names must be different, but should be compatible to the * methods of \Psr\SimpleCache\CacheInterface. * * @package SimplePie * @subpackage Caching * @internal */ interface DataCache { /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null); /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool; /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool; } MySQL.php 0000644 00000036306 15010557307 0006235 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Caches data to a MySQL database * * Registered for URLs with the "mysql" protocol * * For example, `mysql://root:password@localhost:3306/mydb?prefix=sp_` will * connect to the `mydb` database on `localhost` on port 3306, with the user * `root` and the password `password`. All tables will be prefixed with `sp_` * * @package SimplePie * @subpackage Caching * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ class MySQL extends DB { /** * PDO instance * * @var \PDO */ protected $mysql; /** * Options * * @var array */ protected $options; /** * Cache ID * * @var string */ protected $id; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $type) { $this->options = [ 'user' => null, 'pass' => null, 'host' => '127.0.0.1', 'port' => '3306', 'path' => '', 'extras' => [ 'prefix' => '', 'cache_purge_time' => 2592000 ], ]; $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); // Path is prefixed with a "/" $this->options['dbname'] = substr($this->options['path'], 1); try { $this->mysql = new \PDO("mysql:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", $this->options['user'], $this->options['pass'], [\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8']); } catch (\PDOException $e) { $this->mysql = null; return; } $this->id = $name . $type; if (!$query = $this->mysql->query('SHOW TABLES')) { $this->mysql = null; return; } $db = []; while ($row = $query->fetchColumn()) { $db[] = $row; } if (!in_array($this->options['extras']['prefix'] . 'cache_data', $db)) { $query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'cache_data` (`id` TEXT CHARACTER SET utf8 NOT NULL, `items` SMALLINT NOT NULL DEFAULT 0, `data` BLOB NOT NULL, `mtime` INT UNSIGNED NOT NULL, UNIQUE (`id`(125)))'); if ($query === false) { trigger_error("Can't create " . $this->options['extras']['prefix'] . "cache_data table, check permissions", \E_USER_WARNING); $this->mysql = null; return; } } if (!in_array($this->options['extras']['prefix'] . 'items', $db)) { $query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'items` (`feed_id` TEXT CHARACTER SET utf8 NOT NULL, `id` TEXT CHARACTER SET utf8 NOT NULL, `data` MEDIUMBLOB NOT NULL, `posted` INT UNSIGNED NOT NULL, INDEX `feed_id` (`feed_id`(125)))'); if ($query === false) { trigger_error("Can't create " . $this->options['extras']['prefix'] . "items table, check permissions", \E_USER_WARNING); $this->mysql = null; return; } } } /** * Save data to the cache * * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data) { if ($this->mysql === null) { return false; } $query = $this->mysql->prepare('DELETE i, cd FROM `' . $this->options['extras']['prefix'] . 'cache_data` cd, ' . '`' . $this->options['extras']['prefix'] . 'items` i ' . 'WHERE cd.id = i.feed_id ' . 'AND cd.mtime < (unix_timestamp() - :purge_time)'); $query->bindValue(':purge_time', $this->options['extras']['cache_purge_time']); if (!$query->execute()) { return false; } if ($data instanceof \SimplePie\SimplePie) { $data = clone $data; $prepared = self::prepare_simplepie_object_for_cache($data); $query = $this->mysql->prepare('SELECT COUNT(*) FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :feed'); $query->bindValue(':feed', $this->id); if ($query->execute()) { if ($query->fetchColumn() > 0) { $items = count($prepared[1]); if ($items) { $sql = 'UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `items` = :items, `data` = :data, `mtime` = :time WHERE `id` = :feed'; $query = $this->mysql->prepare($sql); $query->bindValue(':items', $items); } else { $sql = 'UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `data` = :data, `mtime` = :time WHERE `id` = :feed'; $query = $this->mysql->prepare($sql); } $query->bindValue(':data', $prepared[0]); $query->bindValue(':time', time()); $query->bindValue(':feed', $this->id); if (!$query->execute()) { return false; } } else { $query = $this->mysql->prepare('INSERT INTO `' . $this->options['extras']['prefix'] . 'cache_data` (`id`, `items`, `data`, `mtime`) VALUES(:feed, :count, :data, :time)'); $query->bindValue(':feed', $this->id); $query->bindValue(':count', count($prepared[1])); $query->bindValue(':data', $prepared[0]); $query->bindValue(':time', time()); if (!$query->execute()) { return false; } } $ids = array_keys($prepared[1]); if (!empty($ids)) { foreach ($ids as $id) { $database_ids[] = $this->mysql->quote($id); } $query = $this->mysql->prepare('SELECT `id` FROM `' . $this->options['extras']['prefix'] . 'items` WHERE `id` = ' . implode(' OR `id` = ', $database_ids) . ' AND `feed_id` = :feed'); $query->bindValue(':feed', $this->id); if ($query->execute()) { $existing_ids = []; while ($row = $query->fetchColumn()) { $existing_ids[] = $row; } $new_ids = array_diff($ids, $existing_ids); foreach ($new_ids as $new_id) { if (!($date = $prepared[1][$new_id]->get_date('U'))) { $date = time(); } $query = $this->mysql->prepare('INSERT INTO `' . $this->options['extras']['prefix'] . 'items` (`feed_id`, `id`, `data`, `posted`) VALUES(:feed, :id, :data, :date)'); $query->bindValue(':feed', $this->id); $query->bindValue(':id', $new_id); $query->bindValue(':data', serialize($prepared[1][$new_id]->data)); $query->bindValue(':date', $date); if (!$query->execute()) { return false; } } return true; } } else { return true; } } } else { $query = $this->mysql->prepare('SELECT `id` FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :feed'); $query->bindValue(':feed', $this->id); if ($query->execute()) { if ($query->rowCount() > 0) { $query = $this->mysql->prepare('UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `items` = 0, `data` = :data, `mtime` = :time WHERE `id` = :feed'); $query->bindValue(':data', serialize($data)); $query->bindValue(':time', time()); $query->bindValue(':feed', $this->id); if ($query->execute()) { return true; } } else { $query = $this->mysql->prepare('INSERT INTO `' . $this->options['extras']['prefix'] . 'cache_data` (`id`, `items`, `data`, `mtime`) VALUES(:id, 0, :data, :time)'); $query->bindValue(':id', $this->id); $query->bindValue(':data', serialize($data)); $query->bindValue(':time', time()); if ($query->execute()) { return true; } } } } return false; } /** * Retrieve the data saved to the cache * * @return array Data for SimplePie::$data */ public function load() { if ($this->mysql === null) { return false; } $query = $this->mysql->prepare('SELECT `items`, `data` FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :id'); $query->bindValue(':id', $this->id); if ($query->execute() && ($row = $query->fetch())) { $data = unserialize($row[1]); if (isset($this->options['items'][0])) { $items = (int) $this->options['items'][0]; } else { $items = (int) $row[0]; } if ($items !== 0) { if (isset($data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0])) { $feed = &$data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0]; } elseif (isset($data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0])) { $feed = &$data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0]; } elseif (isset($data['child'][\SimplePie\SimplePie::NAMESPACE_RDF]['RDF'][0])) { $feed = &$data['child'][\SimplePie\SimplePie::NAMESPACE_RDF]['RDF'][0]; } elseif (isset($data['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['rss'][0])) { $feed = &$data['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['rss'][0]; } else { $feed = null; } if ($feed !== null) { $sql = 'SELECT `data` FROM `' . $this->options['extras']['prefix'] . 'items` WHERE `feed_id` = :feed ORDER BY `posted` DESC'; if ($items > 0) { $sql .= ' LIMIT ' . $items; } $query = $this->mysql->prepare($sql); $query->bindValue(':feed', $this->id); if ($query->execute()) { while ($row = $query->fetchColumn()) { $feed['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['entry'][] = unserialize($row); } } else { return false; } } } return $data; } return false; } /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime() { if ($this->mysql === null) { return false; } $query = $this->mysql->prepare('SELECT `mtime` FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :id'); $query->bindValue(':id', $this->id); if ($query->execute() && ($time = $query->fetchColumn())) { return $time; } return false; } /** * Set the last modified time to the current time * * @return bool Success status */ public function touch() { if ($this->mysql === null) { return false; } $query = $this->mysql->prepare('UPDATE `' . $this->options['extras']['prefix'] . 'cache_data` SET `mtime` = :time WHERE `id` = :id'); $query->bindValue(':time', time()); $query->bindValue(':id', $this->id); return $query->execute() && $query->rowCount() > 0; } /** * Remove the cache * * @return bool Success status */ public function unlink() { if ($this->mysql === null) { return false; } $query = $this->mysql->prepare('DELETE FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :id'); $query->bindValue(':id', $this->id); $query2 = $this->mysql->prepare('DELETE FROM `' . $this->options['extras']['prefix'] . 'items` WHERE `feed_id` = :id'); $query2->bindValue(':id', $this->id); return $query->execute() && $query2->execute(); } } class_alias('SimplePie\Cache\MySQL', 'SimplePie_Cache_MySQL'); CallableNameFilter.php 0000644 00000006452 15010557307 0010735 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Creating a cache filename with callables * * @package SimplePie * @subpackage Caching */ final class CallableNameFilter implements NameFilter { /** * @var callable */ private $callable; public function __construct(callable $callable) { $this->callable = $callable; } /** * Method to create cache filename with. * * The returning name MUST follow the rules for keys in PSR-16. * * @link https://www.php-fig.org/psr/psr-16/ * * The returning name MUST be a string of at least one character * that uniquely identifies a cached item, MUST only contain the * characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding * and MUST not longer then 64 characters. The following characters * are reserved for future extensions and MUST NOT be used: {}()/\@: * * A provided implementing library MAY support additional characters * and encodings or longer lengths, but MUST support at least that * minimum. * * @param string $name The name for the cache will be most likly an url with query string * * @return string the new cache name */ public function filter(string $name): string { return call_user_func($this->callable, $name); } } Memcached.php 0000644 00000013033 15010557307 0007126 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use Memcached as NativeMemcached; /** * Caches data to memcached * * Registered for URLs with the "memcached" protocol * * For example, `memcached://localhost:11211/?timeout=3600&prefix=sp_` will * connect to memcached on `localhost` on port 11211. All tables will be * prefixed with `sp_` and data will expire after 3600 seconds * * @package SimplePie * @subpackage Caching * @author Paul L. McNeely * @uses Memcached * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ class Memcached implements Base { /** * NativeMemcached instance * @var NativeMemcached */ protected $cache; /** * Options * @var array */ protected $options; /** * Cache name * @var string */ protected $name; /** * Create a new cache object * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $type) { $this->options = [ 'host' => '127.0.0.1', 'port' => 11211, 'extras' => [ 'timeout' => 3600, // one hour 'prefix' => 'simplepie_', ], ]; $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); $this->cache = new NativeMemcached(); $this->cache->addServer($this->options['host'], (int)$this->options['port']); } /** * Save data to the cache * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data) { if ($data instanceof \SimplePie\SimplePie) { $data = $data->data; } return $this->setData(serialize($data)); } /** * Retrieve the data saved to the cache * @return array Data for SimplePie::$data */ public function load() { $data = $this->cache->get($this->name); if ($data !== false) { return unserialize($data); } return false; } /** * Retrieve the last modified time for the cache * @return int Timestamp */ public function mtime() { $data = $this->cache->get($this->name . '_mtime'); return (int) $data; } /** * Set the last modified time to the current time * @return bool Success status */ public function touch() { $data = $this->cache->get($this->name); return $this->setData($data); } /** * Remove the cache * @return bool Success status */ public function unlink() { return $this->cache->delete($this->name, 0); } /** * Set the last modified time and data to NativeMemcached * @return bool Success status */ private function setData($data) { if ($data !== false) { $this->cache->set($this->name . '_mtime', time(), (int)$this->options['extras']['timeout']); return $this->cache->set($this->name, $data, (int)$this->options['extras']['timeout']); } return false; } } class_alias('SimplePie\Cache\Memcached', 'SimplePie_Cache_Memcached'); DB.php 0000644 00000012676 15010557307 0005561 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Base class for database-based caches * * @package SimplePie * @subpackage Caching * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ abstract class DB implements Base { /** * Helper for database conversion * * Converts a given {@see SimplePie} object into data to be stored * * @param \SimplePie\SimplePie $data * @return array First item is the serialized data for storage, second item is the unique ID for this item */ protected static function prepare_simplepie_object_for_cache($data) { $items = $data->get_items(); $items_by_id = []; if (!empty($items)) { foreach ($items as $item) { $items_by_id[$item->get_id()] = $item; } if (count($items_by_id) !== count($items)) { $items_by_id = []; foreach ($items as $item) { $items_by_id[$item->get_id(true)] = $item; } } if (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0])) { $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0]; } elseif (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0])) { $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0]; } elseif (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_RDF]['RDF'][0])) { $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_RDF]['RDF'][0]; } elseif (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['rss'][0]['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['channel'][0])) { $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['rss'][0]['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['channel'][0]; } else { $channel = null; } if ($channel !== null) { if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['entry'])) { unset($channel['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['entry']); } if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['entry'])) { unset($channel['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['entry']); } if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_10]['item'])) { unset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_10]['item']); } if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_090]['item'])) { unset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_090]['item']); } if (isset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['item'])) { unset($channel['child'][\SimplePie\SimplePie::NAMESPACE_RSS_20]['item']); } } if (isset($data->data['items'])) { unset($data->data['items']); } if (isset($data->data['ordered_items'])) { unset($data->data['ordered_items']); } } return [serialize($data->data), $items_by_id]; } } class_alias('SimplePie\Cache\DB', 'SimplePie_Cache_DB'); NameFilter.php 0000644 00000006044 15010557307 0007312 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Interface for creating a cache filename * * @package SimplePie * @subpackage Caching */ interface NameFilter { /** * Method to create cache filename with. * * The returning name MUST follow the rules for keys in PSR-16. * * @link https://www.php-fig.org/psr/psr-16/ * * The returning name MUST be a string of at least one character * that uniquely identifies a cached item, MUST only contain the * characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding * and MUST not longer then 64 characters. The following characters * are reserved for future extensions and MUST NOT be used: {}()/\@: * * A provided implementing library MAY support additional characters * and encodings or longer lengths, but MUST support at least that * minimum. * * @param string $name The name for the cache will be most likly an url with query string * * @return string the new cache name */ public function filter(string $name): string; } Redis.php 0000644 00000013665 15010557307 0006341 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use Redis as NativeRedis; /** * Caches data to redis * * Registered for URLs with the "redis" protocol * * For example, `redis://localhost:6379/?timeout=3600&prefix=sp_&dbIndex=0` will * connect to redis on `localhost` on port 6379. All tables will be * prefixed with `simple_primary-` and data will expire after 3600 seconds * * @package SimplePie * @subpackage Caching * @uses Redis * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ class Redis implements Base { /** * Redis instance * * @var NativeRedis */ protected $cache; /** * Options * * @var array */ protected $options; /** * Cache name * * @var string */ protected $name; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $options = null) { //$this->cache = \flow\simple\cache\Redis::getRedisClientInstance(); $parsed = \SimplePie\Cache::parse_URL($location); $redis = new NativeRedis(); $redis->connect($parsed['host'], $parsed['port']); if (isset($parsed['pass'])) { $redis->auth($parsed['pass']); } if (isset($parsed['path'])) { $redis->select((int)substr($parsed['path'], 1)); } $this->cache = $redis; if (!is_null($options) && is_array($options)) { $this->options = $options; } else { $this->options = [ 'prefix' => 'rss:simple_primary:', 'expire' => 0, ]; } $this->name = $this->options['prefix'] . $name; } /** * @param NativeRedis $cache */ public function setRedisClient(NativeRedis $cache) { $this->cache = $cache; } /** * Save data to the cache * * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data) { if ($data instanceof \SimplePie\SimplePie) { $data = $data->data; } $response = $this->cache->set($this->name, serialize($data)); if ($this->options['expire']) { $this->cache->expire($this->name, $this->options['expire']); } return $response; } /** * Retrieve the data saved to the cache * * @return array Data for SimplePie::$data */ public function load() { $data = $this->cache->get($this->name); if ($data !== false) { return unserialize($data); } return false; } /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime() { $data = $this->cache->get($this->name); if ($data !== false) { return time(); } return false; } /** * Set the last modified time to the current time * * @return bool Success status */ public function touch() { $data = $this->cache->get($this->name); if ($data !== false) { $return = $this->cache->set($this->name, $data); if ($this->options['expire']) { return $this->cache->expire($this->name, $this->options['expire']); } return $return; } return false; } /** * Remove the cache * * @return bool Success status */ public function unlink() { return $this->cache->set($this->name, null); } } class_alias('SimplePie\Cache\Redis', 'SimplePie_Cache_Redis'); Base.php 0000644 00000007306 15010557307 0006140 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Base for cache objects * * Classes to be used with {@see \SimplePie\Cache::register()} are expected * to implement this interface. * * @package SimplePie * @subpackage Caching * @deprecated since SimplePie 1.8.0, use "Psr\SimpleCache\CacheInterface" instead */ interface Base { /** * Feed cache type * * @var string */ public const TYPE_FEED = 'spc'; /** * Image cache type * * @var string */ public const TYPE_IMAGE = 'spi'; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $type); /** * Save data to the cache * * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data); /** * Retrieve the data saved to the cache * * @return array Data for SimplePie::$data */ public function load(); /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime(); /** * Set the last modified time to the current time * * @return bool Success status */ public function touch(); /** * Remove the cache * * @return bool Success status */ public function unlink(); } class_alias('SimplePie\Cache\Base', 'SimplePie_Cache_Base'); File.php 0000644 00000011374 15010557307 0006145 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; /** * Caches data to the filesystem * * @package SimplePie * @subpackage Caching * @deprecated since SimplePie 1.8.0, use implementation of "Psr\SimpleCache\CacheInterface" instead */ class File implements Base { /** * Location string * * @see SimplePie::$cache_location * @var string */ protected $location; /** * Filename * * @var string */ protected $filename; /** * File extension * * @var string */ protected $extension; /** * File path * * @var string */ protected $name; /** * Create a new cache object * * @param string $location Location string (from SimplePie::$cache_location) * @param string $name Unique ID for the cache * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data */ public function __construct($location, $name, $type) { $this->location = $location; $this->filename = $name; $this->extension = $type; $this->name = "$this->location/$this->filename.$this->extension"; } /** * Save data to the cache * * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property * @return bool Successfulness */ public function save($data) { if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_writable($this->location)) { if ($data instanceof \SimplePie\SimplePie) { $data = $data->data; } $data = serialize($data); return (bool) file_put_contents($this->name, $data); } return false; } /** * Retrieve the data saved to the cache * * @return array Data for SimplePie::$data */ public function load() { if (file_exists($this->name) && is_readable($this->name)) { return unserialize(file_get_contents($this->name)); } return false; } /** * Retrieve the last modified time for the cache * * @return int Timestamp */ public function mtime() { return @filemtime($this->name); } /** * Set the last modified time to the current time * * @return bool Success status */ public function touch() { return @touch($this->name); } /** * Remove the cache * * @return bool Success status */ public function unlink() { if (file_exists($this->name)) { return unlink($this->name); } return false; } } class_alias('SimplePie\Cache\File', 'SimplePie_Cache_File'); BaseDataCache.php 0000644 00000012613 15010557307 0007653 0 ustar 00 <?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2022 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ namespace SimplePie\Cache; use InvalidArgumentException; /** * Adapter for deprecated \SimplePie\Cache\Base implementations * * @package SimplePie * @subpackage Caching * @internal */ final class BaseDataCache implements DataCache { /** * @var Base */ private $cache; public function __construct(Base $cache) { $this->cache = $cache; } /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null) { $data = $this->cache->load(); if (!is_array($data)) { return $default; } // ignore data if internal cache expiration time is not set if (!array_key_exists('__cache_expiration_time', $data)) { return $default; } // ignore data if internal cache expiration time is expired if ($data['__cache_expiration_time'] < time()) { return $default; } // remove internal cache expiration time unset($data['__cache_expiration_time']); return $data; } /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool { if ($ttl === null) { $ttl = 3600; } // place internal cache expiration time $value['__cache_expiration_time'] = time() + $ttl; return $this->cache->save($value); } /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool { return $this->cache->unlink(); } } error_log 0000644 00000073646 15010557307 0006504 0 ustar 00 [31-Jan-2025 13:10:38 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [31-Jan-2025 13:10:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [31-Jan-2025 13:11:15 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [31-Jan-2025 13:11:18 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [31-Jan-2025 13:11:18 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [31-Jan-2025 13:11:32 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [31-Jan-2025 13:11:38 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [31-Jan-2025 13:11:45 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [31-Jan-2025 13:14:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [02-Feb-2025 16:58:04 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [02-Feb-2025 17:07:02 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [02-Feb-2025 17:17:18 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [02-Feb-2025 17:17:20 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [02-Feb-2025 17:17:41 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [02-Feb-2025 17:18:05 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [02-Feb-2025 17:18:51 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [02-Feb-2025 17:19:02 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [02-Feb-2025 17:34:03 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [02-Feb-2025 17:34:27 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [02-Feb-2025 17:39:38 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [02-Feb-2025 17:39:54 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [02-Feb-2025 17:39:55 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [02-Feb-2025 17:40:48 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [02-Feb-2025 17:48:11 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [02-Feb-2025 17:48:18 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [02-Feb-2025 17:53:45 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [02-Feb-2025 17:53:46 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [06-Feb-2025 11:28:54 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [06-Feb-2025 11:28:55 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [06-Feb-2025 11:38:33 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [06-Feb-2025 11:38:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [06-Feb-2025 11:38:48 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [06-Feb-2025 11:40:00 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [06-Feb-2025 11:40:55 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [06-Feb-2025 11:40:59 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [06-Feb-2025 12:02:02 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [12-Feb-2025 09:17:28 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [12-Feb-2025 09:18:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [12-Feb-2025 09:28:44 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [12-Feb-2025 09:28:49 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [12-Feb-2025 09:29:00 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [12-Feb-2025 09:30:44 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [12-Feb-2025 09:31:54 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [12-Feb-2025 09:32:05 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [12-Feb-2025 09:46:23 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [12-Feb-2025 18:21:52 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [12-Feb-2025 18:22:08 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [12-Feb-2025 18:24:17 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [12-Feb-2025 18:24:34 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [12-Feb-2025 18:24:35 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [12-Feb-2025 18:24:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [12-Feb-2025 18:25:32 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [12-Feb-2025 18:25:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [12-Feb-2025 18:36:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [24-Feb-2025 23:11:16 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [24-Feb-2025 23:13:05 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [24-Feb-2025 23:41:10 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [24-Feb-2025 23:41:27 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [24-Feb-2025 23:44:45 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [24-Feb-2025 23:48:05 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [24-Feb-2025 23:49:59 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [24-Feb-2025 23:50:05 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [25-Feb-2025 01:06:55 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [05-Mar-2025 20:46:11 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [05-Mar-2025 20:50:56 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [05-Mar-2025 21:20:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [05-Mar-2025 21:30:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [05-Mar-2025 21:35:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [05-Mar-2025 21:40:40 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [05-Mar-2025 21:45:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [05-Mar-2025 21:50:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [05-Mar-2025 21:55:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [06-Mar-2025 01:14:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [06-Mar-2025 01:27:48 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [06-Mar-2025 01:39:51 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [11-Mar-2025 01:29:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [11-Mar-2025 13:45:14 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [11-Mar-2025 13:45:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [11-Mar-2025 13:45:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [11-Mar-2025 13:51:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [11-Mar-2025 13:53:17 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [11-Mar-2025 13:56:18 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [11-Mar-2025 13:59:16 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [11-Mar-2025 14:00:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [11-Mar-2025 14:00:11 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [12-Mar-2025 00:29:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [12-Mar-2025 01:36:19 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [12-Mar-2025 14:03:18 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [13-Mar-2025 06:11:09 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [13-Mar-2025 19:56:28 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [13-Mar-2025 19:58:06 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [13-Mar-2025 20:01:00 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [13-Mar-2025 20:22:47 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [13-Mar-2025 20:28:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [13-Mar-2025 20:28:59 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [13-Mar-2025 20:29:15 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [13-Mar-2025 20:36:57 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [13-Mar-2025 20:53:10 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [15-Mar-2025 03:36:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [15-Mar-2025 04:31:19 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [15-Mar-2025 07:06:39 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [16-Mar-2025 02:43:10 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [16-Mar-2025 02:44:22 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [16-Mar-2025 02:49:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [16-Mar-2025 02:54:27 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [16-Mar-2025 02:54:48 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [16-Mar-2025 02:55:06 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [16-Mar-2025 02:57:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [16-Mar-2025 02:58:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [16-Mar-2025 05:40:27 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [19-Mar-2025 03:48:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [19-Mar-2025 13:09:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [21-Mar-2025 06:23:32 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [21-Mar-2025 15:30:45 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [22-Mar-2025 04:23:21 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [22-Mar-2025 04:23:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [22-Mar-2025 04:25:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [22-Mar-2025 06:13:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [22-Mar-2025 06:14:01 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [22-Mar-2025 07:46:27 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [22-Mar-2025 07:46:47 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [22-Mar-2025 07:54:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [22-Mar-2025 12:25:19 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [18-Apr-2025 14:44:10 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [18-Apr-2025 14:53:23 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [18-Apr-2025 15:51:43 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [18-Apr-2025 15:51:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [18-Apr-2025 16:16:10 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [18-Apr-2025 16:20:46 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [18-Apr-2025 17:11:09 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [18-Apr-2025 17:15:58 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [18-Apr-2025 19:35:39 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [18-Apr-2025 19:59:11 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [19-Apr-2025 05:08:48 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [19-Apr-2025 17:35:09 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [19-Apr-2025 17:39:59 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [19-Apr-2025 18:20:59 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [19-Apr-2025 18:21:06 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [19-Apr-2025 18:21:14 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [19-Apr-2025 18:31:24 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [19-Apr-2025 18:37:42 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [19-Apr-2025 18:38:38 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 [19-Apr-2025 20:04:27 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 54 [20-Apr-2025 02:42:15 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\NameFilter' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 52 [20-Apr-2025 02:42:40 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 56 [20-Apr-2025 02:44:22 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/File.php on line 54 [20-Apr-2025 02:44:57 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class 'SimplePie\Cache\DB' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:60 Stack trace: #0 {main} thrown in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 60 [20-Apr-2025 02:45:14 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 63 [20-Apr-2025 02:45:31 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\DataCache' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 57 [20-Apr-2025 02:46:06 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 64 [20-Apr-2025 02:46:20 Europe/Istanbul] PHP Fatal error: Interface 'SimplePie\Cache\Base' not found in /home/tarafhaber/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 63 .htaccess 0000555 00000000355 15010557307 0006351 0 ustar 00 <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>