ce. * * The function should be used only during directive processing. If the * `$store_namespace` parameter is omitted, it uses the current namespace value * on the internal namespace stack. * * It returns an empty array when the specified namespace is not defined. * * @since 6.6.0 * * @param string $store_namespace Optional. The unique store namespace identifier. * @return array The context for the specified store namespace. */ function wp_interactivity_get_context( ?string $store_namespace = null ): array { return wp_interactivity()->get_context( $store_namespace ); } /** * Returns an array representation of the current element being processed. * * The function should be used only during directive processing. * * @since 6.7.0 * * @return array{attributes: array}|null Current element. */ function wp_interactivity_get_element(): ?array { return wp_interactivity()->get_element(); }
Fatal error: Uncaught Error: Call to undefined function wp_interactivity() in /home/ocb/public_html/wp-settings.php:409 Stack trace: #0 /home/ocb/public_html/wp-config.php(77): require_once() #1 /home/ocb/public_html/wp-load.php(50): require_once('/home/ocb/publi...') #2 /home/ocb/public_html/wp-blog-header.php(13): require_once('/home/ocb/publi...') #3 /home/ocb/public_html/index.php(17): require('/home/ocb/publi...') #4 {main} thrown in /home/ocb/public_html/wp-settings.php on line 409

Fatal error: Uncaught Error: Call to a member function set() on null in /home/ocb/public_html/wp-includes/l10n.php:856 Stack trace: #0 /home/ocb/public_html/wp-includes/l10n.php(959): load_textdomain('default', '/home/ocb/publi...', 'lv') #1 /home/ocb/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/ocb/public_html/wp-includes/l10n.php on line 856