* * @since 5.5.0 * * @link https://www.php.net/manual/en/iterator.next.php */ #[ReturnTypeWillChange] public function next() { next( $this->blocks ); } /** * Checks if current position is valid. * * @since 5.5.0 * * @link https://www.php.net/manual/en/iterator.valid.php */ #[ReturnTypeWillChange] public function valid() { return null !== key( $this->blocks ); } /** * Returns the count of blocks in the list. * * @since 5.5.0 * * @link https://www.php.net/manual/en/countable.count.php * * @return int Block count. */ #[ReturnTypeWillChange] public function count() { return count( $this->blocks ); } }
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/wp-includes/class-wp-block-list.php:1) in /htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1563

Fatal error: Uncaught Error: Class "Automattic\WooCommerce\Admin\DeprecatedClassFacade" not found in /htdocs/wp-content/plugins/woocommerce/src/Admin/Notes/DeprecatedNotes.php:20 Stack trace: #0 /htdocs/wp-content/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php(74): require_once() #1 /htdocs/wp-content/plugins/woocommerce/src/Admin/Composer/Package.php(65): Automattic\WooCommerce\Internal\Admin\FeaturePlugin->init() #2 [internal function]: Automattic\WooCommerce\Admin\Composer\Package::init() #3 /htdocs/wp-content/plugins/woocommerce/src/Packages.php(128): call_user_func(Array) #4 /htdocs/wp-content/plugins/woocommerce/src/Packages.php(64): Automattic\WooCommerce\Packages::initialize_packages() #5 /htdocs/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Packages::on_init('') #6 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #9 /htdocs/wp-config.php(88): require_once('/htdocs/wp-sett...') #10 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #11 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #12 /htdocs/index.php(17): require('/htdocs/wp-blog...') #13 {main} thrown in /htdocs/wp-content/plugins/woocommerce/src/Admin/Notes/DeprecatedNotes.php on line 20